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

Build: Fix server-kitchen-sink #28842

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test-storybooks/server-kitchen-sink/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { withLinks } from '@storybook/addon-links';

export const decorators = [withLinks];

const port = process.env.SERVER_PORT || 1337;
const port = process.env.STORYBOOK_SERVER_PORT || 1337;

export const parameters = {
docs: {
Expand Down
12 changes: 6 additions & 6 deletions test-storybooks/server-kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"main": "index.js",
"scripts": {
"build-storybook": "NODE_OPTIONS=\"--preserve-symlinks --preserve-symlinks-main\" storybook build",
"server": "PORT=1337 nodemon server.js",
"server": "PORT=1137 nodemon server.js",
"start": "concurrently \"yarn server\" \"yarn storybook\"",
"storybook": "SERVER_PORT=1137 NODE_OPTIONS=\"--preserve-symlinks --preserve-symlinks-main\" storybook dev -p 9006 --quiet"
"storybook": "STORYBOOK_SERVER_PORT=1137 NODE_OPTIONS=\"--preserve-symlinks --preserve-symlinks-main\" storybook dev -p 9006 --quiet"
},
"resolutions": {
"@storybook/addon-a11y": "file:../../code/addons/a11y",
Expand All @@ -38,15 +38,15 @@
"@storybook/builder-webpack5": "file:../../code/builders/builder-webpack5",
"@storybook/client-logger": "file:../../code/lib/client-logger",
"@storybook/codemod": "file:../../code/lib/codemod",
"@storybook/components": "file:../../../code/deprecated/components",
"@storybook/components": "file:../../code/deprecated/components",
"@storybook/core": "file:../../code/core",
"@storybook/core-webpack": "file:../../code/lib/core-webpack",
"@storybook/csf-plugin": "file:../../code/lib/csf-plugin",
"@storybook/ember": "file:../../code/frameworks/ember",
"@storybook/html": "file:../../code/renderers/html",
"@storybook/html-webpack5": "file:../../code/frameworks/html-webpack5",
"@storybook/instrumenter": "file:../../code/lib/instrumenter",
"@storybook/manager-api": "file:../../../code/deprecated/manager-api",
"@storybook/manager-api": "file:../../code/deprecated/manager-api",
"@storybook/nextjs": "file:../../code/frameworks/nextjs",
"@storybook/preact": "file:../../code/renderers/preact",
"@storybook/preact-vite": "file:../../code/frameworks/preact-vite",
Expand All @@ -58,7 +58,7 @@
"@storybook/preset-server-webpack": "file:../../code/presets/server-webpack",
"@storybook/preset-svelte-webpack": "file:../../code/presets/svelte-webpack",
"@storybook/preset-vue3-webpack": "file:../../code/presets/vue3-webpack",
"@storybook/preview-api": "file:../../../code/deprecated/preview-api",
"@storybook/preview-api": "file:../../code/deprecated/preview-api",
"@storybook/react": "file:../../code/renderers/react",
"@storybook/react-dom-shim": "file:../../code/lib/react-dom-shim",
"@storybook/react-vite": "file:../../code/frameworks/react-vite",
Expand All @@ -71,7 +71,7 @@
"@storybook/svelte-webpack5": "file:../../code/frameworks/svelte-webpack5",
"@storybook/sveltekit": "file:../../code/frameworks/sveltekit",
"@storybook/test": "file:../../code/lib/test",
"@storybook/theming": "file:../../../code/deprecated/theming",
"@storybook/theming": "file:../../code/deprecated/theming",
"@storybook/vue3": "file:../../code/renderers/vue3",
"@storybook/vue3-vite": "file:../../code/frameworks/vue3-vite",
"@storybook/vue3-webpack5": "file:../../code/frameworks/vue3-webpack5",
Expand Down
Loading
Loading