Skip to content

Commit abce0f2

Browse files
committed
chore: explicitly run prestorybook in second-gen
1 parent 85e914c commit abce0f2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
],
9292
"parser": "@typescript-eslint/parser",
9393
"parserOptions": {
94-
"ecmaVersion": 2020,
94+
"ecmaVersion": "latest",
9595
"sourceType": "module"
9696
},
9797
"plugins": ["@typescript-eslint"],

first-gen/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
],
104104
"parser": "@typescript-eslint/parser",
105105
"parserOptions": {
106-
"ecmaVersion": 2020,
106+
"ecmaVersion": "latest",
107107
"sourceType": "module"
108108
},
109109
"plugins": [

second-gen/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
],
104104
"parser": "@typescript-eslint/parser",
105105
"parserOptions": {
106-
"ecmaVersion": 2020,
106+
"ecmaVersion": "latest",
107107
"sourceType": "module"
108108
},
109109
"plugins": [

second-gen/packages/swc/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
"cem:watch": "cem analyze --watch",
3939
"clean": "rimraf dist",
4040
"dev": "vite build --watch",
41-
"prestorybook": "cem analyze",
42-
"storybook": "storybook dev -p 6006",
43-
"storybook:build": "storybook build",
41+
"prestorybook": "yarn analyze",
42+
"storybook": "yarn prestorybook && storybook dev -p 6006",
43+
"storybook:build": "yarn prestorybook && storybook build",
4444
"test": "vitest --run",
4545
"test:coverage": "vitest --coverage",
4646
"test:ui": "vitest --ui",
@@ -92,5 +92,5 @@
9292
"engines": {
9393
"node": ">=20"
9494
},
95-
"customElements": "custom-elements.json"
95+
"customElements": ".storybook/custom-elements.json"
9696
}

0 commit comments

Comments
 (0)