Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-storybook

Package Overview
Dependencies
Maintainers
0
Versions
242
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 0.0.0-pr-28768-sha-f4bf860e to 0.0.0-pr-28882-sha-90fe4bc9

dist/chunk-2CK2SGPP.js

6

dist/bin/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc