Skip to content

Commit

Permalink
Merge pull request #28539 from storybookjs/norbert/cpc-add-mjs-to-csf…
Browse files Browse the repository at this point in the history
…-tools-shim

CPC: Add `ESM` export to `docs-tools` & `node-logger` packages
(cherry picked from commit 4997e09)
  • Loading branch information
ndelangen authored and storybook-bot committed Jul 10, 2024
1 parent 9fc3655 commit e2e9331
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/deprecated/docs-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@
"exports": {
".": {
"types": "./shim.d.ts",
"import": "./shim.mjs",
"require": "./shim.js"
},
"./package.json": "./package.json"
},
"main": "./shim.js",
"module": "./shim.mjs",
"types": "./shim.d.ts",
"files": [
"README.md",
Expand Down
1 change: 1 addition & 0 deletions code/deprecated/docs-tools/shim.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'storybook/internal/docs-tools';
2 changes: 2 additions & 0 deletions code/deprecated/node-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@
"exports": {
".": {
"types": "./shim.d.ts",
"module": "./shim.mjs",
"require": "./shim.js"
},
"./package.json": "./package.json"
},
"main": "./shim.js",
"module": "./shim.mjs",
"types": "./shim.d.ts",
"files": [
"README.md",
Expand Down
1 change: 1 addition & 0 deletions code/deprecated/node-logger/shim.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'storybook/internal/node-logger';

0 comments on commit e2e9331

Please sign in to comment.