1002 Commits

Author SHA1 Message Date
Michael Shilman
ba3aa9eb34 Update git head to 7.0.0-alpha.13, update yarn.lock 2022-07-11 23:28:38 -07:00
Michael Shilman
9ac4d2e0a0 v7.0.0-alpha.13 2022-07-11 23:25:05 -07:00
Michael Shilman
92eb89304c Update git head to 7.0.0-alpha.12, update yarn.lock 2022-07-08 08:47:00 -07:00
Michael Shilman
5070efff27 v7.0.0-alpha.12 2022-07-08 08:43:29 -07:00
Michael Shilman
b9efb25543
Merge pull request #18619 from storybookjs/future/async-load-presets-esbuild-register
Core: Async load presets, replace interpret with esbuild-register
2022-07-07 22:53:18 -07:00
Tom Coleman
0dd08bbf9a Update StoryIndexGenerator to generate "template" entries
Template (standalone: false) entries are needed for:
  - Docs Page
  - *.stories.mdx files that define a docs page and stories.

A Template entry expects to be rendered from and against a story file. (A standalone entry expects to be rendered as a MDX file)
2022-07-07 12:04:11 +10:00
Tom Coleman
fea109aa1f Add docs option and use to drive the indexer 2022-07-07 12:00:02 +10:00
Norbert de Langen
b49b835c0c
Merge branch 'future/base' into fix/builder-stats-typings 2022-07-06 19:22:49 +02:00
Michael Shilman
0bcc17bd3f Update git head to 7.0.0-alpha.11, update yarn.lock 2022-07-06 09:10:09 -07:00
Michael Shilman
688d338903 v7.0.0-alpha.11 2022-07-06 09:05:27 -07:00
Norbert de Langen
645e1b8015
register just once, do not unregister 2022-07-06 15:16:30 +02:00
Norbert de Langen
fba9296287
change interpret for esbuild-register and make loadAllPresets async 2022-07-06 14:52:11 +02:00
Norbert de Langen
71240236c7
deduplicate interopRequireDefault 2022-07-06 14:21:24 +02:00
Norbert de Langen
b188566126
add refs feature back 2022-07-05 19:27:46 +02:00
Ari Perkkiö
0502e0d078 fix: builder stats typings to be optional 2022-07-03 08:05:13 +00:00
Norbert de Langen
e59559128b
Merge branch 'future/base' into future/prebuilt-manager-esbuild
# Conflicts:
#	addons/essentials/package.json
#	frameworks/html-webpack5/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/react-webpack5/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/blocks/package.json
#	lib/cli/src/versions.ts
#	lib/components/package.json
#	lib/core-common/package.json
#	lib/core-server/package.json
#	lib/core-server/src/utils/open-in-browser.ts
#	lib/manager-webpack5/package.json
#	lib/manager-webpack5/typings.d.ts
#	lib/theming/package.json
#	lib/ui/package.json
#	presets/html-webpack/package.json
#	presets/preact-webpack/package.json
#	presets/react-webpack/package.json
#	presets/server-webpack/package.json
#	presets/svelte-webpack/package.json
#	presets/vue-webpack/package.json
#	presets/vue3-webpack/package.json
#	presets/web-components-webpack/package.json
#	renderers/html/package.json
#	renderers/preact/package.json
#	renderers/react/package.json
#	renderers/server/package.json
#	renderers/svelte/package.json
#	renderers/vue/package.json
#	renderers/vue3/package.json
#	renderers/web-components/package.json
#	yarn.lock
2022-07-02 23:11:20 +02:00
Michael Shilman
17801dffcd Update git head to 7.0.0-alpha.10, update yarn.lock 2022-07-02 10:59:01 -07:00
Michael Shilman
b13dd8fb52 v7.0.0-alpha.10 2022-07-02 10:55:38 -07:00
Michael Shilman
03f67a412b Update git head to 7.0.0-alpha.9, update yarn.lock 2022-07-02 10:37:02 -07:00
Michael Shilman
84577258bb v7.0.0-alpha.9 2022-07-02 10:36:37 -07:00
Norbert de Langen
efdc53459f
Merge branch 'next' into future/base
# Conflicts:
#	examples/vue-kitchen-sink/package.json
#	lib/api/src/index.tsx
#	lib/api/src/modules/stories.ts
#	lib/cli/src/frameworks/html/ts/Button.stories.ts
#	lib/cli/src/frameworks/html/ts/Header.stories.ts
#	lib/cli/src/frameworks/html/ts/Page.stories.ts
#	lib/core-client/src/typings.d.ts
#	lib/core-common/src/types.ts
#	lib/core-server/package.json
#	lib/core-server/src/utils/open-in-browser.ts
#	lib/manager-webpack4/typings.d.ts
#	yarn.lock
2022-07-02 18:47:42 +02:00
Norbert de Langen
265631b75b
Merge branch 'next' into patch-1 2022-07-01 13:49:11 +02:00
Norbert de Langen
26ae4a145a
small fix 2022-07-01 02:47:28 +02:00
Norbert de Langen
a32e15f0c2
cleanup 2022-07-01 02:31:54 +02:00
Norbert de Langen
320a7a9af9
guess what?! the packages has typings now!! what a time to be alive! 2022-07-01 02:28:13 +02:00
Norbert de Langen
164263ceb0
Merge branch 'future/pbm/stage0' into future/type-checking-script 2022-06-30 08:49:52 +02:00
Norbert de Langen
5d6972902d
try this 2022-06-30 00:48:42 +02:00
Norbert de Langen
8fa554c6a8
Merge branch 'future/pbm/stage0' into future/type-checking-script
# Conflicts:
#	addons/essentials/package.json
#	examples/external-docs/package.json
#	yarn.lock
2022-06-29 20:44:54 +02:00
Norbert de Langen
3d687c4857
Merge branch 'future/base' into future/pbm/stage0
# Conflicts:
#	frameworks/html-webpack5/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/react-webpack5/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/cli/src/versions.ts
#	lib/components/package.json
#	lib/core-common/package.json
#	lib/core-server/package.json
#	lib/manager-webpack5/package.json
#	lib/ui/package.json
#	presets/html-webpack/package.json
#	presets/preact-webpack/package.json
#	presets/react-webpack/package.json
#	presets/server-webpack/package.json
#	presets/svelte-webpack/package.json
#	presets/vue-webpack/package.json
#	presets/vue3-webpack/package.json
#	presets/web-components-webpack/package.json
#	renderers/html/package.json
#	renderers/preact/package.json
#	renderers/react/package.json
#	renderers/server/package.json
#	renderers/svelte/package.json
#	renderers/vue/package.json
#	renderers/vue3/package.json
#	renderers/web-components/package.json
#	yarn.lock
2022-06-29 20:37:42 +02:00
Michael Shilman
6b559e831c Update git head to 7.0.0-alpha.8, update yarn.lock 2022-06-29 23:59:23 +08:00
Michael Shilman
24725501c3 v7.0.0-alpha.8 2022-06-29 23:55:07 +08:00
Norbert de Langen
ca96423510
add a check script in each package 2022-06-29 16:39:06 +02:00
Norbert de Langen
dd733a7105
Merge branch 'future/base' into future/pbm/stage0
# Conflicts:
#	frameworks/html-webpack5/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/react-webpack5/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/cli/src/versions.ts
#	lib/components/package.json
#	lib/core-common/package.json
#	lib/core-server/package.json
#	lib/manager-webpack5/package.json
#	lib/ui/package.json
#	presets/html-webpack/package.json
#	presets/preact-webpack/package.json
#	presets/react-webpack/package.json
#	presets/server-webpack/package.json
#	presets/svelte-webpack/package.json
#	presets/vue-webpack/package.json
#	presets/vue3-webpack/package.json
#	presets/web-components-webpack/package.json
#	renderers/html/package.json
#	renderers/preact/package.json
#	renderers/react/package.json
#	renderers/server/package.json
#	renderers/svelte/package.json
#	renderers/vue/package.json
#	renderers/vue3/package.json
#	renderers/web-components/package.json
#	yarn.lock
2022-06-29 14:51:48 +02:00
Michael Shilman
c1aef91bf2 Update git head to 7.0.0-alpha.7, update yarn.lock 2022-06-29 19:33:21 +08:00
Michael Shilman
d334cabd25 v7.0.0-alpha.7 2022-06-29 19:29:39 +08:00
Norbert de Langen
b2b4c2f24d
Merge branch 'future/tsup-libs-1' into future/pbm/stage0
# Conflicts:
#	lib/core-server/src/build-static.ts
#	lib/core-server/src/core-presets.test.ts
2022-06-29 09:58:41 +02:00
Norbert de Langen
8731c24bce
Merge branch 'future/base' into future/tsup-libs-1
# Conflicts:
#	docs/snippets/html/button-story-with-args.ts.mdx
2022-06-29 09:51:27 +02:00
Norbert de Langen
90bbbda292
Merge branch 'next' into future/update-base-with-next
# Conflicts:
#	addons/interactions/package.json
#	examples/angular-cli/package.json
#	examples/official-storybook/package.json
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-3-cli/package.json
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/package.json
#	package.json
#	yarn.lock
2022-06-29 08:52:29 +02:00
Norbert de Langen
008b54258b
Merge pull request #17708 from rygine/rygine/fix-css-typo
Fix typo in CSS pseudo selector
2022-06-29 00:28:43 +02:00
Norbert de Langen
002602df3d
wip 2022-06-27 14:13:19 +02:00
Norbert de Langen
42bcdaa709
Made a new manager-builder package, purely based on esbuild 2022-06-24 01:40:12 +02:00
Norbert de Langen
5cbe4a2959
ok, so this is step 1, just an option, not final.
- We prebundle the entire lib/ui with tsup.
- We tell the manager builder to serve lib/ui/dist as part of staticDirs
- We add the prebundled runtime to the main template as script reference

This works! Webpack builds ONLY the addons, not the manager UI!

But there's a problem... the manager gets react components injected into it.
These react components do not share the same version of react.
That causes the well know: hooks-call problems.

So left to investigate:
- Will this really work? Does bundling lib/ui and everything it needs break nothing?
- How to force a single version of react? (all dependencies normally coming from the manager, really)
2022-06-23 16:43:18 +02:00
Norbert de Langen
53941eda36
wip 2022-06-23 11:55:32 +02:00
Norbert de Langen
25dc790b76
core-common 2022-06-23 10:01:36 +02:00
Norbert de Langen
685f64fe49
Merge branch 'future/base' into future/SB-444 2022-06-23 09:52:57 +02:00
Michael Shilman
88eab37bb1 Update git head to 7.0.0-alpha.6, update yarn.lock 2022-06-21 23:34:02 +08:00
Michael Shilman
a88dcca40b v7.0.0-alpha.6 2022-06-21 23:29:32 +08:00
Norbert de Langen
b0d32a90bb
Merge branch 'future/base' into future/SB-444 2022-06-21 13:10:27 +02:00
Tom Coleman
9eb73fdb16
Merge pull request #18501 from storybookjs/future/docs2-core 2022-06-21 20:51:06 +10:00
Michael Shilman
7399d641c9 Merge branch 'future/base' into future/docs2-core 2022-06-21 12:17:27 +08:00