408 Commits

Author SHA1 Message Date
Jeppe Reinhold
3020e77777
Merge pull request #19522 from storybookjs/jeppe/sb-544-sveltekit-follow-up 2022-10-19 23:17:02 +02:00
Michael Shilman
b8072c9ea6 Update git head to 7.0.0-alpha.40, update yarn.lock [ci skip] 2022-10-20 02:28:03 +08:00
Michael Shilman
8f6d8629f1 v7.0.0-alpha.40 2022-10-20 02:23:32 +08:00
Michael Shilman
b01bdb97f8 Update root, peer deps, version.ts/json to 7.0.0-alpha.40 [ci skip] 2022-10-20 02:19:47 +08:00
Yann Braga
1b81218b15 fix lint issues 2022-10-19 19:54:56 +02:00
Yann Braga
68d08601d8 fix vue2 repro framework 2022-10-19 19:49:13 +02:00
Yann Braga
b4622fd74c set correct expected framework in repro-templates for cra 2022-10-19 19:20:03 +02:00
Jeppe Reinhold
c8fb507e82 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/sb-544-sveltekit-follow-up 2022-10-19 14:32:20 +02:00
Michael Shilman
6a54f5aac5 Don't force MDX1 on init 2022-10-19 14:31:40 +08:00
Yann Braga
c38d8cfd49 Merge branch 'next' into nextjs-framework-support 2022-10-18 19:02:55 +02:00
Michael Shilman
4e947fb698 Update git head to 7.0.0-alpha.39, update yarn.lock [ci skip] 2022-10-19 00:15:59 +08:00
Michael Shilman
47386bd49d v7.0.0-alpha.39 2022-10-19 00:11:59 +08:00
Michael Shilman
d45ffba17c Update root, peer deps, version.ts/json to 7.0.0-alpha.39 [ci skip] 2022-10-19 00:06:39 +08:00
Michael Shilman
27f6985d10
Merge pull request #19425 from storybookjs/pnpm/install
CLI: Add pnpm support
2022-10-18 22:24:30 +08:00
Jeppe Reinhold
499d6abfac enable sveltekit repros 2022-10-18 14:42:22 +02:00
Yann Braga
8ec2e8384e Merge branch 'next' into nextjs-framework-support 2022-10-18 10:17:10 +02:00
Yann Braga
72b3180ec5
Merge pull request #19511 from storybookjs/feat/eslint-migration-json-support
CLI: support .json in eslint-plugin migration
2022-10-18 09:49:28 +02:00
Yann Braga
4f10f8a9e4
Update code/lib/cli/src/automigrate/fixes/eslint-plugin.ts
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2022-10-18 07:56:19 +02:00
Yann Braga
ed4be1b825 add early return on eslint migration 2022-10-18 07:49:43 +02:00
Yann Braga
d5b260d626 downgrade detect-indent 2022-10-17 20:29:06 +02:00
Yann Braga
18e36b10fa remove incorrect thrown error in eslint automigration 2022-10-17 19:55:44 +02:00
Yann Braga
12f4477168 detect file indentation in eslint plugin automigration 2022-10-17 19:54:29 +02:00
Ian VanSchooten
450b2a34a0 Fix typescript error 2022-10-17 10:21:33 -04:00
Ian VanSchooten
abb264aa3f Deprecate --use-npm, add --package-manager 2022-10-17 10:08:05 -04:00
Norbert de Langen
0da30e7050
Merge branch 'next' into deprecate/add-decorator-add-api 2022-10-17 14:48:46 +02:00
Yann Braga
9a1d672fad Merge branch 'next' into nextjs-framework-support 2022-10-17 14:47:25 +02:00
Yann Braga
a08dd7203d switch order of repro templates 2022-10-17 14:43:54 +02:00
Yann Braga
e313b6ae0a CLI: support .json in eslint plugin migration 2022-10-17 14:19:04 +02:00
Norbert de Langen
181ad75a23
add automigration warning users, add test for automigration 2022-10-17 14:18:21 +02:00
Yann Braga
acc5289dc4 fix lint issues in nextjs framework 2022-10-17 11:26:42 +02:00
Yann Braga
e0c6e5107d temporarily fix tests 2022-10-17 09:46:13 +02:00
Yann Braga
5bda6db20d fix helpers test 2022-10-17 09:29:57 +02:00
Ian VanSchooten
db23556156 Merge remote-tracking branch 'origin/next' into pnpm/install 2022-10-16 20:13:16 -04:00
Tom Coleman
3d8562472c Merge remote-tracking branch 'origin/next' into tom/sb-706-migrate-stories-and-delete-preact 2022-10-17 10:27:03 +11:00
Kai Röder
e36602bf89 refactor(cli): rename "latest" to "v13" app name in v13 repro template 2022-10-15 12:49:05 +02:00
Michael Shilman
1b45114031 Update git head to 7.0.0-alpha.38, update yarn.lock [ci skip] 2022-10-15 10:54:35 +08:00
Michael Shilman
438114fcf6 v7.0.0-alpha.38 2022-10-15 10:50:44 +08:00
Michael Shilman
835adb4491 Update root, peer deps, version.ts/json to 7.0.0-alpha.38 [ci skip] 2022-10-15 10:47:21 +08:00
Tom Coleman
cd3e6506af Merge remote-tracking branch 'origin/next' into tom/sb-706-migrate-stories-and-delete-preact 2022-10-14 16:24:10 +11:00
Tom Coleman
ca066a8504 Fix vue cli in shell 2022-10-14 15:02:49 +11:00
Tom Coleman
e275c93973 Argh 2022-10-14 11:40:37 +11:00
Jeppe Reinhold
da547d4470 ensure no unused 2022-10-13 21:11:36 +02:00
Jeppe Reinhold
7ecab8da79 dont remove sveltekit plugins, disable sveltekit repro 2022-10-13 20:33:11 +02:00
Jeppe Reinhold
5deb2967a7 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/sb-544-sveltekit 2022-10-13 20:30:04 +02:00
Kyle Gach
db3198301c Enable nextjs detection in CLI 2022-10-13 11:33:11 -06:00
Kyle Gach
68c763f6be Add nextjs repros to ci 2022-10-13 11:29:50 -06:00
Kyle Gach
562049ac3a Feature flag CLI framework detection
- Apply STORYBOOK_REPRO_GENERATOR to env when running `sb init` in repro generator
2022-10-13 11:28:08 -06:00
Kyle Gach
738dfb1749 Add nextjs framework template files 2022-10-13 11:28:08 -06:00
Kyle Gach
ba0b1ea8dc Update baseGenerator to use framework's template
- Remove `frameworkToRenderer`
    - This information is already available from `baseGenerator`'s arguments
- Add `hasFrameworkTemplates`
    - Ensures frameworks with templates use those instead of templates for associated renderer
    - Follows pattern of `hasInteractiveStories`
- Update `copyComponents` to copy common template files before (instead
  of after) framework/render template files
    - Allows framework/renderer template files to contain, e.g. `Introduction.stories.mdx` and have it not be overwritten
2022-10-13 11:28:08 -06:00
Yann Braga
53246d3cf6 add framework option to baseGenerator 2022-10-13 11:28:08 -06:00