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

Scripts: Transform scripts directory to type:module #24698

Merged
merged 26 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8286a8d
Convert build-package to Typescript
valentinpalkovic Nov 3, 2023
b7ef8c5
Use esbuild as esm loader for node
valentinpalkovic Nov 3, 2023
c436354
Convert require commonjs expressions to esm equivalents
valentinpalkovic Nov 3, 2023
946d863
Fix babel and eslint
valentinpalkovic Nov 3, 2023
3c806e0
Fix tests
valentinpalkovic Nov 3, 2023
e22f3b9
Fix generate-sandbox script
valentinpalkovic Nov 3, 2023
baa57e0
Remove ts-node in scripts
valentinpalkovic Nov 3, 2023
50a7d47
Fix check script
valentinpalkovic Nov 3, 2023
c74b562
Fix run-registry script
valentinpalkovic Nov 3, 2023
122e94f
Fix Typescript issues
valentinpalkovic Nov 6, 2023
103794e
Replace tsup with esbuild
valentinpalkovic Nov 6, 2023
b9f0e4e
Use node directly to check angular framework
valentinpalkovic Nov 6, 2023
29f5388
Fix sandbox generation
valentinpalkovic Nov 6, 2023
2b32377
Merge remote-tracking branch 'origin/next' into valentin/use-type-mod…
valentinpalkovic Nov 6, 2023
1f17431
Merge branch 'valentin/remove-lerna' into valentin/use-type-module-in…
valentinpalkovic Nov 6, 2023
cf06a9c
Fix execaCommand in build-package
valentinpalkovic Nov 6, 2023
55dc4f2
Use esMain helper to check for execution origin
valentinpalkovic Nov 7, 2023
40e627f
Add import for execa package in
valentinpalkovic Nov 7, 2023
25b6907
Fix esMain helper usage
valentinpalkovic Nov 7, 2023
4baa40f
Fix danger.js
valentinpalkovic Nov 8, 2023
758c0de
Remove custom execa implementation
valentinpalkovic Nov 8, 2023
6d5080e
Fix tests
valentinpalkovic Nov 8, 2023
3c41176
Merge remote-tracking branch 'origin/next' into valentin/use-type-mod…
valentinpalkovic Nov 14, 2023
e792e6f
Update package.json scripts to use
valentinpalkovic Nov 14, 2023
e8f8a65
Replace default export of esMain by named export
valentinpalkovic Nov 14, 2023
46cb2fb
Merge branch 'next' into valentin/use-type-module-in-scripts
valentinpalkovic Nov 14, 2023
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
4 changes: 2 additions & 2 deletions code/addons/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/backgrounds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/controls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/blocks": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@jest/transform": "^29.3.1",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-actions": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/gfm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/node-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-events": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/interactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/measure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/outline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/storyshots-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/tsc.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/tsc.ts"
},
"dependencies": {
"@jest/transform": "^29.3.1",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/storyshots-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/tsc.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/tsc.ts"
},
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/storysource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/toolbars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/addons/viewport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/builders/builder-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
Expand Down
4 changes: 2 additions & 2 deletions code/builders/builder-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/builders/builder-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@babel/core": "^7.23.2",
Expand Down
4 changes: 2 additions & 2 deletions code/deprecated/addons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/manager-api": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/deprecated/channel-postmessage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/deprecated/channel-websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/facade.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/channels": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/deprecated/client-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/facade.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/deprecated/core-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"module": "dist/entry.mjs",
"types": "dist/entry.d.ts",
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/facade.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions code/deprecated/manager-api-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"!src/**/*"
],
"scripts": {
"check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
"prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/facade.ts"
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "workspace:*",
Expand Down
Loading