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
  • Loading branch information
ndelangen authored Jul 10, 2024
2 parents 707a207 + a151dd1 commit 4997e09
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 4997e09

Please sign in to comment.