84 Commits

Author SHA1 Message Date
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
Ian VanSchooten
0c89dd98e3 Merge remote-tracking branch 'origin/next' into vite/pnpm-support 2022-09-26 09:36:09 -04:00
Ian VanSchooten
d93bbe758d Support runStep in Vite builder SSv6 2022-09-22 17:52:00 -04:00
Ian VanSchooten
7da06e40f5 We always have addArgs and addArgTypes now
Previously, we didn't have any guarantee which version of storybook the builder was being used with.
Now that it's in the monorepo, it'll be versioned together with the rest of storybook.
2022-09-22 17:51:09 -04:00
Ian VanSchooten
d632146a85 Merge remote-tracking branch 'origin/next' into vite/pnpm-support
# Conflicts:
#	code/frameworks/react-vite/package.json
#	code/frameworks/svelte-vite/package.json
#	code/frameworks/vue3-vite/package.json
#	code/lib/builder-vite/package.json
#	code/yarn.lock
2022-09-19 16:35:51 -04:00
Ian VanSchooten
e5054c27e9 Export storybook utilities for builder from frameworks 2022-09-19 16:11:25 -04:00
Norbert de Langen
fec2c8a0eb
make check script use tsc from scripts 2022-09-14 12:26:12 +03:00
Tom Coleman
ea6715a89d Pass follow to glob() to resolve symlink issue 2022-09-14 11:18:11 +10:00
Norbert de Langen
191103a7e6
Merge branch 'next' into pocka/fix/18829-outdated-snippet-copied
# Conflicts:
#	code/lib/components/src/syntaxhighlighter/syntaxhighlighter.tsx
2022-09-13 17:15:12 +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
Tom Coleman
3c7b5a787b Stop using previewEntries.
Switch `config` and `previewAnnotations`, and warn on the former.
2022-09-12 17:17:50 +10:00
Tom Coleman
1335697e9b No longer handle previewEntries in the vite builder. 2022-09-09 15:58:59 +10:00
Michael Shilman
8701748ddf Merge branch 'next' into tom/sb-586-core-features-loaders-parameters 2022-09-08 07:07:18 +08:00
Tom Coleman
0460b94c9f Ensure we set DOCS_OPTIONS in the vite builder 2022-09-07 21:36:17 +10: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
9454d56200 Merge branch 'next' into chore/update-nx-latest 2022-09-07 07:47:22 +08:00
Ian VanSchooten
0829166865 Merge remote-tracking branch 'origin/next' into vite/plugin-types
# Conflicts:
#	code/yarn.lock
2022-09-06 14:00:04 -04:00
Tom Coleman
1cb2f9dfd8 Absolutize both config and previewEntries
cc @IanVS
2022-09-06 15:12:06 +10:00
Ian VanSchooten
e1c42aeedf Consolidate versions of vite in monorepo 2022-09-05 22:48:28 -04: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
f79224b621 Update to vite 3.1.0 stable 2022-09-05 12:13:19 -04:00
Sergey Kozlov
78484c3d3a remove deprecated stable dependency 2022-09-04 22:11:50 +03:00
Ian VanSchooten
e740513260 Remove unused dependencies 2022-09-04 00:31:35 -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
bc41d6666c Merge branch 'next' into vite/plugin-cleanup 2022-09-02 18:41:42 +08:00
Michael Shilman
e1646400e4
Revert "chore: rename prepare script to prep" 2022-09-02 11:26:42 +08:00
Ian VanSchooten
9a5adca82e Fix paths to input files 2022-09-01 21:52:51 -04:00
Ian VanSchooten
b70251e25a Use Vite 3.1.0-beta.1 in dev
We need this to support the new object hooks
2022-09-01 16:18:50 -04:00
Ian VanSchooten
351b4f1ad6 Handle rollup hook objects 2022-09-01 16:12:45 -04:00
Ian VanSchooten
119a2d45f1 Use consistent vite plugin names
This will make them easier to understand in debug logs, for instance.
2022-09-01 16:02:57 -04:00
Ian VanSchooten
e39716fffa Move all plugins into /plugins 2022-09-01 15:59:10 -04:00
Ian VanSchooten
0b124c55a7 Remove unneeded no-fouc plugin
The issue was fixed in vite prior to 3.0, which is the lowest version we support now.
2022-09-01 15:51:57 -04: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
c90f9b4f6b Merge remote-tracking branch 'origin/next' into vite-autoconfig
# Conflicts:
#	code/lib/builder-vite/src/vite-config.ts
2022-08-31 23:05:28 -04:00
Ian VanSchooten
0aca22eb32 Extract getFrameworkName to core-common 2022-08-31 08:24:45 -04:00
Ian VanSchooten
9e017a48cd Remove unused types 2022-08-31 08:24:45 -04:00
Ian VanSchooten
872b1dfc05 Fix framework option checks 2022-08-31 08:24:45 -04:00
Ian VanSchooten
e225946377 Add excludes for non-react framework react plugin
We just need it for processing mdx, it doesn't need to hmr anything.
2022-08-30 23:24:52 -04:00
Ian VanSchooten
139bfdc901 Remove unused variable 2022-08-30 23:24:52 -04:00