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

Experimental support for Svelte 5 #181

Merged
merged 246 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
3a83e11
Experimental Svelte 5 support
tsar-boomba Apr 30, 2024
89bc377
Convert Button and ArgTable example stories to rune mode
tsar-boomba May 1, 2024
48cb835
Add `.svelte-kit/` to ignore list
xeho91 May 6, 2024
fbe2d7b
Remove deprecated `Meta` component and its types
xeho91 May 6, 2024
7bd79c5
Migrate to Svelte `v5` & use `Meta` from `@storybook/svelte`
xeho91 May 6, 2024
5986a3e
Rewrite stories to stop using `Meta` component & update to Svelte `v5`
xeho91 May 6, 2024
8053c80
Rewrite by removing `Meta` component and use `export meta`
xeho91 May 6, 2024
c3ba67b
Move runes & snippets
xeho91 May 7, 2024
c977239
Remove `fs-extra` dependency in favor of `node:fs/promises`
xeho91 May 11, 2024
5e96bab
Add `.svelte-kit` to ignore list
xeho91 May 11, 2024
676064d
Remove usage of `fs-extra` and fix types in `config-loader`
xeho91 May 11, 2024
fc4c90d
Add `@sveltejs/kit` as dev dependency for `Config` types
xeho91 May 11, 2024
0e80c2f
Merge remote-tracking branch 'origin/chores' into support-svelte-v5
xeho91 May 12, 2024
541b337
Update `tsconfig.json`
xeho91 May 12, 2024
bb4df4e
Improve TypeScript experience
xeho91 May 12, 2024
2b0836d
Refactor parser/collector
xeho91 May 12, 2024
fa823d5
Update Button examples
xeho91 May 12, 2024
d0d357d
Improve types & obj strucutres
xeho91 May 12, 2024
0fef4b4
Update stories examples
xeho91 May 12, 2024
9788bd4
Format
xeho91 May 12, 2024
6e5ccae
🚧 WIP
xeho91 May 13, 2024
b4237b9
Revert "🚧 WIP"
xeho91 May 14, 2024
1a61e8b
Refactor context, still some bugs
xeho91 May 14, 2024
06d1357
Fix type issues, update stories tests, latest working version
xeho91 May 14, 2024
86d85b4
Fix format & restore feature of supporting `import Story/Tempalte as`
xeho91 May 15, 2024
4322fcf
Clean up & migrate to `zimmerframe` for walking ast syntax
xeho91 May 15, 2024
3395b76
Update stories examples
xeho91 May 15, 2024
7636f15
Remove `<Template />` & refactor to apply changes
xeho91 May 16, 2024
905562e
Experiment with `Template` type for snippets
xeho91 May 18, 2024
ab423d6
Add `defineComponent`
xeho91 May 18, 2024
3186d77
Use `Meta` as generic type parameter instead of `SvelteComponent`
xeho91 May 20, 2024
20c926f
Move parsing of instance to module & experiment with `defineMeta`
xeho91 May 20, 2024
2fe01cb
Update examples
xeho91 May 20, 2024
94eac84
Move to `render(args, context)` pattern
xeho91 May 21, 2024
9b342c6
Refactor vite plugin - add pre-transform
xeho91 May 23, 2024
6a16b9c
Change `setTemplate` to use `typeof Story`
xeho91 May 23, 2024
1482015
refactor & cleanup
xeho91 May 24, 2024
893c7db
dynamically import zimmerframe to force ESM
JReinhold May 24, 2024
87e5261
dynamically import vite to force ESM
JReinhold May 24, 2024
e5b4a7a
Fix: remove too early throw on first variable declatator
xeho91 May 25, 2024
d52c012
Fix: Type issue with `StoryContext`
xeho91 May 25, 2024
c025c88
Drop support for `webpack`
xeho91 May 25, 2024
66739c8
Prettier
xeho91 May 25, 2024
4349e20
Resolve issue with importing addon inside package examples
xeho91 May 25, 2024
3dd8d62
Add example for failing TypeScript case with required snippets
xeho91 May 25, 2024
c05ca61
fix: Comments cannot be inside snippet
xeho91 May 25, 2024
eb7eb40
fix: Got you, stop removing the whole line and remove `export default…
xeho91 May 25, 2024
3564df6
simplify main.ts
JReinhold May 25, 2024
7ea3fb5
Widen peer dependency ranges
JReinhold May 25, 2024
de40fa2
rename renderSnippet context key to templateSnippet
JReinhold May 25, 2024
848cb7c
improve readability of Story.svelte
JReinhold May 25, 2024
4c584f2
improve readability of StoryRenderer.svelte
JReinhold May 25, 2024
5da00d0
Improve context readability:
JReinhold May 25, 2024
fdf40c1
fix: update import path after file name change
xeho91 May 26, 2024
e228ca9
Revert changes to test files to exclude them from PR
xeho91 May 26, 2024
c42dc46
Remove `config-loader.ts` in favor of `loadSvelteConfig`
xeho91 May 26, 2024
d4a5681
Remove unused - `@total-typescript/ts-reset`
xeho91 May 26, 2024
92f5729
Restore `source` prop feature & rename `M` type to `TMeta`
xeho91 May 26, 2024
739dcb7
Remove setting default `Default` to `Story` prop `name`
xeho91 May 26, 2024
3a72d89
refactor: Attempt to fix type helpers `Args` & `StoryContext`
xeho91 May 26, 2024
aa3639b
rename SB Context type
JReinhold May 26, 2024
ff8603b
add svelte condition to exports map
JReinhold May 26, 2024
e69d483
fix pnpm version in CI
JReinhold May 26, 2024
a1dcaf4
Fix pnpm in CI
JReinhold May 26, 2024
f6f1763
restructure src into:
JReinhold May 26, 2024
86963d2
remove support for svelteOptions preset (was already removed in @stor…
JReinhold May 26, 2024
adaec79
add vite-plugin-inspect
JReinhold May 26, 2024
79aaadc
Remove wrong package `svelte-package`
xeho91 May 27, 2024
fa2865c
Split contexts
xeho91 May 27, 2024
ce04039
🚧 WIP: rerfactor: Use Svelte AST parser to fill indexers
xeho91 May 27, 2024
c52940d
🚧 Apply refactor changes
xeho91 May 27, 2024
1315b29
Fix lockfile
xeho91 May 27, 2024
3120515
Remove obsolete files
xeho91 May 27, 2024
3c782ad
Remove `pre-transform` plugin ...
xeho91 May 28, 2024
9e487d5
Cleanup & add notes
xeho91 May 28, 2024
e75be50
Add regular/svelte CSF for output comparison
xeho91 May 28, 2024
d1bfaad
Simplify the transformed output
xeho91 May 28, 2024
eb432de
Fix: Include possibly renamed meta identifier
xeho91 May 28, 2024
f05a689
Rename `renderer` to `runtime`
xeho91 May 28, 2024
72f6066
Move `./utils/parser` to `./parser`
xeho91 May 28, 2024
50591be
Fix: import paths
xeho91 May 28, 2024
b70d6a4
chore: Remove unused file
xeho91 May 28, 2024
a242187
Update test config, ignore old
xeho91 May 28, 2024
9681833
Set `filename` to be optional - for tests
xeho91 May 28, 2024
030a862
Add initial tests for parsing `stories.svelte` content
xeho91 May 28, 2024
4a11bd1
ci: Add test workflow
xeho91 May 28, 2024
e99a1fa
fix compatibility with node 18
JReinhold May 28, 2024
cf41e78
refactor collect-stories to be explicit export module 'create-story-f…
JReinhold May 28, 2024
47703d3
WIP: add identifier converters
JReinhold May 28, 2024
268d529
Add transform for compiled output `removeExportDefault` & improve notes
xeho91 May 29, 2024
4610d8d
chore: Improve `clean` script to remove everything that produced
xeho91 May 29, 2024
f4e52bc
fix: Include remove default export in plugin transform steps
xeho91 May 29, 2024
546efc4
Add `vitest-ui`
xeho91 May 29, 2024
2ccd391
ci: Set to use version defined in one place `.nvmrc` & use `corepack`
xeho91 May 29, 2024
c1ecfff
ci: temporary fix add `packageManager` field - for `corepack up`
xeho91 May 29, 2024
abc9995
ci: fix missing `Build package` step for `chromatic`
xeho91 May 29, 2024
69da609
Refactor: `create-appendix` - split into smaller and use AST
xeho91 May 29, 2024
48525f8
Fix: bugs found on side-project
xeho91 May 29, 2024
effc950
Update test to previous bug
xeho91 May 29, 2024
f5d4441
fix: Allow parsing `name` when is an Expression with string too
xeho91 May 29, 2024
8c64258
chore: Remove old test files
xeho91 May 29, 2024
4a23042
refactor: Add more tests, split into smaller files
xeho91 May 29, 2024
040a7c5
extract identifier tests to separate file
JReinhold May 29, 2024
5e57010
create storyobjs instead of storyfns
JReinhold May 29, 2024
0a3e376
use export names and story ids as references
JReinhold May 29, 2024
c341a6a
Add `rollup` and `vite-plugin-virtual` for testing purposes only
xeho91 May 30, 2024
589d7d5
🚧 Experimental attempt to create inline compile/parsing tests
xeho91 May 30, 2024
319a6a0
feat: support explicit exportName via prop.
JReinhold May 30, 2024
9e91fc1
remove unused id prop
JReinhold May 30, 2024
eef9618
support rendering stories without explicit or implicit templates
JReinhold May 30, 2024
9a8c457
remove
JReinhold May 30, 2024
ef3ca0a
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold May 30, 2024
98835ab
Add example & visual test with decorators
xeho91 May 31, 2024
cbbb886
Improve `Decorators` example
xeho91 May 31, 2024
acbfddc
fix: generic type parameter error for type helpers `Args` & `StoryCon…
xeho91 Jun 1, 2024
919a452
refactor `transform/Story/description.ts` and fix
xeho91 Jun 1, 2024
0b0e5c4
Add partial support for` <Story source={"code..."} />` prop
xeho91 Jun 1, 2024
78b6247
update getComponentName with Svelte 5 implementation
JReinhold Jun 2, 2024
7c2ebe2
streamline variable names for svelte code, compiled code, filename
JReinhold Jun 2, 2024
973662d
fix: inserting HTML comments as descrription for `<Story />` in dev …
xeho91 Jun 3, 2024
d982117
Temporarily disable `source` feature in `plugin`
xeho91 Jun 3, 2024
be04452
🚧 Add extraction of `setTemplate` import specifier
xeho91 Jun 3, 2024
e585f27
🚧 Add `extract-instance-nodes` & extract snippet for `setTemplate`
xeho91 Jun 3, 2024
765a067
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold Jun 3, 2024
1550e08
use function declarations to get storiesFunctionDeclarations instead …
JReinhold Jun 3, 2024
8c5ab32
Update tests & add for `instance-nodes`
xeho91 Jun 4, 2024
bea20a2
fix: forgot to include this in the fix related to `description` HTML …
xeho91 Jun 4, 2024
9f5099d
fix: wrong extraction of `validate_component` calls
xeho91 Jun 4, 2024
73143ed
🚧 refactor: Implement space to insert `description.story` & `source.c…
xeho91 Jun 4, 2024
4405dde
🚧 refactor
xeho91 Jun 5, 2024
3cf681f
🚧 emit code to SB source viewer
JReinhold Jun 5, 2024
63ae9d4
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold Jun 5, 2024
be44123
refactor: Finish feature of extracting raw source of Story `source.code`
xeho91 Jun 6, 2024
7881a71
refactor: Use `prettier` to format Story children raw source slices
xeho91 Jun 6, 2024
efeeaf8
fix: failing tests & issue with `prettier` inside tests
xeho91 Jun 6, 2024
363788a
cleanup
xeho91 Jun 6, 2024
6555f54
Remove obsolete test file
xeho91 Jun 6, 2024
1cbf6ff
replace individual args in code emitter
JReinhold Jun 6, 2024
99a4667
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold Jun 6, 2024
f484f87
add __svelteCsf parameter to all stories
JReinhold Jun 6, 2024
44dbdfc
Revert parameters.__svelteCsf: true
JReinhold Jun 6, 2024
e923f8f
Revert over-engineer with `prettier` and use `dedent` instead
xeho91 Jun 7, 2024
c6f6c4e
chore: Remove obsolete util `get-component-name.ts` & streamline naming
xeho91 Jun 7, 2024
f1de3a9
refactor: Improve naming, split, document & add tests
xeho91 Jun 7, 2024
46a7eec
refactor: Reorganize structure, improve naming, streamline
xeho91 Jun 7, 2024
ecc82d8
use __svelteCsf.rawCode parameter for code emission.
JReinhold Jun 7, 2024
c7fc49c
streamline, fix format issues, add tests
xeho91 Jun 7, 2024
5fefc0a
fix: folder rename `Story` -> `story`
xeho91 Jun 7, 2024
148c4f7
refactor: Adopt Storybook internal for extracting description from JS…
xeho91 Jun 8, 2024
a931297
fix: compiler failing when `parameters` attribute is defined in `<Sto…
xeho91 Jun 8, 2024
98b1045
chore: Use subpath `imports`
xeho91 Jun 8, 2024
3f9f461
fix: imports not working for `*.svelte` files
xeho91 Jun 8, 2024
e86fc9d
support individual args replacements
JReinhold Jun 8, 2024
d4b1a72
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold Jun 8, 2024
76f3fed
Add `StorybookSvelteCSFError` & initial usage on module nodes
xeho91 Jun 9, 2024
5376a46
chore: update Prettier config and include svelte plugin
xeho91 Jun 9, 2024
d560a35
test: Use prettier to format stories, improve documentation & add tests
xeho91 Jun 9, 2024
2e3e102
fix: Switch to `.js` for Prettier config & update test snapshots
xeho91 Jun 9, 2024
c58610c
chore: Improve error messages related to parser/extract svelte & comp…
xeho91 Jun 9, 2024
7d927cb
test: update snapshots
xeho91 Jun 9, 2024
fea5119
refactor: Remove duplicates & streamline & improve errors related to …
xeho91 Jun 10, 2024
c531c30
refactor: Improve error messages in `compiler/`
xeho91 Jun 10, 2024
92739ff
chore: cleanup & add notes
xeho91 Jun 10, 2024
dfc8159
format with prettier, include svelte files
JReinhold Jun 10, 2024
d519a6e
add example button
JReinhold Jun 10, 2024
d12bf8a
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold Jun 10, 2024
e632ad9
add dynamic content to example button
JReinhold Jun 10, 2024
d7c4e87
rename example content to children
JReinhold Jun 11, 2024
5f4f46b
improve snippet functions in code emit
JReinhold Jun 11, 2024
ca5a0e0
chore: Move remaining errors to new error framework
xeho91 Jun 11, 2024
c2fefdb
create initial `ERROR.md` template
xeho91 Jun 11, 2024
484cc1e
Allow all Snippet args to be primitives, so they can be easily modifi…
JReinhold Jun 11, 2024
2f0a74f
Merge branch 'experimental-support-svelte-v5' of github.com:storybook…
JReinhold Jun 11, 2024
3f35763
docs: Improve error messages related to `parser/extract/svelte`
xeho91 Jun 11, 2024
224c28b
experiment with TOverrideArgs
JReinhold Jun 12, 2024
a689214
add `typescript-svelte-plugin`
xeho91 Jun 12, 2024
e00aedf
fix some of type issues & streamline
xeho91 Jun 12, 2024
e42f8b4
fix types on tests
xeho91 Jun 12, 2024
16ded27
Another failed attempt to fix types
xeho91 Jun 12, 2024
c4b25f9
fix: Attempt to improve types - not working
xeho91 Jun 14, 2024
7371f49
Update deps
xeho91 Jun 14, 2024
cf95c43
fix: tests in `types.test.ts` & streamline other types
xeho91 Jun 14, 2024
0eec9be
relax some types, add more tests & bring closer to final goal
xeho91 Jun 15, 2024
b9e4fac
fix types in `index.test.ts`
xeho91 Jun 15, 2024
fb52150
streamline & fix types, add more tests
xeho91 Jun 16, 2024
6a7c341
streamline types and fix remaining errors in stories files
xeho91 Jun 16, 2024
0c29012
ci: Add initial `Check` workflow for `svelte-check`
xeho91 Jun 16, 2024
807536d
chore: Add notes about type errors in `create-runtime-stories`
xeho91 Jun 16, 2024
78b30e3
move `stories/` to `tests/` & fix tests
xeho91 Jun 16, 2024
9517eb1
update tests snapshots
xeho91 Jun 16, 2024
511eda0
chores & resolve type helper `Args` type issues
xeho91 Jun 16, 2024
b8457f3
streamline types again
xeho91 Jun 18, 2024
f3ea582
update snapshots
xeho91 Jun 18, 2024
ddac3c8
update deps
xeho91 Jun 18, 2024
3f8b162
Resolve `FIXME`s related to `estree`
xeho91 Jun 18, 2024
b2416cb
Improve errors related to `parser/compiled`
xeho91 Jun 18, 2024
bc268bc
Document errors related to `parser/analyse/define-meta`
xeho91 Jun 18, 2024
65d5403
fix steps in `Check`
xeho91 Jun 18, 2024
19fe3aa
fix tests - make filepath dynamic
xeho91 Jun 18, 2024
3448b63
Document error messages related to `parser/analyse/Story`
xeho91 Jun 19, 2024
3152066
document error messages related to `compiler`
xeho91 Jun 19, 2024
4c21eb4
Replace `estree-util-to-js` with `esrap`
xeho91 Jun 19, 2024
1fec509
Exclude `test.*` files from being packaged
xeho91 Jun 19, 2024
20d6a39
Add `d.ts` files in `examples/` dir to ignore list
xeho91 Jun 19, 2024
799eb49
add mockFn and descriptions to button example
JReinhold Jun 20, 2024
d0d95f4
add "Examples Only" version of Storybook and Chromatic
JReinhold Jun 20, 2024
ed5069a
exit chromatic CI early
JReinhold Jun 20, 2024
6105951
add readme to storybook
JReinhold Jun 20, 2024
ae9ed1e
support links to ERRORS.md in errors
JReinhold Jun 21, 2024
998e9cb
re-word parser errors
JReinhold Jun 21, 2024
8dacbf9
rewrite README
JReinhold Jun 25, 2024
d98a81e
export unsupoorted components
JReinhold Jun 25, 2024
309510b
make either name or exportName prop required
JReinhold Jun 25, 2024
47a842d
Add initial `MIGRATION.md`
xeho91 Jun 26, 2024
2174c53
Improve sections & add links to `src/index.ts`
xeho91 Jun 26, 2024
0427cba
fix links & format issues in `MIGRATION.md`
xeho91 Jun 26, 2024
ddf7ac5
fix typos with `typos` CLI
xeho91 Jun 26, 2024
67c1bef
fix `Check`
xeho91 Jun 26, 2024
f315b2f
fix prettier issues in `README.md`
xeho91 Jun 26, 2024
3692617
Small improvements to `README.md`
xeho91 Jun 26, 2024
7fda737
Simplify snippets & add sub-section "Accessing Story context"
xeho91 Jun 26, 2024
5e25f22
reword PARSER_EXTRACT_COMPILED errors
JReinhold Jun 27, 2024
007ef67
Remove `COMPILER` category related errors and replace with warnings
xeho91 Jun 28, 2024
04f02dc
update test snapshots
xeho91 Jun 28, 2024
941172a
chore: use dist folder to load the files
benoitf Jun 29, 2024
3e8602c
Merge pull request #185 from benoitf/fix-import
JReinhold Jun 29, 2024
9fd4bb6
add source condition to import subpath
JReinhold Jun 29, 2024
bbf8dcd
use "development" condition instead of "source" as that is a default …
JReinhold Jun 30, 2024
6e64fc9
fix missing lodash dependency
JReinhold Jul 1, 2024
9971a76
add Templating example stories based on existing Templating stories.
JReinhold Jul 1, 2024
3d2aa96
add examples for custom exportName and import
JReinhold Jul 1, 2024
17d1807
fix stories not having correct name at runtime when both exportName a…
JReinhold Jul 1, 2024
168fccb
Use node-logger instead of client-logger. Reword compiler warnings.
JReinhold Jul 5, 2024
871abf6
force svelte-preprocess v6.0.2 with pnpm overrides
JReinhold Jul 10, 2024
695f5fe
autosort package.json
JReinhold Jul 10, 2024
6388abe
upgrade to Storybook 8.2.1
JReinhold Jul 10, 2024
ed1defa
make storybook dependencies more correct
JReinhold Jul 10, 2024
76ef806
fix lockfile
JReinhold Jul 10, 2024
82ac172
fix addon-actions story
JReinhold Jul 10, 2024
01704e9
re-word story analyser errors
JReinhold Jul 11, 2024
c0e0ff7
re-word defineMeta errors
JReinhold Jul 11, 2024
51b6318
update error message test snapshots
JReinhold Jul 11, 2024
0e80e58
minor improvements to test stories
JReinhold Jul 11, 2024
9bb9dce
cleanup
JReinhold Jul 14, 2024
05e273f
revert fix for Storybook 8.2.0
JReinhold Jul 14, 2024
26b0f68
Bring back example stories for tests
JReinhold Jul 14, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.svelte-kit/
dist/
node_modules/
storybook-static/
Expand Down
14 changes: 7 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"printWidth": 100,
"tabWidth": 2,
"bracketSpacing": true,
"trailingComma": "es5",
"singleQuote": true,
"arrowParens": "always"
}
"printWidth": 100,
"tabWidth": 2,
"bracketSpacing": true,
"trailingComma": "es5",
"singleQuote": true,
"arrowParens": "always"
}
18 changes: 10 additions & 8 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ import type { StorybookConfig } from '@storybook/svelte-vite';

const config: StorybookConfig = {
framework: '@storybook/svelte-vite',
stories: [{
directory: '../stories',
files:'**/*.stories.svelte',
titlePrefix:'Demo'
}],
addons: [
'../dist/preset/index.js',
'../dist/preset.js',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
],
stories: [
{
directory: '../stories',
files: '**/*.stories.svelte',
titlePrefix: 'Demo',
},
],
docs: {
autodocs: 'tag'
}
autodocs: 'tag',
},
};
export default config;
81 changes: 35 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Allows to write stories in Svelte syntax",
"keywords": [
"storybook-addons",
"csf",
"svelte"
],
"repository": {
Expand All @@ -12,24 +13,20 @@
},
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./preset": {
"types": "./dist/preset/index.d.ts",
"default": "./dist/preset/index.js"
"types": "./dist/preset.d.ts",
"default": "./dist/preset.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
"README.md"
],
"scripts": {
"clean": "rimraf ./dist",
Expand All @@ -39,72 +36,64 @@
"chromatic": "chromatic --exit-zero-on-changes",
"coverage": "vitest run --coverage",
"check": "svelte-check",
"lint": "eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
"storybook": "storybook dev --port 6006",
"lint": "eslint --cache --cache-location=.cache/eslint --ext .js.json,.html,.svelte,.ts --report-unused-disable-directives",
"storybook": "storybook dev --port 6006 --no-open",
"start": "concurrently \"pnpm run storybook --quiet\" \"pnpm run build --watch\"",
"build-storybook": "storybook build",
"release": "pnpm run build && auto shipit"
},
"dependencies": {
"@babel/runtime": "^7.22.6",
"dedent": "^1.2.0",
"fs-extra": "^11.1.1",
"magic-string": "^0.30.1"
"estree-util-to-js": "^2.0.0",
"magic-string": "^0.30.1",
"zimmerframe": "^1.1.2"
},
"devDependencies": {
"@auto-it/released": "^10.32.6",
"@storybook/addon-actions": "^8.0.0-rc.2",
"@storybook/addon-essentials": "^8.0.0-rc.2",
"@storybook/addon-interactions": "^8.0.0-rc.2",
"@storybook/blocks": "^8.0.0-rc.2",
"@storybook/client-logger": "^8.0.0-rc.2",
"@storybook/components": "^8.0.0-rc.2",
"@storybook/csf": "^0.1.1",
"@storybook/addon-actions": "^8.1.0",
"@storybook/addon-essentials": "^8.1.0",
"@storybook/addon-interactions": "^8.1.0",
"@storybook/client-logger": "^8.1.0",
"@storybook/csf": "^0.1.5",
"@storybook/eslint-config-storybook": "^3.1.2",
"@storybook/node-logger": "^8.0.0-rc.2",
"@storybook/preview-api": "^8.0.0-rc.2",
"@storybook/svelte": "^8.0.0-rc.2",
"@storybook/svelte-vite": "^8.0.0-rc.2",
"@storybook/test": "^8.0.0-rc.2",
"@storybook/theming": "^8.0.0-rc.2",
"@storybook/types": "^8.0.0-rc.2",
"@storybook/node-logger": "^8.1.0",
"@storybook/preview-api": "^8.1.0",
"@storybook/svelte": "^8.1.0",
"@storybook/svelte-vite": "^8.1.0",
"@storybook/test": "^8.1.0",
"@storybook/types": "^8.1.0",
"@sveltejs/package": "^2.2.0",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@sveltejs/vite-plugin-svelte": "4.0.0-next.1",
"@total-typescript/ts-reset": "^0.5.1",
JReinhold marked this conversation as resolved.
Show resolved Hide resolved
"@tsconfig/svelte": "^5.0.0",
"@types/estree": "^1.0.1",
"@types/estree": "^1.0.5",
"@types/node": "^20.12.12",
"auto": "^11.1.1",
"chromatic": "^6.19.9",
"concurrently": "^8.2.0",
"eslint": "^7.17.0",
"eslint-plugin-storybook": "^0.6.12",
"jsdom": "^22.1.0",
"jsdom": "^24.0.0",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"storybook": "^8.0.0-rc.2",
"svelte": "^4.2.2",
"rimraf": "^5.0.7",
"storybook": "^8.1.0",
"svelte": "5.0.0-next.136",
"svelte-check": "^3.5.0",
"svelte-jester": "^2.3.2",
"svelte-loader": "^3.1.7",
"svelte-package": "^0.1.0",
xeho91 marked this conversation as resolved.
Show resolved Hide resolved
"typescript": "^5.1.6",
"vite": "^4.4.3",
"vitest": "^0.33.0"
"vite": "^5.2.10",
"vitest": "^1.5.2"
},
"peerDependencies": {
"@storybook/svelte": "^7.0.0 || ^8.0.0 || ^8.0.0-beta.0",
"@sveltejs/vite-plugin-svelte": "^2.0.0 || ^3.0.0",
"svelte": "^4.0.0",
"svelte-loader": "^3.1.2",
"vite": "^4.0.0 || ^5.0.0"
"@storybook/svelte": "^8.1.0",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"svelte": "^5.0.0-next.117",
"vite": "^5.2.10"
},
"peerDependenciesMeta": {
"@sveltejs/vite-plugin-svelte": {
"optional": true
},
"svelte-loader": {
"optional": true
},
"vite": {
"optional": true
}
Expand Down
Loading
Loading