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

create-bento

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-bento - npm Package Compare versions

Comparing version 1.0.4 to 1.0.6

25

lib/index.js

@@ -15,2 +15,3 @@ #!/usr/bin/env node

const { version } = require("../package.json");
const which = require("which");

@@ -37,2 +38,8 @@ async function cli() {

let manager = "npm";
if (which.sync("yarn", { nothrow: true })) {
manager = "yarn";
}
// prompt required info

@@ -80,2 +87,3 @@ const info = await inquirer.prompt([

templateFile({
manager,
...info

@@ -114,6 +122,15 @@ }),

console.log(`
Your project has been created in ${destination}.
To get started run: ${chalk.blue(
`cd ${folder} && yarn && yarn run storybook`
)}
Right on! Your library has been created in ${destination}.
To get started:
Enter the newly created directory
${chalk.blue(`cd ${folder}`)}
Install the dependencies
${chalk.blue(`${manager}`)}
Run storybook
${chalk.blue(`${manager} run storybook`)}
`);

@@ -120,0 +137,0 @@ }

5

package.json
{
"name": "create-bento",
"version": "1.0.4",
"version": "1.0.6",
"description": "Bootstrap your react libraries with typescript and storybook",

@@ -30,4 +30,5 @@ "main": "index.js",

"ora": "^3.2.0",
"p-each-series": "^2.0.0"
"p-each-series": "^2.0.0",
"which": "^1.3.1"
}
}

@@ -7,8 +7,9 @@ # Create Bento

Currently, `create-bento` requires yarn. Create a new library using the following command:
Create a new library using the following command:
```
yarn create bento my-library-name
yarn global add create-bento
create-bento my-project-name
```
And then follow the provided instructions to get started working on your library.

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