Gaëtan Maisse
fb9f801048
refactor(core): migrate preview
to TS
2020-11-03 19:14:20 +01:00
Gaëtan Maisse
7e0ea97011
refactor(core): migrate manager
to TS
2020-11-03 19:14:17 +01:00
Gaëtan Maisse
9cb48872c0
refactor(core): migrate presets.js
to TS
2020-11-03 19:11:58 +01:00
Gaëtan Maisse
8388b19c2b
refactor(core): migrate config
to TS
2020-11-03 19:11:58 +01:00
Gaëtan Maisse
c59c21c067
refactor(core): migrate common
to TS
2020-11-03 19:11:58 +01:00
Gaëtan Maisse
e71835cb84
refactor(core): migrate utils
to TS
2020-11-03 19:11:57 +01:00
Gaëtan Maisse
28eb52414f
refactor: improve typings of Provider
2020-11-03 19:11:57 +01:00
Gaëtan Maisse
adc3121836
refactor: export Config
from addons
as it is used in a public function
...
Then use this interface in `core` to improve typings
2020-11-03 19:11:57 +01:00
Gaëtan Maisse
31ba8b8e26
refactor(core): migrate manager
to TS
2020-11-03 19:11:55 +01:00
Michael Shilman
c7479f6e51
6.1.0-beta.1 next.json version file
2020-11-03 15:36:47 +08:00
Michael Shilman
3e940800a8
Update git head to 6.1.0-beta.1
2020-11-03 15:33:05 +08:00
Michael Shilman
763c233efc
v6.1.0-beta.1
v6.1.0-beta.1
2020-11-03 15:27:28 +08:00
Michael Shilman
963debe690
Update root, peer deps, version.ts/json to 6.1.0-beta.1
2020-11-03 15:26:55 +08:00
Michael Shilman
ac90b5395c
6.1.0-beta.1 changelog
2020-11-03 15:21:46 +08:00
Michael Shilman
b4c1db2c83
Merge pull request #12948 from storybookjs/perf/syntax-highlighter-async
...
Components: react-syntaxt-highlighter optimization
2020-11-03 15:20:14 +08:00
Michael Shilman
40086ea4c5
Merge branch 'next' into perf/syntax-highlighter-async
2020-11-03 15:02:22 +08:00
Michael Shilman
9e23544516
Merge pull request #12990 from storybookjs/refactor/cssResourceTestToRTL
...
Build: Replace enzyme with react-test-library
2020-11-03 14:58:57 +08:00
Michael Shilman
784716c1b3
Fix deepscan
2020-11-03 14:23:25 +08:00
Michael Shilman
e877faecdb
Merge branch 'next' into refactor/cssResourceTestToRTL
2020-11-03 14:12:03 +08:00
Michael Shilman
9f5f46d371
Merge pull request #12972 from storybookjs/tech/move-react-and-react-dom-to-peer-deps
...
Core: Move `react` and `react-dom` to peer deps
2020-11-03 12:51:31 +08:00
Michael Shilman
18013d9737
Update yarn.lock
2020-11-03 08:33:05 +08:00
Michael Shilman
225b5fd5cb
Update MDX snapshots
2020-11-03 08:32:59 +08:00
Clément DUNGLER
584c6899d0
Components: move to RTL
2020-11-02 23:46:35 +01:00
Clément DUNGLER
fdeb1a3eee
refactor: Move to RTL for css resource addon
2020-11-02 23:29:12 +01:00
Gaëtan Maisse
b1a0f4b074
Remove react
and react-dom
from required deps in E2E test configs
...
They are now regular deps of SB packages for all non-react app so there is no more need to add them explicitly.
2020-11-02 20:52:33 +01:00
Gaëtan Maisse
89d0ed9b7d
Apply solution discussed in monthly meeting:
...
- Set `react` and `react-dom` as peerDeps for all `lib` packages needing them
- Set `react` and `react-dom` as peerDeps + optional tag for all `addon` packages needing them
- Set `react` and `react-dom` as regular deps for all non react apps
- Remove `react` and `react-dom` from root `package.json`
- Set a fixed version of `react` in all examples
Also:
- Use "^16.8.0 || ^17.0.0" version range as some packages need React Hooks
2020-11-02 20:49:31 +01:00
Gaëtan Maisse
0c0a4dcb5c
Merge branch 'next' into tech/move-react-and-react-dom-to-peer-deps
2020-11-02 20:15:29 +01:00
Michael Shilman
3ce06946d0
6.1.0-beta.0 next.json version file
2020-11-03 02:41:02 +08:00
Michael Shilman
9c2c6da232
Update git head to 6.1.0-beta.0
2020-11-03 02:34:25 +08:00
Michael Shilman
807eccd605
v6.1.0-beta.0
v6.1.0-beta.0
2020-11-03 02:28:12 +08:00
Michael Shilman
21ef1bcf3c
Update root, peer deps, version.ts/json to 6.1.0-beta.0
2020-11-03 02:26:49 +08:00
Michael Shilman
6a2f607684
6.1.0-beta.0 changelog
2020-11-03 02:21:52 +08:00
Michael Shilman
987091a24d
Merge pull request #12988 from storybookjs/fix/preview-wrapper-react
...
Build: Relax react deps for preview-wrapper-react
2020-11-03 02:16:42 +08:00
Michael Shilman
8e1c55e976
Fix react deps for preview-wrapper-react
2020-11-03 02:15:17 +08:00
Norbert de Langen
197742af35
Merge branch 'next' into perf/syntax-highlighter-async
...
# 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/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/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
# docs/api/cli-options.md
# 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-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/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/test/fixtures/react/package.json
# lib/cli/test/fixtures/react_babel_config_js/package.json
# lib/cli/test/fixtures/react_babel_custom_preset/package.json
# lib/cli/test/fixtures/react_babel_pkg_json/package.json
# lib/cli/test/fixtures/react_babelrc/package.json
# lib/cli/test/fixtures/react_babelrc_js/package.json
# lib/cli/test/fixtures/react_project/package.json
# lib/cli/test/fixtures/react_static_next/package.json
# lib/cli/test/fixtures/update_package_organisations/package.json
# lib/cli/test/fixtures/webpack_react/package.json
# lib/cli/versions.json
# lib/client-api/package.json
# lib/client-logger/package.json
# lib/codemod/package.json
# lib/components/package.json
# lib/components/src/Loader/Loader.tsx
# lib/core-events/package.json
# lib/core/package.json
# lib/core/src/server/build-static.js
# lib/core/src/server/dev-server.js
# lib/core/src/server/manager/manager-webpack.config.js
# 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
# package.json
# scripts/bootstrap.js
# yarn.lock
2020-11-02 14:35:19 +01:00
Norbert de Langen
22ec4ad934
Merge branch 'perf/syntax-highlighter-async' of github.com:storybookjs/storybook into perf/syntax-highlighter-async
...
# Conflicts:
# yarn.lock
2020-11-02 14:31:07 +01:00
Michael Shilman
3775f5702c
Merge pull request #12978 from storybookjs/12977-fix-official-storybook
...
Build: Run storybook in react@17
2020-11-02 19:21:32 +08:00
Michael Shilman
1475c4c0bd
Update yarn.lock
2020-11-02 18:55:41 +08:00
Michael Shilman
ebe0d7975e
Merge branch 'next' into 12977-fix-official-storybook
2020-11-02 17:37:21 +08:00
Michael Shilman
fe2a9e27fb
Upgrade MDX
2020-11-02 17:35:08 +08:00
Michael Shilman
bd49ba9c29
6.1.0-alpha.35 next.json version file
2020-11-02 15:53:51 +08:00
Gaëtan Maisse
b233743d07
Switch react
and react-dom
to regular dep in non-react apps
...
I used `16.13.1` as it looks there are, for now, some issue between 16.14.x and `addons-docs`
2020-11-02 08:41:11 +01:00
Gaëtan Maisse
c8ce61732d
Update react
and react-dom
range version in some addons using React Hooks
2020-11-02 08:35:26 +01:00
Gaëtan Maisse
f3a6f13828
Add react
and react-dom
to Preact and React TS E2E tests
...
These deps need to be explicitly added as they are peerDeps of SB packages now.
2020-11-02 08:09:20 +01:00
Gaëtan Maisse
814807d361
Use react
and react-dom
16.13.1 as 16.14.0 looks to cause trouble with examples/official-storybook
...
Example:
ERR! SyntaxError: /tmp/storybook/examples/official-storybook/stories/notes/notes.md: pragma and pragmaFrag cannot be set when runtime is automatic.
2020-11-02 08:09:18 +01:00
Gaëtan Maisse
eaa9410a4d
Move react
and react-dom
to peer deps
...
`react` and `react-dom` should always be peer dependencies of packages that provide react components to ensure that there's a single instance of those.
Plus, all packages depending on a package with `react` as peerDep should also have it as peerDeps (transitive peer dependencies) or as deps.
Finally, packages in `examples/*` are "end" packages using Storybook so they must provide `react` and `react-dom` in their deps/devDeps
2020-11-02 08:08:48 +01:00
Michael Shilman
5c7d54f8b5
Update git head to 6.1.0-alpha.35
2020-11-02 14:49:02 +08:00
Michael Shilman
76bb521136
v6.1.0-alpha.35
v6.1.0-alpha.35
2020-11-02 14:43:36 +08:00
Michael Shilman
23eb8b1d0b
Update root, peer deps, version.ts/json to 6.1.0-alpha.35
2020-11-02 14:43:17 +08:00
Michael Shilman
f731321a84
6.1.0-alpha.35 changelog
2020-11-02 14:36:01 +08:00