Skip to content

Commit

Permalink
fix(npm): publish src folder for source maps, fixes downstream builds (
Browse files Browse the repository at this point in the history
…#1269)

* fix(npm): publish src folder for source maps, fixes downstream builds
  • Loading branch information
ghiscoding committed Dec 18, 2023
1 parent 0274997 commit 701da75
Show file tree
Hide file tree
Showing 35 changed files with 85 additions and 69 deletions.
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

0 comments on commit 701da75

Please sign in to comment.