Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(atomic): better dev mode #4920

Merged
merged 13 commits into from
Feb 4, 2025
283 changes: 283 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/atomic/.storybook/main.mts
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ const config: StorybookConfig = {
mergeConfig(config, {
plugins: [
nxViteTsPaths(),
resolveStorybookUtils(),
resolveStorybookUtilsImports(),
configType === 'PRODUCTION' && isCDN && externalizeDependencies(),
],
}),
};

const resolveStorybookUtils: PluginImpl = () => {
const resolveStorybookUtilsImports: PluginImpl = () => {
return {
name: 'resolve-storybook-utils',
name: 'resolve-storybook-utils-imports',
async resolveId(source: string, importer, options) {
if (source.startsWith('@/storybook-utils')) {
return this.resolve(
Expand Down
2 changes: 2 additions & 0 deletions packages/atomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"@whitespace/storybook-addon-html": "6.1.1",
"autoprefixer": "10.4.20",
"axe-core": "4.10.2",
"chalk": "4.1.2",
"cypress": "13.7.3",
"cypress-axe": "1.5.0",
"cypress-repeat": "2.3.8",
Expand All @@ -133,6 +134,7 @@
"lit-html": "3.2.1",
"local-web-server": "5.4.0",
"natural-orderby": "5.0.0",
"ora": "8.2.0",
"playwright": "1.50.0",
"postcss": "8.5.1",
"postcss-focus-visible": "10.0.1",
Expand Down
Loading
Loading