-
Notifications
You must be signed in to change notification settings - Fork 42
Prepare for Storybook 10: Output ESM-only #82
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
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
44b42f3
update tsup config to only output ESM
JReinhold ade228b
update export map, move @storybook/icons to devDependency, upgrade de…
JReinhold e1cd97a
cleanup comments
JReinhold 44a02a4
CJS > ESM in root preset.js
JReinhold 1e3259d
Fix default keywords
shilman f3150a5
Merge branch 'main' of github.com:storybookjs/addon-kit into esm-only
JReinhold 6aec678
add index entry for CSF Factories support
JReinhold 1adaa6c
fix build targets
JReinhold 2976b50
reintroduce presets
yannbf 096b3c7
fix exports again
yannbf 5d605af
Add manager-helpers example
Sidnioulz ada12ff
Update package dependencies to use 'next' versions and add new devDep…
ndelangen 3115ec8
Update GitHub Actions workflows to install dependencies without ignor…
ndelangen ee26c8c
Refactor welcome.js for improved readability and consistency in forma…
ndelangen 1facf8f
switch to yarn because npm has a bug with optionalDependencies
ndelangen a682ef5
Update GitHub Actions workflows to use Yarn for dependency management…
ndelangen 608519b
Add corepack enable step to GitHub Actions workflows
ndelangen ea6de39
Update .gitignore to include yarn install state and update yarn.lock …
ndelangen 5c101de
deal with tsconfig error
ndelangen b32c936
Fix default keywords (#85)
Sidnioulz 5502295
Switch to PNPM
Sidnioulz 8e58d2f
Add ESLint support
Sidnioulz 211d352
Fix condition to prevent release triggers on the template repo
Sidnioulz b51bdc3
CI: Cancel build on PR because it duplicates jobs
Sidnioulz 221f630
Remove irrelevant pnpm rule I was testing out
Sidnioulz d7e22f0
Add manager-helpers example (#86)
Sidnioulz c5f3840
Remove dangling yarn RC file
Sidnioulz ecaa79d
Merge pull request #87 from storybookjs/switch-to-pnpm
ndelangen bb849ea
Refactor imports in manager.ts and manager-helpers.tsx for consistency
ndelangen 187b38b
Apply suggestion from @Sidnioulz
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 was deleted.
Oops, something went wrong.
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,12 @@ | ||
| import { fileURLToPath } from "node:url"; | ||
|
|
||
| /** | ||
| * to load the built addon in this test Storybook | ||
| */ | ||
| export function previewAnnotations(entry = []) { | ||
| return [...entry, fileURLToPath(import.meta.resolve("../dist/preview.js"))]; | ||
| } | ||
|
|
||
| export function managerEntries(entry = []) { | ||
| return [...entry, fileURLToPath(import.meta.resolve("../dist/manager.js"))]; | ||
| } |
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 was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.