New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-storybook

Package Overview
Dependencies
Maintainers
7
Versions
348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-storybook - npm Package Compare versions

Comparing version

to
0.0.0-pr-29157-sha-6bbffdff

dist/chunk-AUYGWYGV.js

8

dist/bin/index.js

@@ -1,2 +0,5 @@

import { initiate } from '../chunk-A22TIAHH.js';
import ESM_COMPAT_Module from 'node:module';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
import { initiate } from '../chunk-AUYGWYGV.js';
import { versions } from 'storybook/internal/common';

@@ -8,2 +11,5 @@ import { addToGlobalContext } from 'storybook/internal/telemetry';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
ESM_COMPAT_Module.createRequire(import.meta.url);
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);

@@ -1,1 +0,8 @@

export { doInitiate as initiate } from './chunk-A22TIAHH.js';
import ESM_COMPAT_Module from 'node:module';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
export { doInitiate as initiate } from './chunk-AUYGWYGV.js';
const __filename = fileURLToPath(import.meta.url);
dirname(__filename);
ESM_COMPAT_Module.createRequire(import.meta.url);

4

package.json
{
"name": "create-storybook",
"version": "0.0.0-pr-29152-sha-0d238e2d",
"version": "0.0.0-pr-29157-sha-6bbffdff",
"description": "Initialize Storybook into your project",

@@ -68,3 +68,3 @@ "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/create-storybook",

"semver": "^7.3.7",
"storybook": "0.0.0-pr-29152-sha-0d238e2d",
"storybook": "0.0.0-pr-29157-sha-6bbffdff",
"tiny-invariant": "^1.3.1",

@@ -71,0 +71,0 @@ "ts-dedent": "^2.0.0"