Skip to content

Commit 18ed8e6

Browse files
authored
refactor: clarity (#4483)
* refactor: clarity * Update package.json * Update package.json * Update package.json * Update package.json * Update package.json * Update package.json * Update package.json * Update package.json
1 parent 28f24fc commit 18ed8e6

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

e2e/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"output/*"
1111
],
1212
"scripts": {
13-
"regenerate": "npm-run-all -p regenerate:*",
13+
"regenerate": "npm-run-all --parallel regenerate:*",
1414
"regenerate:components": "npm run regenerate:screenshots --workspace=@db-ux/react-core-components",
1515
"regenerate:foundations": "npm run regenerate:screenshots --workspace=@db-ux/core-foundations",
1616
"regenerate:showcases": "npm run regenerate:screenshots --workspace=react-showcase",
1717
"start": "npx http-server build-showcases",
18-
"test": "npm-run-all -p test:*",
18+
"test": "npm-run-all --parallel test:*",
1919
"test:angular-showcase": "npm run test:e2e --workspace=angular-showcase",
2020
"test:foundations": "npm run test:e2e --workspace=@db-ux/core-foundations",
2121
"test:react": "npm run test:components --workspace=@db-ux/react-core-components",

output/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"mv:package.json": "cpr package.json ../../build-outputs/react/package.json -o",
2020
"mv:readme": "cpr README.md ../../build-outputs/react/README.md -o",
2121
"open:report": "npx playwright show-report",
22-
"postbuild": "npm-run-all -p mv:*",
22+
"postbuild": "npm-run-all --parallel mv:*",
2323
"regenerate:screenshots": "playwright test -c playwright.config.ts --update-snapshots",
2424
"test:components": "playwright test -c playwright.config.ts",
2525
"test:windows": "playwright test -c playwright.screen-reader.win.ts",

output/stencil/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"mv:dist": "cpr dist ../../build-outputs/wc-core-components/dist -o",
2626
"mv:package.json": "cpr package.json ../../build-outputs/wc-core-components/package.json -o",
2727
"mv:readme": "cpr README.md ../../build-outputs/wc-core-components/README.md -o",
28-
"postbuild": "npm-run-all -p build:* -p mv:*",
28+
"postbuild": "npm-run-all --parallel build:* --parallel mv:*",
2929
"start": "stencil build --watch"
3030
},
3131
"devDependencies": {

output/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"mv:dist": "cpr dist ../../build-outputs/vue/dist -o",
3333
"mv:package.json": "cpr package.json ../../build-outputs/vue/package.json -o",
3434
"mv:readme": "cpr README.md ../../build-outputs/vue/README.md -o",
35-
"postbuild": "npm-run-all -p mv:*",
35+
"postbuild": "npm-run-all --parallel mv:*",
3636
"test:components": "playwright test -c playwright.config.ts",
3737
"test:components:ui": "playwright test -c playwright.config.ts --ui"
3838
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dev": "npm run dev --workspace=scripts",
3333
"fmt": "prettier . --write",
3434
"generate:component": "npm run generate:component --workspace=@db-ux/core-components",
35-
"lint": "npm-run-all -p lint:*",
35+
"lint": "npm-run-all --parallel lint:*",
3636
"lint:jscpd": "jscpd . --exitCode 1 --config .config/.jscpd.json",
3737
"lint:markdownlint": "markdownlint -c .config/.markdown-lint.yml **/*.md",
3838
"lint:stylelint": "stylelint **/*.{css,scss}",

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build"
1414
],
1515
"scripts": {
16-
"build": "npm-run-all -p build-components build-assets -s build-style:*",
16+
"build": "npm-run-all --parallel build-components build-assets -s build-style:*",
1717
"build-assets": "cpr src build -o -f \"(.ts|.tsx|.md|.html)$\"",
1818
"build-components": "npm-run-all build:mitosis build-components:post build-components:docs",
1919
"build-components:docs": "npm run build:cem -w @db-ux/wc-core-components",

scripts/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const startDev = () => {
6969
return;
7070
}
7171

72-
let startCommand = 'npm-run-all -p start:foundations dev:sass';
72+
let startCommand = 'npm-run-all --parallel start:foundations dev:sass';
7373

7474
for (const { framework, answers } of answersFrameworkPairs) {
7575
const isAnswerSelected = currentAnswers.some((currentAnswer) =>

scripts/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "contains scripts for monorepo",
66
"scripts": {
77
"build": "npm-run-all build:foundations build:components build:migration build:stylelint",
8-
"build-outputs": "npm-run-all -p build-outputs:*",
8+
"build-outputs": "npm-run-all --parallel build-outputs:*",
99
"build-outputs:components": "npm run copy-output --workspace=@db-ux/core-components",
1010
"build-outputs:foundations": "npm run copy-build --workspace=@db-ux/core-foundations",
1111
"build-outputs:migration": "npm run copy-build --workspace=@db-ux/core-migration",
@@ -15,7 +15,7 @@
1515
"build-outputs:stylelint": "npm run copy-output --workspace=@db-ux/core-stylelint",
1616
"build-outputs:v-core-components": "npm run build --workspace=@db-ux/v-core-components",
1717
"build-outputs:wc-core-components": "npm run build --workspace=@db-ux/wc-core-components",
18-
"build-showcases": "npm-run-all -p build-showcases:*",
18+
"build-showcases": "npm-run-all --parallel build-showcases:*",
1919
"build-showcases:angular": "npm run build --workspace=angular-showcase",
2020
"build-showcases:angular-ssr": "npm run build --workspace=angular-ssr-showcase",
2121
"build-showcases:next": "npm run build --workspace=next-showcase",
@@ -53,7 +53,7 @@
5353
"rm-builds:patternhub-src-tsx": "rimraf -g ../showcases/patternhub/components/src/**/*.tsx",
5454
"rm-builds:playwright": "rimraf -g output/react/playwright",
5555
"rm-builds:showcases-build": "rimraf -g build-showcases/**",
56-
"rm:builds": "npm-run-all -p rm-builds:*",
56+
"rm:builds": "npm-run-all --parallel rm-builds:*",
5757
"start-showcase:angular": "npm run dev --workspace=angular-showcase",
5858
"start-showcase:angular-ssr": "npm run dev --workspace=angular-ssr-showcase",
5959
"start-showcase:next": "npm run dev --workspace=next-showcase",
@@ -63,7 +63,7 @@
6363
"start-showcase:stencil": "npm run dev --workspace=stencil-showcase",
6464
"start-showcase:vue": "npm run dev --workspace=vue-showcase",
6565
"start:foundations": "npm run start --workspace=@db-ux/core-foundations",
66-
"test": "npm-run-all -p test:*",
66+
"test": "npm-run-all --parallel test:*",
6767
"test:migration": "npm run test --workspace=@db-ux/core-migration",
6868
"test:scripts": "vitest run --config vitest.config.ts",
6969
"update:icon-fonts": "npm-run-all generate:icon-fonts generate:icon-types"

showcases/stencil-showcase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"build": "ng build",
7-
"dev": "npm-run-all -p dev:*",
7+
"dev": "npm-run-all --parallel dev:*",
88
"dev:angular": "npm run start -- --open",
99
"dev:stencil": "npm run start --workspace @db-ux/wc-core-components",
1010
"ng": "ng",

0 commit comments

Comments
 (0)