Skip to content

Commit 6f3942a

Browse files
committed
chore: added kill on fail commands
1 parent eff5a7b commit 6f3942a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"packages/*"
1111
],
1212
"scripts": {
13-
"build": "npm run lint && npm run build -w packages/skin && concurrently \"mtc\" \"npm run build -w packages/ebayui-core\" \"npm run build -w packages/evo-marko\" \"npm run build -w packages/ebayui-core-react\"",
13+
"build": "npm run lint && npm run build -w packages/skin && concurrently --kill-others-on-fail \"mtc\" \"npm run build -w packages/ebayui-core\" \"npm run build -w packages/evo-marko\" \"npm run build -w packages/ebayui-core-react\"",
1414
"build:ci": "CI=true && npm run build",
1515
"change": "changeset add",
1616
"deploy": "copyfiles src/data/component-metadata.json public/ -u 2 && npm run deploy:build && npm run deploy:copy-site",
17-
"deploy:build": "concurrently \"BASE_URL=/evo-web/ marko-run build -o ./_site\" \"npm run deploy -w packages/skin\" \"npm run deploy -w packages/ebayui-core\" \"npm run deploy -w packages/ebayui-core-react\"",
17+
"deploy:build": "concurrently --kill-others-on-fail \"BASE_URL=/evo-web/ marko-run build -o ./_site\" \"npm run deploy -w packages/skin\" \"npm run deploy -w packages/ebayui-core\" \"npm run deploy -w packages/ebayui-core-react\"",
1818
"deploy:copy-site": "copyfiles packages/skin/_site/public _site/public/skin-storybook -u 4 && copyfiles packages/ebayui-core/_site _site/public/ebayui-core -u 3 && copyfiles packages/ebayui-core-react/_site _site/public/ebayui-core-react -u 3",
1919
"postinstall": "npx playwright install --with-deps chromium",
2020
"lint": "stylelint src --config .stylelintrc",

packages/ebayui-core-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"format": "eslint . --fix 'src/**/*.{ts,tsx}' && prettier . --write --log-level=warn",
3838
"lint": "eslint . --ext .ts,.tsx && prettier . --check --log-level=warn",
3939
"release": "vite build && npm run copy",
40-
"smoke-test": "concurrently \"npm run smoke-test:react-16\" \"npm run smoke-test:react-18\" \"npm run smoke-test:react-19\"",
40+
"smoke-test": "concurrently --kill-others-on-fail \"npm run smoke-test:react-16\" \"npm run smoke-test:react-18\" \"npm run smoke-test:react-19\"",
4141
"smoke-test:react-16": "cd ./smoke-tests/react-16 && npm ci && npm run test",
4242
"smoke-test:react-18": "cd ./smoke-tests/react-18 && npm ci && npm run test",
4343
"smoke-test:react-19": "cd ./smoke-tests/react-19 && npm ci && npm run test",

packages/ebayui-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"!**/{,*.}stories-ignore.*"
2424
],
2525
"scripts": {
26-
"build": "rm -rf dist && concurrently \"mtc\" \"npm run lint\" \"node scripts/check-postpublish\" \"npm test\"",
26+
"build": "rm -rf dist && concurrently --kill-others-on-fail \"mtc\" \"npm run lint\" \"node scripts/check-postpublish\" \"npm test\"",
2727
"build:readme": "node scripts/add-ds-version",
2828
"coverage": "vitest run --browser.headless --coverage",
2929
"deploy": "storybook build -o ./_site",

0 commit comments

Comments
 (0)