storybook
Advanced tools
Comparing version 0.0.0-pr-30197-sha-a3d613d5 to 0.0.0-pr-30202-sha-0063c5e6
@@ -1,6 +0,10 @@ | ||
import { __require } from './chunk-CQ7KV35C.js'; | ||
import ESM_COMPAT_Module from 'node:module'; | ||
import { fileURLToPath } from 'node:url'; | ||
import { dirname } from 'node:path'; | ||
var corePath=dirname(__require.resolve("@storybook/core/package.json")); | ||
const __filename = fileURLToPath(import.meta.url); | ||
dirname(__filename); | ||
const require = ESM_COMPAT_Module.createRequire(import.meta.url); | ||
var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var corePath=dirname(__require.resolve("@storybook/core/package.json")); | ||
export { corePath }; |
@@ -0,3 +1,9 @@ | ||
import ESM_COMPAT_Module from 'node:module'; | ||
import { fileURLToPath } from 'node:url'; | ||
import { dirname } from 'node:path'; | ||
import { deprecate } from '@storybook/core/node-logger'; | ||
const __filename = fileURLToPath(import.meta.url); | ||
dirname(__filename); | ||
ESM_COMPAT_Module.createRequire(import.meta.url); | ||
deprecate("Exports from @storybook/cli are removed. Please import from @storybook/core-common instead."); |
@@ -1,5 +0,10 @@ | ||
import { __require } from './chunk-CQ7KV35C.js'; | ||
import ESM_COMPAT_Module from 'node:module'; | ||
import { fileURLToPath } from 'node:url'; | ||
import { dirname } from 'node:path'; | ||
import { versions } from '@storybook/core/common'; | ||
import { spawn } from 'child_process'; | ||
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);});} | ||
const __filename = fileURLToPath(import.meta.url); | ||
dirname(__filename); | ||
ESM_COMPAT_Module.createRequire(import.meta.url); | ||
var args=process.argv.slice(2);if(["dev","build"].includes(args[0]))import('@storybook/core/cli/bin').catch(e=>{console.error("Failed to load @storybook/core/cli/bin",e),process.exit(1);});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-30197-sha-a3d613d5", | ||
"version": "0.0.0-pr-30202-sha-0063c5e6", | ||
"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", | ||
@@ -319,6 +315,6 @@ "require": "./dist/core-path.cjs" | ||
"dependencies": { | ||
"@storybook/core": "0.0.0-pr-30197-sha-a3d613d5" | ||
"@storybook/core": "0.0.0-pr-30202-sha-0063c5e6" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.3.2" | ||
"typescript": "^5.7.3" | ||
}, | ||
@@ -343,5 +339,8 @@ "peerDependencies": { | ||
], | ||
"platform": "node" | ||
"formats": [ | ||
"cjs", | ||
"node-esm" | ||
] | ||
}, | ||
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
23653
215
104
+ Added@storybook/core@0.0.0-pr-30202-sha-0063c5e6(transitive)
+ Added@storybook/theming@0.0.0-pr-30202-sha-0063c5e6(transitive)
- Removed@storybook/core@0.0.0-pr-30197-sha-a3d613d5(transitive)
- Removed@storybook/csf@0.1.14--canary.f3da709.0(transitive)
- Removed@storybook/theming@0.0.0-pr-30197-sha-a3d613d5(transitive)