-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Port to Storybook 9 #31
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
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
69a92e8
feat: Port to Storybook 9
Sidnioulz 5a08ab0
chore: Update package manager to pnpm@10.7.0 and clean up tarball URL…
ndelangen 035c51b
chore: Add Storybook as a peer dependency and update package manager …
ndelangen 1899845
chore: Disable sourcemaps in tsup configuration
ndelangen 738be3d
chore: Update release workflow and package.json scripts
ndelangen b0abbb4
chore: Remove pnpm version specification from release workflow
ndelangen 6523468
chore: Add dependency installation step to release workflow
ndelangen 6935319
chore: Let auto handle versioning
Sidnioulz 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
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 +1 @@ | ||
| 18 | ||
| 20 |
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,6 +1,6 @@ | ||
| { | ||
| "name": "@storybook/addon-styling-webpack", | ||
| "version": "1.0.1", | ||
| "version": "2.0.0", | ||
Sidnioulz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "description": "A base addon for configuring popular styling tools in Webpack", | ||
| "keywords": [ | ||
| "style", | ||
|
|
@@ -20,14 +20,14 @@ | |
| }, | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "require": "./dist/index.js", | ||
| "import": "./dist/index.mjs", | ||
| "types": "./dist/index.d.ts" | ||
| "import": "./dist/index.mjs" | ||
| }, | ||
| "./preset": { | ||
| "types": "./dist/preset.d.ts", | ||
| "require": "./dist/preset.js", | ||
| "import": "./dist/preset.mjs", | ||
| "types": "./dist/preset.d.ts" | ||
| "import": "./dist/preset.mjs" | ||
|
Comment on lines
+23
to
+30
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed import order warning in more recent bundlers |
||
| }, | ||
| "./package.json": "./package.json", | ||
| "./postinstall": "./postinstall.js" | ||
|
|
@@ -45,24 +45,23 @@ | |
| "scripts": { | ||
| "build": "tsup", | ||
| "build:watch": "pnpm build --watch", | ||
| "clean": "rimraf dist && rimraf bin", | ||
| "release": "pnpm build && auto shipit" | ||
| }, | ||
| "dependencies": { | ||
| "@storybook/node-logger": "^8.0.0-alpha.10" | ||
| "release": "auto shipit" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^18.0.0", | ||
| "auto": "^11.1.1", | ||
| "prettier": "^3.2.0", | ||
| "rimraf": "^3.0.2", | ||
| "tsup": "^6.7.0", | ||
| "typescript": "^5.3.0", | ||
| "webpack": "^5.0.0" | ||
| "@types/node": "^22.15.29", | ||
| "auto": "^11.3.0", | ||
| "prettier": "^3.5.3", | ||
| "rimraf": "^6.0.1", | ||
| "storybook": "^9.0.4", | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of |
||
| "tsup": "^8.5.0", | ||
| "typescript": "^5.8.3", | ||
| "webpack": "^5.99.9" | ||
| }, | ||
| "peerDependencies": { | ||
| "storybook": "^9.0.0", | ||
| "webpack": "^5.0.0" | ||
| }, | ||
| "packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
|
|
||
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.
Please note: I've bumped the version as I saw Shaun was doing it himself and I suspect it's not auto-managed. If version is managed via release commits (using Shaun's identity 😬), this will need to be reverted.
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.
Mental note: must definitely be reverted. Will do it later so as not to mess up with your branch history while you're working on this, Norbert.