Skip to content

Commit 98228e6

Browse files
committed
chore(ci): simplified and moved convenience scripts to the end
1 parent 059cb6b commit 98228e6

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"clean": "del-cli \"{node_modules,dist}\" \"packages/*/{node_modules,dist}\" \"e2e/dist\"",
1010
"distro": "run-s clean reinstall build-distro",
1111
"dev": "lerna run dev --stream --scope",
12-
"dev:viewer": "npm run dev -- @bpmn-io/form-js-viewer",
13-
"dev:editor": "npm run dev -- @bpmn-io/form-js-editor",
14-
"dev:playground": "npm run dev -- @bpmn-io/form-js-playground",
15-
"dev:carbon": "npm run dev -- @bpmn-io/form-js-carbon-styles",
1612
"lerna-publish": "lerna publish -m \"chore(project): publish %s\"",
1713
"lint": "eslint packages",
1814
"lint:types": "tsc --pretty",
@@ -21,20 +17,26 @@
2117
"test": "lerna run test",
2218
"test:distro": "lerna run test:distro",
2319
"ci": "run-s all build-distro",
24-
"start:pkg": "cross-env SINGLE_START=basic npm run dev --",
25-
"start": "npm run start:pkg -- @bpmn-io/form-js",
26-
"start:viewer": "npm run start:pkg -- @bpmn-io/form-js-viewer",
27-
"start:viewer:stress": "cross-env SINGLE_START=stress npm run dev -- @bpmn-io/form-js-viewer",
28-
"start:viewer:groups": "cross-env SINGLE_START=groups npm run dev -- @bpmn-io/form-js-viewer",
29-
"start:editor": "npm run start:pkg -- @bpmn-io/form-js-editor",
30-
"start:carbon": "cross-env SINGLE_START=carbon-form npm run dev -- @bpmn-io/form-js-carbon-styles",
31-
"start:playground": "npm run start:pkg -- @bpmn-io/form-js-playground",
3220
"dev:e2e": "vite",
3321
"test:e2e": "run-s build:e2e start:visual-preview test:visual",
3422
"test:visual": "playwright test visual",
3523
"build:e2e": "vite build",
3624
"start:visual-preview": "vite preview --port 8080 --logLevel silent &",
37-
"start:container": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.40.1 /bin/bash"
25+
"start:container": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.40.1 /bin/bash",
26+
27+
"dev:viewer": "npm run dev -- @bpmn-io/form-js-viewer",
28+
"dev:editor": "npm run dev -- @bpmn-io/form-js-editor",
29+
"dev:playground": "npm run dev -- @bpmn-io/form-js-playground",
30+
"dev:carbon": "npm run dev -- @bpmn-io/form-js-carbon-styles",
31+
32+
"start": "npm run start:basic -- @bpmn-io/form-js",
33+
"start:basic": "cross-env SINGLE_START=basic npm run dev --",
34+
"start:viewer": "npm run start:basic -- @bpmn-io/form-js-viewer",
35+
"start:viewer:stress": "cross-env SINGLE_START=stress npm run dev -- @bpmn-io/form-js-viewer",
36+
"start:viewer:groups": "cross-env SINGLE_START=groups npm run dev -- @bpmn-io/form-js-viewer",
37+
"start:editor": "npm run start:basic -- @bpmn-io/form-js-editor",
38+
"start:carbon": "npm run start:basic -- @bpmn-io/form-js-carbon-styles",
39+
"start:playground": "npm run start:basic -- @bpmn-io/form-js-playground"
3840
},
3941
"repository": {
4042
"type": "git",

packages/form-js-carbon-styles/test/spec/carbon-styles.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ insertCSS('test.css', testCSS);
5555
insertCSS('theme.css', themeCSS);
5656
insertCSS('form-js.css', formCSS);
5757

58-
const singleStart = isSingleStart('carbon-form');
58+
const singleStart = isSingleStart('basic');
5959

6060

6161
describe('Carbon styles', function() {

0 commit comments

Comments
 (0)