3643 Commits

Author SHA1 Message Date
Norbert de Langen
7cd04f2e37
cleanup 2022-05-31 15:35:31 +02:00
Norbert de Langen
b32491e912
fix and improve test of CLI 2022-05-31 14:46:24 +02:00
Norbert de Langen
894f750c3f
fix tests 2022-05-31 14:11:45 +02:00
Norbert de Langen
250b03250b
cleanup CLI a bit. change CLI so it tries to match to a known framework
add a --local flag for testing the CLI locally without needing verdaccio
2022-05-30 17:55:44 +02:00
Norbert de Langen
0de2bb8f3c
Merge branch 'future/simplified-frameworks' into future/modern-frameworks
# Conflicts:
#	addons/a11y/package.json
#	addons/a11y/src/components/VisionSimulator.test.tsx
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/controls/package.json
#	addons/docs/package.json
#	addons/essentials/package.json
#	addons/interactions/package.json
#	addons/jest/package.json
#	addons/links/package.json
#	addons/measure/package.json
#	addons/outline/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storysource/package.json
#	addons/toolbars/package.json
#	addons/viewport/package.json
#	docs/builders/webpack.md
#	docs/snippets/common/storybook-main-enable-transcludemarkdown.js.mdx
#	docs/snippets/common/storybook-vite-builder-aliasing.js.mdx
#	examples/angular-cli/.storybook/main.js
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/.storybook/main.js
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/.storybook/main.js
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/.storybook/main.ts
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/.storybook/main.ts
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/.storybook/main.js
#	examples/ember-cli/package.json
#	examples/external-docs/package.json
#	examples/html-kitchen-sink/.storybook/main.js
#	examples/html-kitchen-sink/package.json
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/official-storybook/stories/title/AutoTitle.stories.js
#	examples/official-storybook/stories/title/CustomTitle.stories.js
#	examples/preact-kitchen-sink/.storybook/main.js
#	examples/preact-kitchen-sink/package.json
#	examples/react-ts/package.json
#	examples/react-ts/src/title/AutoTitle.stories.js
#	examples/react-ts/src/title/CustomTitle.stories.js
#	examples/server-kitchen-sink/package.json
#	examples/standalone-preview/package.json
#	examples/svelte-kitchen-sink/.storybook/main.js
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-3-cli/package.json
#	examples/vue-cli/.storybook/main.js
#	examples/vue-cli/package.json
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/.storybook/main.js
#	frameworks/angular/package.json
#	frameworks/ember/package.json
#	frameworks/html-webpack5/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/react-vite/package.json
#	frameworks/server-webpack5/package.json
#	frameworks/svelte-webpack5/package.json
#	frameworks/vue-webpack5/package.json
#	frameworks/vue3-webpack5/package.json
#	frameworks/web-components-webpack5/package.json
#	lib/addons/package.json
#	lib/api/package.json
#	lib/api/src/modules/layout.ts
#	lib/builder-webpack4/package.json
#	lib/builder-webpack5/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/src/automigrate/fixes/angular12.test.ts
#	lib/cli/src/detect.ts
#	lib/cli/src/versions.ts
#	lib/client-api/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/codemod/src/transforms/csf-2-to-3.ts
#	lib/components/package.json
#	lib/core-client/package.json
#	lib/core-common/package.json
#	lib/core-events/package.json
#	lib/core-server/package.json
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
#	lib/core-server/src/utils/StoryIndexGenerator.ts
#	lib/csf-tools/package.json
#	lib/docs-tools/package.json
#	lib/instrumenter/package.json
#	lib/manager-webpack4/package.json
#	lib/manager-webpack5/package.json
#	lib/node-logger/package.json
#	lib/postinstall/package.json
#	lib/preview-web/package.json
#	lib/router/package.json
#	lib/source-loader/package.json
#	lib/store/package.json
#	lib/store/src/autoTitle.test.ts
#	lib/telemetry/package.json
#	lib/theming/package.json
#	lib/ui/package.json
#	presets/react-webpack/package.json
#	scripts/build-package.js
#	scripts/bundle-package.ts
#	yarn.lock
2022-05-30 11:27:16 +02:00
Michael Shilman
4fca5155dd Merge branch 'future/webpack-tools' into future/simplified-frameworks 2022-05-29 23:32:04 +08:00
Michael Shilman
70647a1381 Merge branch 'future/base' into future/add-renderers 2022-05-29 18:56:46 +08:00
Norbert de Langen
be492b8841
fix 2022-05-27 11:01:55 +02:00
Norbert de Langen
0dc4f500b2
cleanup webpack detection 2022-05-26 14:52:33 +02:00
Norbert de Langen
77c0f3ab81
Merge commit '13b40e371555122513d307be94da2f0705df34ef' into future/modern-frameworks
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/controls/package.json
#	addons/docs/package.json
#	addons/essentials/package.json
#	addons/interactions/package.json
#	addons/jest/package.json
#	addons/links/package.json
#	addons/measure/package.json
#	addons/outline/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storysource/package.json
#	addons/toolbars/package.json
#	addons/viewport/package.json
#	docs/faq.md
#	examples/angular-cli/.storybook/main.js
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/.storybook/main.js
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/.storybook/main.js
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/.storybook/main.ts
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/.storybook/main.ts
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/.storybook/main.js
#	examples/ember-cli/package.json
#	examples/external-docs/package.json
#	examples/html-kitchen-sink/.storybook/main.js
#	examples/html-kitchen-sink/package.json
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/.storybook/main.js
#	examples/preact-kitchen-sink/package.json
#	examples/react-ts-webpack4/package.json
#	examples/react-ts/package.json
#	examples/server-kitchen-sink/package.json
#	examples/standalone-preview/package.json
#	examples/svelte-kitchen-sink/.storybook/main.js
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-3-cli/.storybook/main.js
#	examples/vue-3-cli/package.json
#	examples/vue-cli/.storybook/main.js
#	examples/vue-cli/package.json
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/.storybook/main.js
#	frameworks/angular/package.json
#	frameworks/ember/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/vue-webpack5/package.json
#	frameworks/vue3-webpack5/package.json
#	lib/addons/package.json
#	lib/api/package.json
#	lib/builder-webpack4/package.json
#	lib/builder-webpack5/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/package.json
#	lib/cli/src/automigrate/fixes/angular12.test.ts
#	lib/cli/src/automigrate/index.ts
#	lib/cli/src/versions.ts
#	lib/client-api/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/components/package.json
#	lib/core-client/package.json
#	lib/core-common/package.json
#	lib/core-events/package.json
#	lib/core-server/package.json
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
#	lib/core-vite/package.json
#	lib/csf-tools/package.json
#	lib/docs-tools/package.json
#	lib/instrumenter/package.json
#	lib/manager-webpack4/package.json
#	lib/manager-webpack5/package.json
#	lib/node-logger/package.json
#	lib/postinstall/package.json
#	lib/preview-web/package.json
#	lib/router/package.json
#	lib/source-loader/package.json
#	lib/store/package.json
#	lib/telemetry/package.json
#	lib/theming/package.json
#	lib/ui/package.json
#	presets/server-webpack/package.json
#	renderers/html/package.json
#	renderers/react/package.json
#	renderers/svelte/package.json
#	renderers/web-components/package.json
#	scripts/build-package.js
#	scripts/bundle-package.ts
#	yarn.lock
2022-05-26 14:46:04 +02:00
Norbert de Langen
dadc33d347
make webpack5 the default builder in cli 2022-05-26 11:57:27 +02:00
Norbert de Langen
7c5b878139
wip 2022-05-25 14:15:10 +02:00
Yann Braga
2b7724aaca CLI: improve texts for automigration 2022-05-23 19:07:10 +02:00
Yann Braga
9afa130efa CLI: fix automigration --yes flag 2022-05-23 18:38:12 +02:00
Norbert de Langen
618d68630c
fixes 2022-05-23 17:37:23 +02:00
Yann Braga
2c48845739 CLI: wait until deps are installed to automigrate 2022-05-23 15:05:13 +02:00
Yann Braga
885d79d0e8 fix typo in tests 2022-05-23 07:55:05 +02:00
Yann Braga
f59e1db766 fix: add vue3 webpack5 automigration 2022-05-20 19:00:09 +02:00
Yann Braga
741df67ae1 chore: fix jest 27 in angular e2e modern inline rendering config 2022-05-19 17:26:51 +02:00
Michael Shilman
9e1f519e6c Update git head to 6.5.0-rc.1, update yarn.lock 2022-05-18 22:55:52 +08:00
Michael Shilman
3f09d4e6b0 v6.5.0-rc.1 2022-05-18 22:51:22 +08:00
Michael Shilman
82b7ac1d36 Update root, peer deps, version.ts/json to 6.5.0-rc.1 [ci skip] 2022-05-18 22:29:08 +08:00
Michael Shilman
0a6e3473a7
Merge pull request #18220 from storybookjs/improve/detection-webpack5
CLI: Improve webpack version and add detection of nextjs
2022-05-18 22:25:52 +08:00
Yann Braga
95a5c806d5 move nextjs detection up 2022-05-18 08:22:14 +02:00
Michael Shilman
6cc69b557b Update git head to 6.5.0-rc.0, update yarn.lock 2022-05-17 17:58:03 +08:00
Michael Shilman
c27fd9eebc v6.5.0-rc.0 2022-05-17 17:54:20 +08:00
Michael Shilman
19ba77ba19 Update root, peer deps, version.ts/json to 6.5.0-rc.0 [ci skip] 2022-05-17 17:22:55 +08:00
Kyle Gach
0289996d85
Merge pull request #18022 from SulthanNK/update-cli-docs
Update: [#17934] CLI docs
2022-05-16 13:10:59 -06:00
Norbert de Langen
02259185c9
extract version detection of nextjs & webpack out, add nextjs detection, add test 2022-05-13 12:52:29 +02:00
Norbert de Langen
e32058ad06
fix another unit test 2022-05-12 11:15:11 +02:00
Fabien
99bcee9b16
review 2022-05-12 11:05:25 +02:00
Norbert de Langen
2d6b9aba50
resolve all remaining webpack4 removal issues 2022-05-12 10:10:41 +02:00
Norbert de Langen
efd1cf219f
Merge commit 'd3ea4267c874b009a58d7b62c505389dd335e01d' into future/modern-frameworks
# Conflicts:
#	examples/cra-react15/.storybook/main.js
#	examples/cra-react15/package.json
#	examples/web-components-kitchen-sink/yarn.lock
#	jest.config.js
#	lib/builder-webpack4/package.json
#	lib/builder-webpack4/src/index.ts
#	lib/builder-webpack4/src/presets/custom-webpack-preset.ts
#	lib/builder-webpack4/src/preview/base-webpack.config.ts
#	lib/builder-webpack5/package.json
#	lib/core-common/package.json
#	lib/core-common/src/types.ts
#	lib/manager-webpack4/package.json
#	lib/manager-webpack4/src/index.ts
#	presets/html-webpack/package.json
#	presets/preact-webpack/package.json
#	presets/react-webpack/package.json
#	presets/svelte-webpack/package.json
#	presets/svelte-webpack/src/framework-preset-svelte-docs.ts
#	presets/vue-webpack/src/framework-preset-vue-docs.ts
#	yarn.lock
2022-05-12 09:54:01 +02:00
Michael Shilman
69e05fb80c Fix version generation 2022-05-12 09:32:03 +08:00
Norbert de Langen
5e24b16ebe
remove more babel config stuff 2022-05-11 17:17:32 +02:00
Norbert de Langen
b753093de5
fix presets.js tests 2022-05-11 16:58:11 +02:00
Fabien
0760fd62f4 chore(docs): path in the examples seems wrong 2022-05-11 11:04:08 +02:00
Michael Shilman
6ecbdd8808 Update git head to 6.5.0-beta.8, update yarn.lock 2022-05-11 02:56:15 +08:00
Michael Shilman
9b9d570d75 v6.5.0-beta.8 2022-05-11 02:51:50 +08:00
Michael Shilman
64074385db Update root, peer deps, version.ts/json to 6.5.0-beta.8 [ci skip] 2022-05-11 02:14:30 +08:00
Norbert de Langen
14de6cbcdb
Merge branch 'future/minimize-webpack-deps' into future/modern-esm
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/controls/package.json
#	addons/docs/package.json
#	addons/essentials/package.json
#	addons/interactions/package.json
#	addons/jest/package.json
#	addons/links/package.json
#	addons/measure/package.json
#	addons/outline/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storysource/package.json
#	addons/toolbars/package.json
#	addons/viewport/package.json
#	app/ember/package.json
#	app/html/package.json
#	app/preact/package.json
#	app/react/package.json
#	app/server/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	app/vue3/package.json
#	app/web-components/package.json
#	examples/angular-cli/.storybook/main.js
#	examples/cra-kitchen-sink/.storybook/main.js
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/.storybook/main.js
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/.storybook/main.ts
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/.storybook/main.ts
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/.storybook/main.js
#	examples/ember-cli/package.json
#	examples/external-docs/package.json
#	examples/html-kitchen-sink/.storybook/main.js
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/.storybook/main.js
#	examples/react-ts/package.json
#	examples/svelte-kitchen-sink/.storybook/main.js
#	examples/vue-3-cli/.storybook/main.js
#	examples/vue-3-cli/package.json
#	examples/vue-cli/.storybook/main.js
#	examples/vue-cli/package.json
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/web-components-kitchen-sink/.storybook/main.js
#	lib/addons/package.json
#	lib/api/package.json
#	lib/builder-webpack4/package.json
#	lib/builder-webpack5/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/src/versions.ts
#	lib/client-api/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/components/package.json
#	lib/core-client/package.json
#	lib/core-common/package.json
#	lib/core-events/package.json
#	lib/core-server/package.json
#	lib/core-server/src/build-static.ts
#	lib/core-server/src/core-presets.test.ts
#	lib/core-server/src/utils/get-preview-builder.ts
#	lib/csf-tools/package.json
#	lib/docs-tools/package.json
#	lib/instrumenter/package.json
#	lib/manager-webpack4/package.json
#	lib/manager-webpack5/package.json
#	lib/node-logger/package.json
#	lib/postinstall/package.json
#	lib/preview-web/package.json
#	lib/router/package.json
#	lib/source-loader/package.json
#	lib/store/package.json
#	lib/theming/package.json
#	lib/ui/package.json
#	presets/react-webpack/package.json
#	scripts/build-manager-config/main.js
#	scripts/build-manager.js
#	yarn.lock
2022-05-09 20:08:01 +02:00
Michael Shilman
337c11b6d6 Update git head to 6.5.0-beta.7, update yarn.lock 2022-05-09 10:54:52 +08:00
Michael Shilman
14bb6d241c v6.5.0-beta.7 2022-05-09 10:51:01 +08:00
Michael Shilman
35d6cebebd Update root, peer deps, version.ts/json to 6.5.0-beta.7 [ci skip] 2022-05-09 10:16:17 +08:00
Michael Shilman
f4909f8ca3 Update git head to 6.5.0-beta.6, update yarn.lock 2022-05-06 01:32:30 +08:00
Michael Shilman
e86538e2ac v6.5.0-beta.6 2022-05-06 01:27:06 +08:00
Michael Shilman
ee53ccbf53 Update root, peer deps, version.ts/json to 6.5.0-beta.6 [ci skip] 2022-05-06 01:03:31 +08:00
Michael Shilman
19c374955e
Merge pull request #18149 from storybookjs/cli-jest-peer-dep
Remove jest from cli peerDependencies
2022-05-06 00:53:19 +08:00
Ian VanSchooten
7c82faa373 Remove jest from cli peerDependencies 2022-05-05 09:38:00 -04:00
Michael Shilman
ff14ce59eb CLI: Update Introduction.stories.mdx template to be MDX2-friendly 2022-05-05 08:47:15 +08:00