Skip to content

Commit f653475

Browse files
authored
Clean up some publishing build steps (#93)
- There was a prepublishOnly build step in file-explorer that was messing things up - Also needed rimraf/prop-types added to the template
1 parent 1bf85c0 commit f653475

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

examples/component-template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"clean": "rimraf ./dist tsconfig.tsbuildinfo",
3232
"prestart": "npm run build-dev",
3333
"start": "cross-env NODE_ENV=development npm run watch",
34-
"prepublishOnly": "run-s build",
3534
"test": "jest --watch",
3635
"test:ci": "jest",
3736
"predeploy": "cd example && npm install && npm run build",
@@ -63,6 +62,7 @@
6362
"npm-run-all": "^4.1.5",
6463
"react": "^16.14.0",
6564
"react-dom": "^16.14.0",
65+
"rimraf": "^3.0.2",
6666
"sass": "1.32.13",
6767
"ts-jest": "^26.5.6",
6868
"ts-loader": "^8.3.0",

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"prestart": "lerna run prestart --stream",
2222
"test": "lerna run test --stream --parallel",
2323
"test:ci": "lerna run test:ci --stream -- -- --maxWorkers=2",
24-
"sync-version": "lerna version ${DEEPHAVEN_VERSION:-error} --no-git-tag-version --yes",
25-
"publish": "lerna publish"
24+
"sync-version": "lerna version ${DEEPHAVEN_VERSION:-error} --no-git-tag-version --yes"
2625
},
2726
"repository": "https://github.com/deephaven/web-client-ui",
2827
"devDependencies": {

packages/file-explorer/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,13 @@
3131
"clean": "rimraf ./dist tsconfig.tsbuildinfo",
3232
"prestart": "npm run build-dev",
3333
"start": "cross-env NODE_ENV=development npm run watch",
34-
"prepublishOnly": "run-s build",
3534
"test": "jest --watch",
3635
"test:ci": "jest",
3736
"predeploy": "cd example && npm install && npm run build",
3837
"deploy": "gh-pages -d example/build",
3938
"storybook": "start-storybook -p 6006",
4039
"build-storybook": "build-storybook"
4140
},
42-
"dependencies": {
43-
"prop-types": "^15.7.2"
44-
},
4541
"peerDependencies": {
4642
"@deephaven/components": "^0.1.4",
4743
"@deephaven/icons": "^0.1.4",
@@ -51,6 +47,7 @@
5147
"@fortawesome/fontawesome-svg-core": "^1.2.32",
5248
"@fortawesome/react-fontawesome": "^0.1.12",
5349
"classnames": "^2.3.1",
50+
"prop-types": "^15.7.2",
5451
"react": "^16.0.0",
5552
"react-dom": "^16.0.0",
5653
"reactstrap": "^8.4.1",
@@ -79,10 +76,12 @@
7976
"identity-obj-proxy": "^3.0.0",
8077
"jest": "26.6.0",
8178
"npm-run-all": "^4.1.5",
79+
"prop-types": "^15.7.2",
8280
"react": "^16.14.0",
8381
"react-dom": "^16.14.0",
8482
"reactstrap": "^8.4.1",
8583
"regenerator-runtime": "^0.13.7",
84+
"rimraf": "^3.0.2",
8685
"sass": "1.32.13",
8786
"ts-jest": "^26.5.6",
8887
"ts-loader": "^8.3.0",

packages/jsapi-shim/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"jest": "26.6.0",
4949
"npm-run-all": "^4.1.5",
5050
"prop-types": "^15.7.2",
51+
"rimraf": "^3.0.2",
5152
"ts-jest": "^26.5.6",
5253
"typescript": "^4.3.2"
5354
},

0 commit comments

Comments
 (0)