Skip to content

Commit 3ba383c

Browse files
chore(atomic): better dev mode (#4920)
KIT-3920 ![Gifcast](https://github.com/user-attachments/assets/8e6f8ed1-99da-4b44-96ce-f679b67bf603) ### `npx nx run atomic:dev --stencil` for new dev mode with stencil rebuild ### `npx nx run atomic:dev` for new dev mode without
1 parent 9016283 commit 3ba383c

File tree

12 files changed

+576
-79
lines changed

12 files changed

+576
-79
lines changed

package-lock.json

+283
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/atomic/.storybook/main.mts

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ const config: StorybookConfig = {
6363
mergeConfig(config, {
6464
plugins: [
6565
nxViteTsPaths(),
66-
resolveStorybookUtils(),
66+
resolveStorybookUtilsImports(),
6767
configType === 'PRODUCTION' && isCDN && externalizeDependencies(),
6868
],
6969
}),
7070
};
7171

72-
const resolveStorybookUtils: PluginImpl = () => {
72+
const resolveStorybookUtilsImports: PluginImpl = () => {
7373
return {
74-
name: 'resolve-storybook-utils',
74+
name: 'resolve-storybook-utils-imports',
7575
async resolveId(source: string, importer, options) {
7676
if (source.startsWith('@/storybook-utils')) {
7777
return this.resolve(

packages/atomic/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"@whitespace/storybook-addon-html": "6.1.1",
120120
"autoprefixer": "10.4.20",
121121
"axe-core": "4.10.2",
122+
"chalk": "4.1.2",
122123
"cypress": "13.7.3",
123124
"cypress-axe": "1.5.0",
124125
"cypress-repeat": "2.3.8",
@@ -133,6 +134,7 @@
133134
"lit-html": "3.2.1",
134135
"local-web-server": "5.4.0",
135136
"natural-orderby": "5.0.0",
137+
"ora": "8.2.0",
136138
"playwright": "1.50.0",
137139
"postcss": "8.5.1",
138140
"postcss-focus-visible": "10.0.1",

0 commit comments

Comments
 (0)