680 Commits

Author SHA1 Message Date
Michael Shilman
5da5b0fabd v7.0.0-alpha.33 2022-09-13 19:04:25 +08:00
Michael Shilman
6031710564 Update root, peer deps, version.ts/json to 7.0.0-alpha.33 [ci skip] 2022-09-13 18:54:21 +08:00
Michael Shilman
9c49a7cd8b v7.0.0-alpha.32 2022-09-13 18:49:06 +08:00
Michael Shilman
547192054d Update root, peer deps, version.ts/json to 7.0.0-alpha.32 [ci skip] 2022-09-13 18:44:44 +08:00
Michael Shilman
3dbf5f6900 CLI/Vue3: Upgrade vue-loader and install @vue/compiler-sfc 2022-09-13 15:08:43 +08:00
Michael Shilman
d2a21a8cb2 Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-09-13 11:45:00 +08:00
Michael Shilman
19f25e0d02 Merge branch 'next' into shilman/vue-cli-repro-templates 2022-09-13 11:32:34 +08:00
Ian VanSchooten
b83dae3869 Merge remote-tracking branch 'origin/next' into tsup/cli 2022-09-12 13:52:38 -04:00
Michael Shilman
57dbd756d5 Fix typo [skip ci] 2022-09-12 12:15:19 +08:00
Michael Shilman
8833fb42ab Repro templates: web-components-vite => lit-vite 2022-09-12 11:25:11 +08:00
Michael Shilman
7e84537e77 Escape vue-cli vue2 preset properly 2022-09-12 01:51:24 +08:00
Michael Shilman
5f220b66b7 Vue-cli: Don't nuke cwd on init 2022-09-12 00:40:20 +08:00
Michael Shilman
e7577286f4 Vue: Add repro templates for vue-cli 2022-09-11 16:42:47 +08:00
Michael Shilman
dc3a5c22d5 Vite: Add web-components/lit support 2022-09-11 14:31:48 +08:00
Ian VanSchooten
bca3f27320 Move csf templates out of /src 2022-09-08 07:36:15 -04:00
Norbert de Langen
1b86bf70d7
Merge branch 'next' into norbert/sb-574-addon-a11y
# Conflicts:
#	code/renderers/react/template/components/index.js
#	code/renderers/svelte/template/components/index.js
#	code/renderers/vue3/template/components/index.js
2022-09-08 12:15:44 +02:00
Ian VanSchooten
8e11300914 Fix cli command 2022-09-07 21:18:15 -04:00
Ian VanSchooten
37cd491157 Fix cli command in repro generators 2022-09-07 21:08:24 -04:00
Ian VanSchooten
c8a0e62ff7 Remove unneeded core-js dependency 2022-09-07 21:08:24 -04:00
Ian VanSchooten
27fa2c7ce3 Oops forgot to check in the index change 2022-09-07 21:08:24 -04:00
Ian VanSchooten
ca315e985a Bundle cli with tsup 2022-09-07 21:08:24 -04:00
Michael Shilman
31d0db99dd Merge branch 'next' into pr/19019 2022-09-07 23:08:49 +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
Norbert de Langen
9a0ca4fc32
do not remove the old framework, because that's now the renderer! 2022-09-07 15:10:07 +02: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
Michael Shilman
1b13feedcd Update root, peer deps, version.ts/json to 7.0.0-alpha.31 [ci skip] 2022-09-07 11:11:11 +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
Michael Shilman
565259c636 Update root, peer deps, version.ts/json to 7.0.0-alpha.30 [ci skip] 2022-09-06 00:40:47 +08:00
Michael Shilman
4c4459d446
Merge pull request #19097 from storybookjs/fix/cleanup-comment
CLI: remove outdated comment in Angular starter
2022-09-06 00:38:08 +08:00
Michael Shilman
5a6aee7e44
Merge pull request #19098 from storybookjs/remove-core-js
Deps: Remove core-js from most packages
2022-09-06 00:24:04 +08:00
Ian VanSchooten
eb341b9f6f Include rendererAssets in npm bundle 2022-09-05 10:38:35 -04:00
Ian VanSchooten
42331bfe9a More unused deps 2022-09-04 00:31:35 -04:00
Ian VanSchooten
4a662b3866 Restore core-js to some packages
They use features which our browserslist thinks needs to be polyfilled.
I think these can be removed again once (if?) we move them from babel to esbuild.
2022-09-04 00:31:26 -04:00
Ian VanSchooten
742bfb05ae Experiment: remove core-js 2022-09-02 23:08:48 -04:00
Yann Braga
f2c7ee50fc remove outdated comment 2022-09-02 17:42:41 -03: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
1e71acd1d1
Merge branch 'next' into chore/update-nx-latest 2022-09-02 18:02:15 +02:00
Michael Shilman
296bb470e3 Update root, peer deps, version.ts/json to 7.0.0-alpha.29 [ci skip] 2022-09-03 00:00:43 +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
ee43d69dcf
Merge pull request #19088 from storybookjs/vite/no-install-babel
Vite: Don't add babel dependencies during init
2022-09-02 23:29:31 +08: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
Ian VanSchooten
f968c85fc2 Don't add babel dependencies for vite projects 2022-09-01 23:53:53 -04: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