Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary root re-exports #19742

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion code/addons/a11y/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/a11y/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/actions/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/actions/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/backgrounds/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/backgrounds/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/controls/manager.js

This file was deleted.

23 changes: 13 additions & 10 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@
"import": "./dist/preset.mjs",
"types": "./dist/preset.d.ts"
},
"./dist/preview": {
"require": "./dist/preview.js",
"import": "./dist/preview.mjs",
"types": "./dist/preview.d.ts"
},
"./dist/preset": {
"require": "./dist/preset.js",
"import": "./dist/preset.mjs",
"types": "./dist/preset.d.ts"
},
"./svelte/HOC.svelte": "./svelte/HOC.svelte",
"./ember": "./ember/index.js",
"./ember/index.js": "./ember/index.js",
Expand All @@ -62,6 +52,19 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"preview": [
"dist/preview.d.ts"
],
"preset": [
"dist/preset.d.ts"
]
}
},
"files": [
"dist/**/*",
"angular/**/*",
Expand Down
1 change: 0 additions & 1 deletion code/addons/docs/preset.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/docs/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/essentials/src/actions/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/export */
// TODO: We need to configure an eslint-import typescript resolver for export maps to be considered

export * from '@storybook/addon-actions/preview';
1 change: 0 additions & 1 deletion code/addons/essentials/src/backgrounds/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/export */
// TODO: We need to configure an eslint-import typescript resolver for export maps to be considered

export * from '@storybook/addon-backgrounds/preview';
3 changes: 1 addition & 2 deletions code/addons/essentials/src/docs/preset.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/* eslint-disable import/export */
export * from '@storybook/addon-docs/dist/preset';
export * from '@storybook/addon-docs/preset';
2 changes: 1 addition & 1 deletion code/addons/essentials/src/docs/preview.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from '@storybook/addon-docs/dist/preview';
export * from '@storybook/addon-docs/preview';
1 change: 0 additions & 1 deletion code/addons/essentials/src/highlight/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/export */
// TODO: We need to configure an eslint-import typescript resolver for export maps to be considered

export * from '@storybook/addon-highlight/preview';
1 change: 0 additions & 1 deletion code/addons/essentials/src/measure/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/export */
// TODO: We need to configure an eslint-import typescript resolver for export maps to be considered

export * from '@storybook/addon-measure/preview';
1 change: 0 additions & 1 deletion code/addons/essentials/src/outline/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/export */
// TODO: We need to configure an eslint-import typescript resolver for export maps to be considered

export * from '@storybook/addon-outline/preview';
1 change: 0 additions & 1 deletion code/addons/highlight/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/interactions/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/interactions/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/jest/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/links/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/links/preview.js

This file was deleted.

2 changes: 0 additions & 2 deletions code/addons/links/react.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions code/addons/links/react.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/measure/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/measure/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/outline/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/outline/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/storysource/preset.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/storysource/register.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/toolbars/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/addons/viewport/manager.js

This file was deleted.

1 change: 0 additions & 1 deletion code/lib/api/shortcut.js

This file was deleted.

1 change: 0 additions & 1 deletion code/lib/router/utils.js

This file was deleted.

1 change: 0 additions & 1 deletion code/lib/theming/create.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion code/lib/theming/create.js

This file was deleted.

10 changes: 10 additions & 0 deletions code/lib/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"create": [
"dist/create.d.ts"
]
}
},
"files": [
"dist/**/*",
"README.md",
Expand Down
1 change: 0 additions & 1 deletion code/renderers/html/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/preact/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/react/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/server/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/svelte/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/vue/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/vue3/preview.js

This file was deleted.

1 change: 0 additions & 1 deletion code/renderers/web-components/preview.js

This file was deleted.