Skip to content

Commit 3d8f12e

Browse files
committed
fix(build): the "files" property should be included in pkg.json
- on the other end we shouldn't include "directories", it should be "files" only that we want to include
1 parent 00f2db2 commit 3d8f12e

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

packages/binding/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/composite-editor-component/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/custom-footer-component/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/empty-warning-component/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/event-pub-sub/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/pagination-component/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/rxjs-observable/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"build": "cross-env tsc --build",
1818
"postbuild": "npm-run-all bundle:commonjs",

packages/vanilla-bundle/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"publishConfig": {
1111
"access": "public"
1212
},
13-
"directories": {
14-
"src": "src"
15-
},
13+
"files": [
14+
"/dist"
15+
],
1616
"scripts": {
1717
"test": "echo testing slickgrid-universal slickgrid-vanilla-bundle code",
1818
"dev": "webpack --env development",

0 commit comments

Comments
 (0)