-
Notifications
You must be signed in to change notification settings - Fork 42
Prepare for SB9 #75
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
Merged
Merged
Prepare for SB9 #75
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
b63ab6d
Update dependencies and configuration for Storybook and TypeScript
ndelangen 4af90f8
Update postinstall script in package.json
ndelangen c3bf63a
regen lockfile
ndelangen 8d31140
prep for https://github.com/storybookjs/storybook/pull/30794
ndelangen 940603b
Update package-lock.json and modify postinstall script in package.json
ndelangen 213738e
Update postinstall script in package.json to standard format
ndelangen bb86e79
Merge pull request #76 from storybookjs/norbert/9.0-new
ndelangen e8611c3
Merge branch 'main' into norbert/9.0-new
ndelangen c7defa9
Update Storybook import to use react-vite
ndelangen 9087a41
Merge branch 'norbert/9.0-new' into norbert/9.0
ndelangen da6c3aa
Remove addon-interactions
valentinpalkovic 2e3f6e3
Update Storybook configuration and dependencies
ndelangen 7ef1e7e
Merge branch 'norbert/9.0' of github.com:storybookjs/addon-kit into n…
ndelangen dbb02b9
Add GitHub Actions workflows for building and releasing with Node.js …
ndelangen 93e6d56
change local-preset to cjs
JReinhold 272be26
upgrade to SB 9.0.0
JReinhold 111ea95
update tsconfig based on https://www.totaltypescript.com/tsconfig-che…
JReinhold b191bf2
remove browser targets
JReinhold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: Build | ||
|
|
||
| on: [push] | ||
|
|
||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Prepare repository | ||
| run: git fetch --unshallow --tags | ||
|
|
||
| - name: Use Node.js 20.x | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20.x | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install --ignore-scripts | ||
|
|
||
| - name: Build | ||
| run: | | ||
| npm run build | ||
|
|
||
| - name: Build Storybook | ||
| run: | | ||
| npm run build-storybook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,9 @@ | ||
| import type { StorybookConfig } from "@storybook/react-vite"; | ||
| const config: StorybookConfig = { | ||
| import { defineMain } from "@storybook/react-vite/node"; | ||
|
|
||
| const config = defineMain({ | ||
| stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"], | ||
| addons: [ | ||
| "@storybook/addon-links", | ||
| "@storybook/addon-essentials", | ||
| "@storybook/addon-interactions", | ||
| "./local-preset.js", | ||
| ], | ||
| framework: { | ||
| name: "@storybook/react-vite", | ||
| options: {}, | ||
| }, | ||
| docs: { | ||
| autodocs: "tag", | ||
| }, | ||
| }; | ||
| addons: ["@storybook/addon-docs", "./local-preset.cjs"], | ||
| framework: "@storybook/react-vite", | ||
| }); | ||
|
|
||
| export default config; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to
.cjsto be correct