storybook
Advanced tools
Comparing version 0.0.0-pr-30516-sha-0cd4ee4f to 0.0.0-pr-30534-sha-79a2a1e9
@@ -1,6 +0,9 @@ | ||
import { __require } from './chunk-CQ7KV35C.js'; | ||
import ESM_COMPAT_Module1 from 'node:module'; | ||
import 'node:url'; | ||
import { dirname } from 'node:path'; | ||
import { __require } from './chunk-OWLSIX54.js'; | ||
ESM_COMPAT_Module1.createRequire(import.meta.url); | ||
var corePath=dirname(__require.resolve("@storybook/core/package.json")); | ||
export { corePath }; |
@@ -0,3 +1,7 @@ | ||
import ESM_COMPAT_Module1 from 'node:module'; | ||
import 'node:url'; | ||
import 'node:path'; | ||
import { deprecate } from '@storybook/core/node-logger'; | ||
ESM_COMPAT_Module1.createRequire(import.meta.url); | ||
deprecate("Exports from @storybook/cli are removed. Please import from @storybook/core-common instead."); |
@@ -1,5 +0,9 @@ | ||
import { __require } from './chunk-CQ7KV35C.js'; | ||
import ESM_COMPAT_Module1 from 'node:module'; | ||
import 'node:url'; | ||
import 'node:path'; | ||
import { __require } from './chunk-OWLSIX54.js'; | ||
import { versions } from '@storybook/core/common'; | ||
import { spawn } from 'child_process'; | ||
ESM_COMPAT_Module1.createRequire(import.meta.url); | ||
var args=process.argv.slice(2);if(["dev","build"].includes(args[0]))__require("@storybook/core/cli/bin");else {let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${versions.storybook}`,...args]];spawn(command[0],command.slice(1),{stdio:"inherit",shell:!0}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1);});} |
{ | ||
"name": "storybook", | ||
"version": "0.0.0-pr-30516-sha-0cd4ee4f", | ||
"version": "0.0.0-pr-30534-sha-79a2a1e9", | ||
"description": "Storybook's CLI - install, dev, build, upgrade, and more", | ||
@@ -35,9 +35,5 @@ "keywords": [ | ||
}, | ||
"./bin/index.cjs": { | ||
"node": "./bin/index.cjs", | ||
"require": "./bin/index.cjs" | ||
}, | ||
"./bin/index.cjs": "./bin/index.cjs", | ||
"./core-path": { | ||
"types": "./dist/core-path.d.ts", | ||
"node": "./dist/core-path.cjs", | ||
"import": "./dist/core-path.js", | ||
@@ -107,2 +103,7 @@ "require": "./dist/core-path.cjs" | ||
}, | ||
"./internal/csf": { | ||
"types": "./core/csf/index.d.ts", | ||
"import": "./core/csf/index.js", | ||
"require": "./core/csf/index.cjs" | ||
}, | ||
"./internal/csf-tools": { | ||
@@ -198,7 +199,2 @@ "types": "./core/csf-tools/index.d.ts", | ||
"import": "./core/preview/runtime.js" | ||
}, | ||
"./internal/csf": { | ||
"types": "./core/csf/index.d.ts", | ||
"import": "./core/csf/index.js", | ||
"require": "./core/csf/index.cjs" | ||
} | ||
@@ -329,3 +325,3 @@ }, | ||
"dependencies": { | ||
"@storybook/core": "0.0.0-pr-30516-sha-0cd4ee4f" | ||
"@storybook/core": "0.0.0-pr-30534-sha-79a2a1e9" | ||
}, | ||
@@ -353,5 +349,8 @@ "devDependencies": { | ||
], | ||
"platform": "node" | ||
"formats": [ | ||
"cjs", | ||
"node-esm" | ||
] | ||
}, | ||
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" | ||
} |
23010
214
+ Added@storybook/core@0.0.0-pr-30534-sha-79a2a1e9(transitive)
+ Added@storybook/theming@0.0.0-pr-30534-sha-79a2a1e9(transitive)
- Removed@storybook/core@0.0.0-pr-30516-sha-0cd4ee4f(transitive)
- Removed@storybook/theming@0.0.0-pr-30516-sha-0cd4ee4f(transitive)