86 Commits

Author SHA1 Message Date
danielamram
5f31096c36 Merge branch 'next' of https://github.com/danielamram/storybook into replace-storybook-semver 2022-10-06 15:38:49 +03:00
Michael Shilman
d5bc809ae3 Update git head to 7.0.0-alpha.35, update yarn.lock [ci skip] 2022-10-06 00:24:15 +08:00
Michael Shilman
d8972df8c6 v7.0.0-alpha.35 2022-10-06 00:18:55 +08:00
Jeppe Reinhold
0dcc3a0e2c Merge branch 'next' of github.com:storybookjs/storybook into pr/danielamram/19292 2022-10-05 12:35:48 +02:00
Norbert de Langen
bd0a420209
improve the tsconfig
So we do not get the warning:
ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin

...anymore
2022-10-04 15:14:41 +02:00
danielamram
e9c8cd854c chore: replace @storybook/semver with semver 2022-09-29 16:31:35 +03:00
Michael Shilman
d9bc2a868a Update git head to 7.0.0-alpha.34, update yarn.lock [ci skip] 2022-09-27 11:29:29 +08:00
Michael Shilman
fc90fc8754 v7.0.0-alpha.34 2022-09-27 11:25:43 +08:00
Jeppe Reinhold
127544bee9 ignore missing types 2022-09-15 13:52:19 +02:00
Norbert de Langen
fec2c8a0eb
make check script use tsc from scripts 2022-09-14 12:26:12 +03:00
Norbert de Langen
f8b3929f6c
fix formatting 2022-09-14 10:24:49 +03:00
Michael Shilman
7f7a354a92 Update git head to 7.0.0-alpha.33, update yarn.lock [ci skip] 2022-09-13 19:08:37 +08:00
Michael Shilman
5da5b0fabd v7.0.0-alpha.33 2022-09-13 19:04:25 +08:00
Michael Shilman
9c49a7cd8b v7.0.0-alpha.32 2022-09-13 18:49:06 +08:00
Michael Shilman
4e417eff14 TS: Revert a few @ts-expect-errors 2022-09-11 23:20:29 +08:00
Michael Shilman
ea70649db9
Merge pull request #19122 from storybookjs/ts-expect-error
Convert @ts-ignore to @ts-expect-error
2022-09-07 22:56:33 +08:00
Michael Shilman
573e6f3340 Update git head to 7.0.0-alpha.31, update yarn.lock [ci skip] 2022-09-07 11:20:25 +08:00
Michael Shilman
02c013c331 v7.0.0-alpha.31 2022-09-07 11:16:32 +08:00
Ian VanSchooten
6bdfcfad14 Convert @ts-ignore to @ts-expect-error
And remove unused directives
2022-09-06 22:40:59 -04:00
Michael Shilman
9454d56200 Merge branch 'next' into chore/update-nx-latest 2022-09-07 07:47:22 +08:00
Ian VanSchooten
1926153a70 Merge remote-tracking branch 'origin/next' into deps-cleanup
# Conflicts:
#	code/lib/addons/package.json
#	code/lib/blocks/package.json
#	code/lib/client-api/package.json
#	code/lib/core-client/package.json
#	code/lib/core-common/package.json
#	code/lib/preview-web/package.json
#	code/lib/source-loader/package.json
#	code/yarn.lock
2022-09-05 17:29:49 -04:00
Michael Shilman
b7437b9eab Update git head to 7.0.0-alpha.30, update yarn.lock [ci skip] 2022-09-06 00:59:35 +08:00
Michael Shilman
aabf7b595c v7.0.0-alpha.30 2022-09-06 00:55:36 +08:00
Ian VanSchooten
e740513260 Remove unused dependencies 2022-09-04 00:31:35 -04:00
Ian VanSchooten
742bfb05ae Experiment: remove core-js 2022-09-02 23:08:48 -04:00
Michael Shilman
252a26cd9b Update git head to 7.0.0-alpha.29, update yarn.lock [ci skip] 2022-09-03 00:09:51 +08:00
Michael Shilman
87ce9b91ce v7.0.0-alpha.29 2022-09-03 00:03:50 +08:00
Norbert de Langen
9b1920d70a
Merge branch 'chore/update-nx-latest' of github.com:storybookjs/storybook into chore/update-nx-latest
# Conflicts:
#	code/nx.json
#	code/yarn.lock
2022-09-02 17:40:20 +02:00
Michael Shilman
54503208a6 CLI: Fix sb init to use renderer assets instead of frameworks
In 6.5 the `framework` config option was one of `react`, `angular`, etc. and included Webpack settings.

In the 7.0, we’ve updated it so that these are now called `renderers`, and are builder-independent. Now, frameworks contain specific builder information, such as `cra` or `nextjs` (for specific app environments) or `react-webpack5` / `react-vite` (for custom apps).

This fixes the `sb init` CLI command to use renderer-specific templates. I also call out some follow-up work to fix automigrations & telemetry
2022-09-02 15:35:27 +08:00
Michael Shilman
e1646400e4
Revert "chore: rename prepare script to prep" 2022-09-02 11:26:42 +08:00
Norbert de Langen
9d198e55fa
Merge pull request #19077 from storybookjs/chore/rename-prepare
chore: rename prepare script to prep
2022-09-01 21:16:33 +02:00
Michael Shilman
bb24ba7d94 Update git head to 7.0.0-alpha.28, update yarn.lock [ci skip] 2022-09-02 00:56:18 +08:00
Michael Shilman
941b85ce04 v7.0.0-alpha.28 2022-09-02 00:52:03 +08:00
Katerina Skroumpelou
5c5367b33c chore: rename prepare script to prep 2022-09-01 15:56:01 +03:00
Ian VanSchooten
0aca22eb32 Extract getFrameworkName to core-common 2022-08-31 08:24:45 -04:00
Michael Shilman
ac2182761a Update git head to 7.0.0-alpha.27, update yarn.lock [ci skip] 2022-08-31 11:03:14 +08:00
Michael Shilman
3e33f0709d v7.0.0-alpha.27 2022-08-31 10:58:47 +08:00
Michael Shilman
541f40db03
Merge pull request #19045 from storybookjs/tom/sb-697-investigate-chromatic-issues-on-next
Core: Restore `/preview` etc package exports; return unresolved path from presets.
2022-08-31 10:19:21 +08:00
Tom Coleman
2e50d6346a Merge remote-tracking branch 'origin/next' into tom/sb-697-investigate-chromatic-issues-on-next 2022-08-30 23:30:56 +10:00
Tom Coleman
9d689a86b6 Restore svelte exports properly 2022-08-30 23:00:10 +10:00
Tom Coleman
5aadc0fd61 Update comments 2022-08-30 22:29:58 +10:00
Tom Coleman
bb294e9b84 Fix typo 2022-08-30 22:28:48 +10:00
Tom Coleman
e3f0e26b3b Use pseudo absolute exports for preview/manager entries 2022-08-30 22:25:21 +10:00
Michael Shilman
8a8d8fac93
Apply suggestions from code review 2022-08-30 20:11:06 +08:00
Katerina Skroumpelou
3b0a999df9 fix: add previewHead and previewBody to StorybookConfig interface 2022-08-30 11:34:29 +03:00
Tom Coleman
57d5b1ae3b Don't return resolved path from browser preset entries
Instead, just return the import path unresolved
2022-08-30 14:44:19 +10:00
Tom Coleman
57d082ced4 Fix addons in examples.
Allow `preview.js` etc to be the name of the package exports
2022-08-29 22:02:34 +10:00
Tom Coleman
f263f42991 Set resolve.preserveSymlinks in Vite based on env vars
Similar to how we do in webpack.
2022-08-29 11:08:48 +10:00
Michael Shilman
df6da4cc51 Update git head to 7.0.0-alpha.26, update yarn.lock [ci skip] 2022-08-26 19:17:00 +08:00
Michael Shilman
e5c9cfe1d0 v7.0.0-alpha.26 2022-08-26 19:12:35 +08:00