Norbert de Langen
7aeedfdb9d
wip
2022-06-24 15:51:17 +02:00
Norbert de Langen
6d8c17c1ec
progress
2022-06-24 12:28:48 +02:00
Norbert de Langen
f5431237cf
polyfills and such
2022-06-23 21:17:13 +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
6ee7430067
another one
2022-06-22 15:16:19 +02:00
Michael Shilman
d86c5948f0
Merge branch 'future/docs2-core' into tom/sb-402-rename-docsmdx-extension-to-mdx
2022-06-18 16:43:24 +08:00
Michael Shilman
65318b1534
Add @storybook/docs-mdx to verdaccio pass-through
2022-06-17 13:41:15 +08:00
Tom Coleman
918cd09aa5
Merge remote-tracking branch 'origin/future-hybrid-stories-index' into tom/sb-402-rename-docsmdx-extension-to-mdx
2022-06-16 21:56:03 +10:00
Michael Shilman
11c2a7546d
Merge branch 'future/base' into future-hybrid-stories-index
2022-06-16 18:54:10 +08:00
Tom Coleman
fbef33d00a
Match .mdx
not .docs.mdx
for docs2
2022-06-16 16:00:18 +10:00
Norbert de Langen
cbc300b69e
fix e2e pnp
2022-06-13 15:14:29 +02:00
Michael Shilman
f0c2c8483f
Merge branch 'future/base' into future-hybrid-stories-index
2022-06-09 11:10:04 +08:00
Norbert de Langen
49a6c0a240
Merge branch 'next' into future/base
...
# Conflicts:
# scripts/bundle-package.ts
# scripts/dts-localize.ts
2022-06-07 18:11:32 +02:00
Norbert de Langen
9c596c87ae
Merge branch 'next' into future/base
...
# Conflicts:
# docs/faq.md
# lib/cli/src/repro-generators/configs.ts
# lib/cli/src/repro-generators/scripts.ts
2022-06-07 11:11:19 +02:00
Norbert de Langen
482676fd82
Merge branch 'next' into pr/joshwooding/18365
2022-06-07 09:59:31 +02:00
Norbert de Langen
e53d85454e
fix compodoc missing
2022-06-07 09:28:14 +02:00
Norbert de Langen
8665b8de47
improve
2022-06-03 14:30:16 +02:00
Norbert de Langen
b9aad63a27
fix e2e
2022-05-31 15:17:42 +02:00
joshwooding
3f0ebf6702
Fix prebundle script on Windows
2022-05-31 00:37:48 +01:00
Yann Braga
0c0a21b030
chore: clean verdaccio cache when running locally
2022-05-30 09:42:03 +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
a235877612
improve
2022-05-26 13:20:58 +02:00
Norbert de Langen
dc64f1c505
fixes
2022-05-26 12:39:17 +02:00
Norbert de Langen
dadc33d347
make webpack5 the default builder in cli
2022-05-26 11:57:27 +02:00
Norbert de Langen
1763a91403
change presets source to be named index
2022-05-26 11:16:11 +02:00
Norbert de Langen
ec41d93c25
wip
2022-05-25 16:00:47 +02:00
Norbert de Langen
426b68e570
skip generating type definitions in prep-mode
2022-05-25 13:20:27 +02:00
Andrey Okonetchnikov
8bdb1cdcb9
feat: Add cleanup task to bootstrap that removes compiled /dist folders
2022-05-24 13:48:12 +02:00
Andrey Okonetchnikov
9b35849894
Tweak the language in case when a users decides not to run the script
2022-05-24 13:37:45 +02:00
Andrey Okonetchnikov
e77f583467
fix: Do not delete .idea while doing the cleanup
...
It also makes sure only root level directories are excluded
Closes #18308
2022-05-24 12:25:49 +02:00
Norbert de Langen
ca0c9fc2e2
let's remove the downgrade typescript generation
2022-05-23 14:26:05 +02:00
Norbert de Langen
5941bfe217
make ALL examples be smoke tested and do it in parallel, similar to examples in CI
2022-05-12 12:12:38 +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
4fb9e1525e
Fix angular
2022-05-12 09:31:48 +08:00
Andrey Okonetchnikov
ab06f82e70
fix(CLI): Don't throw is Ctrl + C was pressed when selecting a package
2022-05-11 13:21:06 +02:00
Norbert de Langen
84ac9801c3
Merge branch 'future/tsup' into future/modern-esm
...
# Conflicts:
# addons/links/package.json
# lib/components/package.json
# lib/ui/package.json
# yarn.lock
2022-05-11 11:37:08 +02: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
Mateusz Burzyński
9b0a59c279
Fixed PnP compatibility for bundled components package
2022-05-09 16:35:23 +02:00
Tom Coleman
eb00b30776
Fix storyshots problem with react-ts
2022-05-09 15:30:31 +10:00
Michael Shilman
a58a785be2
Merge branch 'future/base' into future-hybrid-stories-index
2022-05-05 20:37:26 +08:00
Michael Shilman
511be37603
Merge branch 'future/renderer-presets' into future/add-frameworks
2022-05-04 13:12:13 +08:00
Michael Shilman
872eb4b64b
Merge branch 'future/base' into future/add-renderers
2022-05-04 13:01:21 +08:00
Michael Shilman
612b03d75c
Merge pull request #18046 from storybookjs/tech/telemetry-pr
...
Core: Add optional telemetry and crash reporting
2022-05-02 22:20:57 +08:00
Norbert de Langen
6f9f8b1b70
improve
2022-04-29 16:40:31 +02:00
Norbert de Langen
ba354b86a8
working tsup setup
2022-04-29 10:06:04 +02:00
Norbert de Langen
7335874245
migrate the custom package bundling to use tsup
2022-04-28 18:44:12 +02:00
Michael Shilman
5f9f6f32f2
Core: Add optional telemetry and crash reporting
2022-04-29 00:11:50 +08:00
Norbert de Langen
a7e6128cf0
minor optimizations
2022-04-28 16:52:35 +02:00
Ian VanSchooten
b5470a2691
Add non-monorepo testing tools to exclude lists
2022-04-28 10:22:13 -04:00
Norbert de Langen
07147a1a26
fixing linting
2022-04-25 15:22:02 +02:00