Skip to content

Commit

Permalink
Changes to use SB@next instead of canary
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Dec 11, 2023
1 parent 9381412 commit 150eb4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/create-nextjs-storybook/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { codeLog } from './cli/helpers.js';
const logger = console;

const DIRNAME = new URL('.', import.meta.url).pathname;
const VERSION = '0.0.0-pr-24447-sha-c98bddd2';
const VERSION = '0.0.0-pr-25086-sha-b3010f16';

const ensureDirShallow = async (path: string) => mkdir(path).catch(() => {});

Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"next": "^14",
"next": "^14.0.5",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-server/src/indexers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const appIndexer = (
const Composed = composeStory(stories.${exportName}, stories.default, projectAnnotations?.default || {}, '${exportName}');
const extraArgs = await getArgs(Composed.id);
const { id, parameters, argTypes, initialArgs } = Composed;
const { id, parameters, argTypes, args: initialArgs } = Composed;
const args = { ...initialArgs, ...extraArgs };
const storyAnnotations: StoryAnnotations<Args> = {
Expand Down

0 comments on commit 150eb4c

Please sign in to comment.