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

CPC: Fix missing exports for addon-kit #28691

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 1 addition & 0 deletions code/deprecated/manager/globals.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('storybook/internal/manager/globals');
2 changes: 2 additions & 0 deletions code/deprecated/manager/globals.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from 'storybook/internal/manager/globals';
export type * from 'storybook/internal/manager/globals';
2 changes: 1 addition & 1 deletion code/deprecated/manager/globals.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('storybook/internal/manager/globals');
export * from 'storybook/internal/manager/globals';
12 changes: 10 additions & 2 deletions code/deprecated/manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/manager",
"version": "8.3.0-alpha.2",
"version": "8.2.5",
ndelangen marked this conversation as resolved.
Show resolved Hide resolved
"description": "Core Storybook UI",
"keywords": [
"storybook"
Expand All @@ -20,6 +20,14 @@
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
"./globals": {
"type": "./globals.d.ts",
"import": "./globals.js",
"require": "./globals.cjs"
}
},
"files": [
"README.md",
"*.js",
Expand All @@ -28,7 +36,7 @@
"*.d.ts"
],
"peerDependencies": {
"storybook": "workspace:^"
"storybook": "^8.2.5"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions code/deprecated/preview/globals.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('storybook/internal/preview/globals');
2 changes: 2 additions & 0 deletions code/deprecated/preview/globals.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from 'storybook/internal/preview/globals';
export type * from 'storybook/internal/preview/globals';
2 changes: 1 addition & 1 deletion code/deprecated/preview/globals.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('storybook/internal/preview/globals');
export * from 'storybook/internal/preview/globals';
12 changes: 10 additions & 2 deletions code/deprecated/preview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/preview",
"version": "8.3.0-alpha.2",
"version": "8.2.5",
ndelangen marked this conversation as resolved.
Show resolved Hide resolved
"description": "",
"keywords": [
"storybook"
Expand All @@ -20,6 +20,14 @@
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
"./globals": {
"type": "./globals.d.ts",
"import": "./globals.js",
"require": "./globals.cjs"
}
},
"files": [
"README.md",
"*.js",
Expand All @@ -28,7 +36,7 @@
"*.d.ts"
],
"peerDependencies": {
"storybook": "workspace:^"
"storybook": "^8.2.5"
},
"publishConfig": {
"access": "public"
Expand Down
Loading