create-storybook
Advanced tools
Comparing version 0.0.0-pr-28768-sha-f4bf860e to 0.0.0-pr-28882-sha-90fe4bc9
@@ -1,8 +0,8 @@ | ||
import { initiate } from '../chunk-ZBOTO4UW.js'; | ||
import { initiate } from '../chunk-2CK2SGPP.js'; | ||
import { versions } from 'storybook/internal/common'; | ||
import { addToGlobalContext } from 'storybook/internal/telemetry'; | ||
import program from 'commander'; | ||
import { findPackageSync } from 'fd-package-json'; | ||
import invariant from 'tiny-invariant'; | ||
import { addToGlobalContext } from 'storybook/internal/telemetry'; | ||
import { versions } from 'storybook/internal/common'; | ||
addToGlobalContext("cliVersion",versions.storybook);var pkg=findPackageSync(__dirname);invariant(pkg,"Failed to find the closest package.json file.");program.name("Initialize Storybook into your project.").option("--disable-telemetry","Disable sending telemetry data",process.env.STORYBOOK_DISABLE_TELEMETRY&&process.env.STORYBOOK_DISABLE_TELEMETRY!=="false").option("--debug","Get more logs in debug mode",!1).option("--enable-crash-reports","Enable sending crash reports to telemetry data").option("-f --force","Force add Storybook").option("-s --skip-install","Skip installing deps").option("--package-manager <npm|pnpm|yarn1|yarn2>","Force package manager for installing deps").option("--use-pnp","Enable pnp mode for Yarn 2+").option("-p --parser <babel | babylon | flow | ts | tsx>","jscodeshift parser").option("-t --type <type>","Add Storybook for a specific project type").option("-y --yes","Answer yes to all prompts").option("-b --builder <webpack5 | vite>","Builder library").option("-l --linkable","Prepare installation for link (contributor helper)").option("--dev","Launch the development server after completing initialization. Enabled by default",process.env.CI!=="true"&&process.env.IN_STORYBOOK_SANDBOX!=="true").option("--no-dev","Complete the initialization of Storybook without launching the Storybook development server").action(options=>{initiate(options).catch(()=>process.exit(1));}).version(String(pkg.version)).parse(process.argv); |
@@ -0,3 +1,3 @@ | ||
import { ProjectType, Builder } from 'storybook/internal/cli'; | ||
import { PackageManagerName, JsPackageManager } from 'storybook/internal/common'; | ||
import { ProjectType, Builder } from 'storybook/internal/cli'; | ||
@@ -4,0 +4,0 @@ type CommandOptions = { |
@@ -1,1 +0,1 @@ | ||
export { doInitiate as initiate } from './chunk-ZBOTO4UW.js'; | ||
export { doInitiate as initiate } from './chunk-2CK2SGPP.js'; |
{ | ||
"name": "create-storybook", | ||
"version": "0.0.0-pr-28768-sha-f4bf860e", | ||
"version": "0.0.0-pr-28882-sha-90fe4bc9", | ||
"description": "Initialize Storybook into your project", | ||
@@ -54,4 +54,4 @@ "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/create-storybook", | ||
"scripts": { | ||
"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" | ||
"check": "jiti ../../../scripts/prepare/check.ts", | ||
"prep": "jiti ../../../scripts/prepare/bundle.ts" | ||
}, | ||
@@ -70,3 +70,3 @@ "dependencies": { | ||
"semver": "^7.3.7", | ||
"storybook": "0.0.0-pr-28768-sha-f4bf860e", | ||
"storybook": "0.0.0-pr-28882-sha-90fe4bc9", | ||
"tiny-invariant": "^1.3.1", | ||
@@ -73,0 +73,0 @@ "ts-dedent": "^2.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
33
1064054
1626
+ Added@storybook/core@0.0.0-pr-28882-sha-90fe4bc9(transitive)
+ Added@types/node@22.10.5(transitive)
+ Addedstorybook@0.0.0-pr-28882-sha-90fe4bc9(transitive)
+ Addedundici-types@6.20.0(transitive)
- Removed@storybook/core@0.0.0-pr-28768-sha-f4bf860e(transitive)
- Removed@types/node@18.19.70(transitive)
- Removedstorybook@0.0.0-pr-28768-sha-f4bf860e(transitive)
- Removedundici-types@5.26.5(transitive)