Michael Shilman
bf4e5757f8
Update root, peer deps, version.ts/json to 6.2.0-beta.3
2021-02-25 11:22:47 +08:00
Clément DUNGLER
0d48366678
CLI: Add builder option
2021-02-24 21:14:18 +01:00
Michael Shilman
5a913e4c69
Merge pull request #14018 from phated/phated/vue2-init-install-vue-loader
...
CLI/Vue 2: install vue-loader upon init of vue 2 storybook
2021-02-24 23:28:01 +08:00
Michael Shilman
07ab10c225
Update root, peer deps, version.ts/json to 6.2.0-beta.2
2021-02-24 13:01:01 +08:00
Blaine Bublitz
1ab06f2ca2
feat: install vue-loader upon init of vue 2 storybook
2021-02-22 16:34:52 -07:00
Michael Shilman
b343a2391a
Core: Refactor ProgressPlugin handling
2021-02-23 06:14:05 +08:00
Michael Shilman
acd8fcca64
Update root, peer deps, version.ts/json to 6.2.0-beta.0
2021-02-22 23:39:53 +08:00
Michael Shilman
9974980c1a
Update root, peer deps, version.ts/json to 6.2.0-alpha.35
2021-02-22 22:37:13 +08:00
Michael Shilman
68e5031ef8
Core: Fix core/builder dependencies
2021-02-22 14:52:14 +08:00
Michael Shilman
94f6f78eee
Update root, peer deps, version.ts/json to 6.2.0-alpha.33
2021-02-22 09:38:19 +08:00
Michael Shilman
ff5d1ff0bc
Update root, peer deps, version.ts/json to 6.2.0-alpha.32
2021-02-21 16:49:46 +08:00
Michael Shilman
8b875481cc
Update lib/cli/src/frameworks/vue3/Page.stories.js
2021-02-21 16:14:50 +08:00
Michael Shilman
8460db331f
Update lib/cli/src/frameworks/vue3/Page.stories.js
2021-02-21 16:14:07 +08:00
Blaine Bublitz
64a8885681
feat!(vue3): remove args-as-props & replace with returning args from setup
2021-02-20 17:21:33 -07:00
Michael Shilman
b1210d92f3
Update root, peer deps, version.ts/json to 6.2.0-alpha.31
2021-02-20 21:42:47 +08:00
Norbert de Langen
a337c757b2
Merge branch 'next' into tech/core-builder
...
# Conflicts:
# addons/essentials/package.json
# addons/graphql/package.json
# addons/storyshots/storyshots-core/package.json
# addons/storyshots/storyshots-puppeteer/package.json
# app/angular/package.json
# app/aurelia/package.json
# app/ember/package.json
# app/html/package.json
# app/marionette/package.json
# app/marko/package.json
# app/mithril/package.json
# app/preact/package.json
# app/rax/package.json
# app/react/package.json
# app/riot/package.json
# app/server/package.json
# app/svelte/package.json
# app/vue/package.json
# app/vue3/package.json
# app/web-components/package.json
# examples/cra-kitchen-sink/package.json
# examples/cra-react15/package.json
# examples/cra-ts-essentials/package.json
# examples/cra-ts-kitchen-sink/package.json
# examples/mithril-kitchen-sink/package.json
# examples/official-storybook/package.json
# lib/cli/src/versions.json
# lib/core-server/src/__snapshots__/manager-dev
# lib/core-server/src/__snapshots__/manager-prod
# lib/core-server/src/__snapshots__/preview-dev
# lib/core-server/src/__snapshots__/preview-prod
# lib/core/package.json
# lib/core/src/server/__snapshots__/cra-ts-essentials_manager-dev
# lib/core/src/server/__snapshots__/manager-dev
# lib/core/src/server/__snapshots__/manager-prod
# lib/core/src/server/__snapshots__/preview-dev
# lib/core/src/server/__snapshots__/preview-prod
# lib/core/src/server/__snapshots__/vue-3-cli_manager-dev
# lib/core/src/server/__snapshots__/vue-3-cli_preview-dev
# lib/core/src/server/__snapshots__/vue-3-cli_preview-prod
# lib/core/src/server/core-presets.test.ts
# lib/ui/package.json
2021-02-18 16:05:08 +01:00
Michael Shilman
7b7aec9f43
Update root, peer deps, version.ts/json to 6.2.0-alpha.29
2021-02-18 06:13:13 +08:00
Norbert de Langen
4802dad406
Merge branch 'next' into tech/core-builder
...
# Conflicts:
# addons/docs/package.json
# addons/essentials/package.json
# addons/graphql/package.json
# addons/knobs/package.json
# addons/storyshots/storyshots-core/package.json
# addons/storyshots/storyshots-puppeteer/package.json
# app/angular/package.json
# app/aurelia/package.json
# app/ember/package.json
# app/html/package.json
# app/marionette/package.json
# app/marko/package.json
# app/mithril/package.json
# app/preact/package.json
# app/rax/package.json
# app/react/package.json
# app/riot/package.json
# app/server/package.json
# app/svelte/package.json
# app/svelte/src/server/framework-preset-svelte.ts
# app/vue/package.json
# app/vue3/package.json
# app/web-components/package.json
# examples/cra-kitchen-sink/package.json
# examples/cra-react15/package.json
# examples/cra-ts-essentials/package.json
# examples/cra-ts-kitchen-sink/package.json
# examples/mithril-kitchen-sink/package.json
# examples/react-ts/package.json
# examples/svelte-kitchen-sink/package.json
# examples/vue-3-cli/package.json
# lib/cli/src/versions.json
# lib/core/package.json
# lib/ui/package.json
# yarn.lock
2021-02-15 10:23:52 +01:00
Michael Shilman
f6c4200659
Update root, peer deps, version.ts/json to 6.2.0-alpha.28
2021-02-15 14:32:35 +08:00
Michael Shilman
37a6d3afdc
Merge pull request #13876 from storybookjs/tech/improve-cli
...
CLI: Don't try to add packages that are already installed
2021-02-15 08:39:52 +08:00
Michael Shilman
7bad43b0ac
Merge pull request #13717 from storybookjs/fix/cli-eslint-error
...
CLI: Add safe check for eslint overrides
2021-02-15 08:26:27 +08:00
Gaëtan Maisse
b0354930db
fix(cli): do not reinstall packages that were already there as deps
...
It mimic the behavior of Yarn 1.x when trying to install a package as dev dep but it is already a regular dep.
Example:
> warning "react-scripts" is already in "dependencies". Please remove existing entry first before adding it to "devDependencies".
> success Saved 0 new dependencies.
2021-02-13 18:16:08 +01:00
Gaëtan Maisse
013a42a5a6
fix: bump @storybook/preset-create-react-app
and add it packages missing it
...
Latest version of `@storybook/preset-create-react-app` fix some issue when working with workspaces
2021-02-13 18:06:51 +01:00
Michael Shilman
a83269ab10
Canonical discord links
2021-02-14 00:41:47 +08:00
Norbert de Langen
4e0c0906e7
fix lint
2021-02-12 09:13:40 +01:00
Norbert de Langen
3308d6441f
Merge branch 'next' into tech/core-builder
...
# Conflicts:
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/controls/package.json
# addons/cssresources/package.json
# addons/design-assets/package.json
# addons/docs/package.json
# addons/essentials/package.json
# addons/events/package.json
# addons/google-analytics/package.json
# addons/graphql/package.json
# addons/jest/package.json
# addons/knobs/package.json
# addons/links/package.json
# addons/queryparams/package.json
# addons/storyshots/storyshots-core/package.json
# addons/storyshots/storyshots-puppeteer/package.json
# addons/storysource/package.json
# addons/toolbars/package.json
# addons/viewport/package.json
# app/angular/package.json
# app/aurelia/package.json
# app/ember/package.json
# app/html/package.json
# app/marionette/package.json
# app/marko/package.json
# app/mithril/package.json
# app/preact/package.json
# app/rax/package.json
# app/react/package.json
# app/riot/package.json
# app/server/package.json
# app/svelte/package.json
# app/vue/package.json
# app/vue3/package.json
# app/web-components/package.json
# dev-kits/addon-decorator/package.json
# dev-kits/addon-parameter/package.json
# dev-kits/addon-preview-wrapper/package.json
# dev-kits/addon-roundtrip/package.json
# examples/cra-kitchen-sink/package.json
# examples/cra-react15/package.json
# examples/cra-ts-essentials/package.json
# examples/cra-ts-kitchen-sink/package.json
# examples/mithril-kitchen-sink/package.json
# examples/react-ts/package.json
# examples/vue-3-cli/package.json
# lib/addons/package.json
# lib/api/package.json
# lib/channel-postmessage/package.json
# lib/channel-websocket/package.json
# lib/channels/package.json
# lib/cli-sb/package.json
# lib/cli-storybook/package.json
# lib/cli/package.json
# lib/cli/src/versions.json
# lib/client-api/package.json
# lib/client-logger/package.json
# lib/codemod/package.json
# lib/components/package.json
# lib/core-events/package.json
# lib/core/package.json
# lib/node-logger/package.json
# lib/postinstall/package.json
# lib/router/package.json
# lib/source-loader/package.json
# lib/theming/package.json
# lib/ui/package.json
2021-02-11 20:24:48 +01:00
Gaëtan Maisse
4e90dffc5a
chore: rework test
NPM script (--core
option has been removed)
...
Previously the unit tests were run with a custom script `scripts/test.js`.
This script was a kind of wrapper around Jest, handling just a few options (skipping all the unknown ones) and spawning Jest programmatically.
To simplify this process:
- I extracted the only non-classic case in its own NPM script: `yarn test-puppeteer`
- Just call Jest directly when running `yarn test` so all the options are forwarded properly to Jest.
⚠️ `yarn test --core` doesn't work anymore as `--core` isn't a Jest option, it is now simply `yarn test`.
📝 To run the tests of a single workspace just use `--projects`, for instance: `yarn test --projects examples/angular-cli`
2021-02-11 08:33:59 +01:00
Michael Shilman
7df7ddc7ee
Update root, peer deps, version.ts/json to 6.2.0-alpha.25
2021-02-11 08:08:11 +08:00
Norbert de Langen
64620df276
updates, & fix webpack 4 & 5 typings mismatching
2021-02-08 18:33:36 +01:00
Norbert de Langen
3b45d2c4f9
Merge branch 'next' into tech/core-builder
...
# Conflicts:
# CHANGELOG.md
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/controls/package.json
# addons/cssresources/package.json
# addons/design-assets/package.json
# addons/docs/package.json
# addons/docs/src/frameworks/common/preset.ts
# addons/essentials/package.json
# addons/events/package.json
# addons/google-analytics/package.json
# addons/graphql/package.json
# addons/jest/package.json
# addons/jest/tsconfig.json
# addons/knobs/package.json
# addons/links/package.json
# addons/queryparams/package.json
# addons/storyshots/storyshots-core/package.json
# addons/storyshots/storyshots-puppeteer/package.json
# addons/storysource/package.json
# addons/toolbars/package.json
# addons/viewport/package.json
# app/angular/package.json
# app/angular/src/client/preview/index.ts
# app/angular/src/server/options.ts
# app/aurelia/package.json
# app/aurelia/src/server/options.ts
# app/ember/package.json
# app/ember/src/server/options.ts
# app/html/package.json
# app/html/src/server/options.ts
# app/marionette/package.json
# app/marionette/src/client/index.js
# app/marionette/src/client/index.ts
# app/marionette/src/client/preview/index.ts
# app/marionette/src/server/framework-preset-marionette.ts
# app/marionette/src/server/options.ts
# app/marionette/src/typings.d.ts
# app/marionette/tsconfig.json
# app/marko/package.json
# app/marko/src/client/index.js
# app/marko/src/client/index.ts
# app/marko/src/client/preview/index.ts
# app/marko/src/server/framework-preset-marko.ts
# app/marko/src/server/options.ts
# app/marko/src/typings.d.ts
# app/marko/tsconfig.json
# app/mithril/package.json
# app/mithril/src/server/options.ts
# app/preact/package.json
# app/preact/src/server/options.ts
# app/rax/package.json
# app/rax/src/client/preview/index.ts
# app/rax/src/server/options.ts
# app/rax/src/typings.d.ts
# app/react/package.json
# app/react/src/server/options.ts
# app/riot/package.json
# app/riot/src/client/preview/index.ts
# app/riot/src/server/framework-preset-riot.ts
# app/riot/src/server/options.ts
# app/riot/src/typings.d.ts
# app/riot/tsconfig.json
# app/server/package.json
# app/server/src/client/preview/types.ts
# app/server/src/server/options.ts
# app/svelte/package.json
# app/svelte/src/server/options.ts
# app/vue/package.json
# app/vue/src/server/options.ts
# app/vue3/package.json
# app/vue3/src/client/preview/types.ts
# app/vue3/src/server/framework-preset-vue3.ts
# app/vue3/src/server/options.ts
# app/vue3/src/typings.d.ts
# app/vue3/tsconfig.json
# app/web-components/package.json
# app/web-components/src/client/preview/types.ts
# app/web-components/src/server/options.ts
# dev-kits/addon-decorator/package.json
# dev-kits/addon-parameter/package.json
# dev-kits/addon-preview-wrapper/package.json
# dev-kits/addon-roundtrip/package.json
# docs/versions/next.json
# examples/angular-cli/package.json
# examples/aurelia-kitchen-sink/package.json
# examples/cra-kitchen-sink/package.json
# examples/cra-react15/package.json
# examples/cra-ts-essentials/package.json
# examples/cra-ts-kitchen-sink/package.json
# examples/dev-kits/package.json
# examples/ember-cli/package.json
# examples/html-kitchen-sink/package.json
# examples/marko-cli/package.json
# examples/mithril-kitchen-sink/package.json
# examples/official-storybook/package.json
# examples/preact-kitchen-sink/package.json
# examples/rax-kitchen-sink/package.json
# examples/react-ts/package.json
# examples/riot-kitchen-sink/package.json
# examples/server-kitchen-sink/package.json
# examples/standalone-preview/package.json
# examples/svelte-kitchen-sink/package.json
# examples/vue-3-cli/package.json
# examples/vue-3-cli/src/stories/Button.vue
# examples/vue-3-cli/src/stories/Header.stories.js
# examples/vue-3-cli/src/stories/Header.vue
# examples/vue-3-cli/src/stories/Page.stories.js
# examples/vue-3-cli/src/stories/Page.vue
# examples/vue-3-cli/tsconfig.json
# examples/vue-cli/package.json
# examples/vue-kitchen-sink/package.json
# examples/web-components-kitchen-sink/package.json
# lerna.json
# lib/addons/package.json
# lib/api/package.json
# lib/api/src/version.ts
# lib/builder-webpack4/src/preview/iframe-webpack.config.ts
# lib/channel-postmessage/package.json
# lib/channel-websocket/package.json
# lib/channels/package.json
# lib/cli-sb/package.json
# lib/cli-storybook/package.json
# lib/cli/package.json
# lib/cli/src/versions.json
# lib/client-api/package.json
# lib/client-logger/package.json
# lib/codemod/package.json
# lib/components/package.json
# lib/core-events/package.json
# lib/core-server/src/cli/dev.ts
# lib/core-server/src/manager/manager-webpack.config.ts
# lib/core/client.js
# lib/core/package.json
# lib/core/server.js
# lib/core/src/server/build-dev.ts
# lib/core/src/server/build-static.ts
# lib/core/src/server/common/es6Transpiler.ts
# lib/core/src/server/dev-server.ts
# lib/core/src/server/preview/base-webpack.config.ts
# lib/node-logger/package.json
# lib/postinstall/package.json
# lib/router/package.json
# lib/source-loader/package.json
# lib/theming/package.json
# lib/ui/package.json
# lib/ui/tsconfig.json
# package.json
# scripts/build-manager.js
# yarn.lock
2021-02-08 15:43:50 +01:00
Michael Shilman
d56c7aafc4
Update root, peer deps, version.ts/json to 6.2.0-alpha.24
2021-02-06 09:43:24 +08:00
Norbert de Langen
a2be311c7c
refactor most common code between (I'm sorry michael)
2021-02-05 16:31:38 +01:00
Michael Shilman
a34af790da
Update root, peer deps, version.ts/json to 6.2.0-alpha.23
2021-02-05 14:43:52 +08:00
Michael Shilman
80fa971299
Update root, peer deps, version.ts/json to 6.2.0-alpha.22
2021-02-05 00:20:30 +08:00
Norbert de Langen
313d97bd47
progress
2021-02-04 14:57:35 +01:00
Norbert de Langen
c8cf5a567b
rename
2021-02-04 13:31:31 +01:00
Michael Shilman
33b5ec2dff
WIP
2021-02-04 13:08:49 +01:00
Michael Shilman
193b74a818
Update root, peer deps, version.ts/json to 6.2.0-alpha.21
2021-02-04 16:05:51 +08:00
Michael Shilman
264327b2a4
Add @storybook/server-webpack5
2021-02-04 00:06:53 +08:00
Michael Shilman
c5c5a983ab
Merge from next WIP
2021-02-03 22:34:44 +08:00
Michael Shilman
990c753523
Update root, peer deps, version.ts/json to 6.2.0-alpha.20
2021-02-02 09:39:42 +08:00
Michael Shilman
c1de529cc3
Merge pull request #13775 from phated/phated/vue3
...
Vue: Add Vue 3 support
2021-02-02 09:28:48 +08:00
Michael Shilman
12424cb0ae
Merge pull request #13730 from andrefarzat/next
...
CLI: Add try/catch on readFileAsJson to improve error message
2021-02-02 08:52:41 +08:00
Blaine Bublitz
6d31d1ee59
fix: setup onClick action for e2e tests
2021-02-01 17:19:23 -07:00
Blaine Bublitz
ac121521df
chore: change console -> logger
2021-02-01 12:46:11 -07:00
Blaine Bublitz
c42981ce0b
feat: add vue3 generator to CLI
2021-01-29 19:48:33 -07:00
Blaine Bublitz
354fc796e0
feat: support package versions in package strings for generators
2021-01-29 17:59:58 -07:00
Andre Farzat
f70f316bfa
console.error to lib/cli/src/helpers -> readFileAsJson
2021-01-29 11:30:43 -03:00
Michael Shilman
8c871fe1b4
Update root, peer deps, version.ts/json to 6.2.0-alpha.19
2021-01-29 08:43:51 +08:00
Blaine Bublitz
1a3196a003
CLI: Fix handling of version ranges in dependency checks
2021-01-28 11:19:08 -07:00