47 Commits

Author SHA1 Message Date
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
1763a91403
change presets source to be named index 2022-05-26 11:16:11 +02:00
Norbert de Langen
7c5b878139
wip 2022-05-25 14:15:10 +02:00
Norbert de Langen
abf43fd7a0
Merge branch 'future/angular12' into future/modern-frameworks 2022-05-23 17:37:45 +02:00
Norbert de Langen
618d68630c
fixes 2022-05-23 17:37:23 +02:00
Norbert de Langen
ca0c9fc2e2
let's remove the downgrade typescript generation 2022-05-23 14:26:05 +02:00
Norbert de Langen
3548fd108c
Merge branch 'future/angular12' into future/modern-frameworks
# Conflicts:
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	frameworks/angular/tsconfig.json
#	lib/core-common/package.json
#	presets/html-webpack/package.json
#	presets/preact-webpack/package.json
#	presets/react-webpack/package.json
#	presets/svelte-webpack/package.json
#	presets/vue3-webpack/package.json
#	yarn.lock
2022-05-13 14:08:53 +02:00
Norbert de Langen
e62458f3b2
fix server-kichten-sink 2022-05-12 15:52:27 +02:00
Norbert de Langen
f8341931d5
fix vue3 example and fix server example 2022-05-12 11:35:42 +02:00
Norbert de Langen
2d6b9aba50
resolve all remaining webpack4 removal issues 2022-05-12 10:10:41 +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
108b8ff53c Create webpack4 frameworks & rename renderer packages 2022-05-12 00:38:11 +08:00
Michael Shilman
5603f31196 Rename webpack-tools to core-webpack 2022-05-11 23:28:31 +08:00
Kai Röder
7485f68005 fix(angular): EXPERIMENTAL use webpack 5.70.0
Unfortunately, all the Angular packages use
a fix version for webpack (right now 5.70,0).
Webpack 5 is highly allergic to version mixing
and throws an error that does not seem to be
related to a dependency issue.

In this commit I set all versions in this repo
to 5.70.0 just to demonstrate that this is working.
I could not figure out another way to solve this.
I also tried the yarn "nohoist" feature but could
not get it working at all.

This is most likely only an issue in this repo and
user-land should not be affected by this conflict
as long as we offer a range that suits the
Angular fix version of webpack.
2022-05-09 23:16:22 +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
Michael Shilman
3f0d8a8c4b React: Fix StorybookConfig typescript types 2022-05-04 23:15:56 +08:00
Michael Shilman
c64d929b4f Merge branch 'future/minimize-webpack-deps' into future/webpack-tools 2022-05-04 13:17:24 +08:00
Michael Shilman
21d81680a3 Merge branch 'future/add-frameworks' into future/minimize-webpack-deps 2022-05-04 13:14:43 +08:00
Michael Shilman
511be37603 Merge branch 'future/renderer-presets' into future/add-frameworks 2022-05-04 13:12:13 +08:00
Michael Shilman
be12d56a5a Fix CI errors 2022-05-04 11:06:12 +08:00
Norbert de Langen
ad056dc5b7
cleanup 2022-05-03 10:36:17 +02:00
Michael Shilman
b9ef5a427a Core: Fix type hierarchy for frameworks refactor 2022-05-02 15:27:14 +08:00
Michael Shilman
e7a93c6f78 Webpack-tools: Work in progress 2022-05-01 17:57:29 +08:00
Norbert de Langen
f2f9e39343
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/cra-kitchen-sink/package.json
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/package.json
#	examples/external-docs/package.json
#	examples/official-storybook/package.json
#	examples/react-ts/package.json
#	examples/vue-3-cli/package.json
#	examples/vue-cli/package.json
#	examples/web-components-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/yarn.lock
#	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/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
#	yarn.lock
2022-04-28 11:50:10 +02:00
Michael Shilman
af8b4828d7 Merge branch 'future/add-frameworks' into future/minimize-webpack-deps 2022-04-28 11:41:56 +08:00
Michael Shilman
8ecbab3e53 Merge branch 'future/renderer-presets' into future/add-frameworks 2022-04-28 11:39:42 +08:00
Michael Shilman
71722ac68f Merge branch 'future/add-frameworks' into future/minimize-webpack-deps 2022-04-27 09:54:24 +08:00
Michael Shilman
f4ee89420d Clean up preset READMEs 2022-04-27 09:33:56 +08:00
Norbert de Langen
4494797813
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/cra-kitchen-sink/package.json
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/package.json
#	examples/official-storybook/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/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/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
#	yarn.lock
2022-04-26 15:15:02 +02:00
Michael Shilman
69bcdc19f8 Merge branch 'future/renderer-presets' into future/add-frameworks 2022-04-26 18:49:58 +08:00
Norbert de Langen
07147a1a26
fixing linting 2022-04-25 15:22:02 +02:00
Michael Shilman
3138960f96 Merge branch 'future/add-frameworks' into future/minimize-webpack-deps 2022-04-24 14:44:59 +08:00
Michael Shilman
6af99aa81d Merge branch 'future/renderer-presets' into future/add-frameworks 2022-04-24 14:42:28 +08:00
Norbert de Langen
51524ee3b7
updates, updates, updates and fixes 2022-04-22 13:57:46 +02:00
Norbert de Langen
38fa196d09
upgrade everything in the monorepo to webpack5 2022-04-22 11:40:44 +02:00
Michael Shilman
6498d99ad2 Remove unnecessary webpack-env types 2022-04-22 15:07:56 +08:00
Michael Shilman
32d696dd75 Fix web-components presets 2022-04-21 18:59:15 +08:00
Michael Shilman
fa9c5da03e More preset fixes 2022-04-21 17:27:17 +08:00
Michael Shilman
2a80955da2 Presets CI fixes 2022-04-21 17:02:12 +08:00
Michael Shilman
29791bd3f2 Web-components: webpack preset refactor 2022-04-21 16:03:43 +08:00
Michael Shilman
40a55bdddb Vue3: webpack preset refactor 2022-04-21 16:03:05 +08:00
Michael Shilman
f23e877404 Vue: webpack preset refactor 2022-04-21 16:02:28 +08:00
Michael Shilman
74e005bb9d Svelte: webpack preset refactor 2022-04-21 16:01:56 +08:00
Michael Shilman
3c2e442e37 Server: webpack preset refactor 2022-04-21 16:01:25 +08:00
Michael Shilman
2bceb2cf0f React: webpack preset refactor 2022-04-21 16:00:08 +08:00
Michael Shilman
3aa7e068be Preact: webpack preset refactor 2022-04-21 15:59:33 +08:00
Michael Shilman
427aab0862 HTML: split out webpack preset 2022-04-21 14:17:42 +08:00