759 Commits

Author SHA1 Message Date
Norbert de Langen
4390ceaaba
fix 2022-07-06 13:35:13 +02:00
Norbert de Langen
8b6c097885
fix 2022-07-06 13:08:38 +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
ac9051d57f
Merge branch 'future/pbm/stage0' into future/type-checking-script 2022-06-29 17:54:28 +02:00
Norbert de Langen
54c5feab99
Merge branch 'future/base' into future/pbm/stage0
# Conflicts:
#	lib/core-server/src/__snapshots__/cra-ts-essentials_manager-dev-posix
#	lib/core-server/src/__snapshots__/cra-ts-essentials_manager-prod-posix
#	lib/core-server/src/__snapshots__/html-kitchen-sink_manager-dev-posix
#	lib/core-server/src/__snapshots__/html-kitchen-sink_manager-prod-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_manager-dev-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_manager-prod-posix
#	lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-dev-posix
#	lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-prod-posix
#	lib/manager-webpack5/package.json
#	lib/manager-webpack5/src/presets/manager-preset.ts
#	yarn.lock
2022-06-29 17:53:30 +02:00
Norbert de Langen
b34e02013e
add a yarn check command similar to yarn build for type checking packages (in watch mode too!) 2022-06-29 17:48:26 +02:00
Norbert de Langen
37dd381f97
fixes 2022-06-29 14:31:18 +02:00
Norbert de Langen
2f0b3626ae
we should revert this once the prebuilt manager is merged 2022-06-29 13:24:47 +02:00
Norbert de Langen
ed240ebf0d
Merge commit '95bd68d08a0f40ab37de688c8966932b3fb85aa8' into pr/iamandrewluca/18323
# Conflicts:
#	.circleci/config.yml
#	SECURITY.md
#	addons/a11y/src/components/VisionSimulator.test.tsx
#	app/vue/src/client/preview/config.ts
#	app/vue3/src/client/preview/config.ts
#	docs/addons/writing-addons.md
#	docs/api/cli-options.md
#	docs/builders/webpack.md
#	docs/configure/css-troubleshooting/angular.mdx
#	docs/contribute/code.md
#	docs/contribute/new-snippets.md
#	docs/essentials/interactions.md
#	docs/essentials/introduction.md
#	docs/faq.md
#	docs/get-started/install.md
#	docs/sharing/publish-storybook.md
#	docs/snippets/common/button-story-project-args-theme.js.mdx
#	docs/snippets/common/storybook-main-enable-transcludemarkdown.js.mdx
#	docs/snippets/common/storybook-main-with-single-static-dir.js.mdx
#	docs/snippets/common/storybook-test-runner-install.npm.js.mdx
#	docs/snippets/common/storybook-test-runner-install.yarn.js.mdx
#	docs/snippets/common/storybook-vite-builder-aliasing.js.mdx
#	docs/writing-stories/build-pages-with-storybook.md
#	docs/writing-stories/play-function.md
#	docs/writing-tests/snapshot-testing.md
#	docs/writing-tests/visual-testing.md
#	examples/vue-3-cli/.storybook/main.js
#	examples/vue-cli/.storybook/main.js
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/vue-kitchen-sink/.storybook/preview.js
#	examples/vue-kitchen-sink/src/App.vue
#	examples/vue-kitchen-sink/src/stories/__snapshots__/core.stories.storyshot
#	examples/vue-kitchen-sink/src/stories/__snapshots__/custom-decorators.stories.storyshot
#	examples/vue-kitchen-sink/src/stories/core.stories.js
#	lib/cli/src/generators/ANGULAR/angular-helpers.ts
#	lib/cli/src/generators/ANGULAR/index.ts
#	lib/components/package.json
#	lib/components/src/blocks/ArgsTable/ArgsTable.tsx
#	lib/components/src/blocks/Source.tsx
#	lib/components/src/spaced/Spaced.tsx
#	lib/components/src/tabs/tabs.tsx
#	lib/core-server/package.json
#	lib/preview-web/src/Preview.tsx
#	lib/preview-web/src/PreviewWeb.integration.test.ts
#	lib/preview-web/src/PreviewWeb.mockdata.ts
#	lib/preview-web/src/PreviewWeb.test.ts
#	lib/preview-web/src/PreviewWeb.tsx
#	lib/ui/src/index.tsx
#	yarn.lock
2022-06-29 13:14:45 +02:00
Michael Shilman
93c4ff13d9 Extract doc blocks 2022-06-29 00:13:43 +08:00
Norbert de Langen
66527195f7
fix examples e2e test 2022-06-28 12:59:50 +02:00
Norbert de Langen
0cd0ee3f8b
test 2022-06-28 11:57:00 +02:00
Norbert de Langen
0cf66eb8a8
cleanup 2022-06-28 10:01:48 +02:00
Norbert de Langen
002602df3d
wip 2022-06-27 14:13:19 +02:00
Norbert de Langen
fa872be6ea
cleanup, I'm in the process of removing stats output completely from the manager builder, because it's not configurable anyway 2022-06-27 09:55:39 +02:00
Norbert de Langen
4461be270b
cleanup 2022-06-24 16:57:43 +02:00
Norbert de Langen
fc96c97010
cleanup 2022-06-24 16:46:02 +02:00
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