Skip to content

Commit

Permalink
build: Lerna - run publish for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Feb 29, 2020
1 parent 10a4cc1 commit 6a48b91
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"build": "npm run lerna run build",
"lerna": "lerna",
"lint": "npm run lerna run lint",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"publish": "lerna exec 'npm publish'",
"prepublishOnly": "npm run build && npm run lint && npm run test",
"publish": "lerna publish",
"test": "npm run lerna run test",
"test-package": "cd packages/webpack-plugin && npm run test-package"
},
Expand Down
1 change: 0 additions & 1 deletion packages/cli-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"build": "babel src -d lib",
"lint": "eslint .",
"prepublishOnly": "npm run build",
"test": "jest --passWithNoTests src "
},
"keywords": [],
Expand Down
1 change: 0 additions & 1 deletion packages/html-templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"scripts": {
"build": "rm -fr ./dist && cross-env NODE_ENV=production webpack --config webpack.config.production.js --mode production",
"lint": "eslint . --ext .jsx,.js --cache --cache-location ./node_modules/.eslintcache",
"prepublishOnly": "npm run lint && npm test && npm run build",
"start": "cross-env NODE_ENV=development start-storybook -p 8090 -c build/storybook",
"test": "jest build/storybook"
},
Expand Down
1 change: 0 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"build-esm": "rm -fr ./lib-esm && babel -D src -d lib-esm --ignore **/__tests__/** --ignore /prototypes/**",
"generate-chart-colors": "node scripts/generate-chart-colors.js",
"lint": "eslint . --ext .jsx,.js --cache --cache-location ./node_modules/.eslintcache",
"prepublishOnly": "npm run build",
"start": "cross-env NODE_ENV=development start-storybook -c ./build/storybook -p 8080",
"test": "npm run test:unit && npm run test:storyshots",
"test:unit": "jest src --passWithNoTests",
Expand Down
1 change: 0 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"build-lib": "rm -fr ./lib && babel -D src -d lib --ignore **/__tests__/** ",
"build-esm": "rm -fr ./lib-esm && babel -D src -d lib-esm --ignore **/__tests__/** --config-file=./.babelrc.esm.js",
"lint": "eslint . --cache --cache-location ./node_modules/.eslintcache",
"prepublishOnly": "npm run lint && npm test && npm run build",
"test": "jest src"
},
"keywords": [],
Expand Down
1 change: 0 additions & 1 deletion packages/webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"build": "babel src -d lib",
"lint": "eslint .",
"prepublishOnly": "npm run build",
"test": "jest --passWithNoTests src ",
"test-package": "jest test/package/*.test.js"
},
Expand Down

0 comments on commit 6a48b91

Please sign in to comment.