Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(npm): publish src folder for source maps, fixes downstream builds #1269

Merged
merged 4 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"access": "public"
},
"files": [
"/dist"
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/binding/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
5 changes: 3 additions & 2 deletions packages/common/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
**/styles/*.*
5 changes: 3 additions & 2 deletions packages/composite-editor-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/composite-editor-component/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/custom-footer-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/custom-footer-component/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/custom-tooltip-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/custom-tooltip-plugin/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/empty-warning-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/empty-warning-component/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/event-pub-sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/event-pub-sub/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/excel-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/excel-export/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/odata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/odata/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/pagination-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/pagination-component/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/row-detail-view-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/row-detail-view-plugin/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/rxjs-observable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/rxjs-observable/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/text-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/text-export/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
5 changes: 3 additions & 2 deletions packages/vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/vanilla-bundle/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts
2 changes: 0 additions & 2 deletions packages/vanilla-force-bundle/.npmignore

This file was deleted.

5 changes: 3 additions & 2 deletions packages/vanilla-force-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
"files": [
"/dist",
"/src"
],
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
4 changes: 2 additions & 2 deletions packages/vanilla-force-bundle/src/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index.ts
**/*.*
**/__tests__/*.*
**/*.spec.ts