76 Commits

Author SHA1 Message Date
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
Ian VanSchooten
b2f61d7826 Remove hmr accept calls from story files 2022-08-30 23:24:52 -04:00
Ian VanSchooten
9647bf2d23 Vite: use vite.config.js as config base 2022-08-30 23:24:52 -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
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
Michael Shilman
00ccb9ac4b Merge branch 'next' into svelte-vite-framework 2022-08-26 09:24:50 +08:00