Skip to content

Commit 5ade067

Browse files
fix: add lerna commands to plugins package.json (#2453)
* fix: add lerna commands to plugins package.json * fix: call to boot command * chore: don't let prettier format package-lock.json files
1 parent 3dd0f09 commit 5ade067

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ gh-pages/*
1313
examples/blockly-svelte/public/bundle.js
1414
examples/blockly-angular/.angular
1515
**/node_modules/*
16+
**/package-lock.json
1617
**/CHANGELOG.md
1718
CHANGELOG.md
1819
PULL_REQUEST_TEMPLATE.md

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"author": "Blockly Team",
66
"license": "Apache-2.0",
77
"scripts": {
8-
"audit:fix": "cd plugins && lerna run audit:fix && lerna bootstrap",
8+
"audit:fix": "cd plugins && npm run audit:fix && npm run boot",
99
"boot": "cd plugins && npm ci",
10-
"build": "cd plugins && lerna run build",
11-
"clean": "cd plugins && lerna run clean",
12-
"clean:node": "cd plugins && lerna clean --yes",
10+
"build": "cd plugins && npm run build",
11+
"clean": "cd plugins && npm run clean",
12+
"clean:node": "cd plugins && npm run clean:node",
1313
"deploy:prepare": "npm run deploy:prepare:plugins && npm run deploy:prepare:examples && gulp predeploy",
1414
"deploy:prepare:examples": "cd examples && npm run predeploy",
15-
"deploy:prepare:plugins": "npm run clean && cd plugins && lerna run build && lerna run predeploy",
15+
"deploy:prepare:plugins": "npm run clean && cd plugins && npm run build && npm run predeploy",
1616
"deploy": "npm run deploy:prepare && gulp deploy",
1717
"deploy:upstream": "npm run deploy:prepare && gulp deployUpstream",
1818
"format": "prettier --write .",
@@ -21,7 +21,7 @@
2121
"lint": "eslint .",
2222
"lint:fix": "eslint . --fix",
2323
"postinstall": "npm run boot",
24-
"test": "cd plugins && lerna run test",
24+
"test": "cd plugins && npm run test",
2525
"publish:prepare": "gulp prepareForPublish",
2626
"publish:manual": "gulp publishManual",
2727
"publish:force": "gulp forcePublish",

plugins/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
"private": true,
44
"scripts": {
55
"audit": "lerna run audit",
6+
"audit:fix": "lerna run audit:fix",
67
"boot": "lerna bootstrap",
7-
"postinstall": "npm run boot"
8+
"build": "lerna run build",
9+
"clean": "lerna run clean",
10+
"clean:node": "lerna run clean --yes",
11+
"postinstall": "npm run boot",
12+
"predeploy": "lerna run predeploy",
13+
"test": "lerna run test"
814
},
915
"devDependencies": {
1016
"@lerna/legacy-package-management": "^8.1.7",

0 commit comments

Comments
 (0)