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

07-cli

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

07-cli - npm Package Compare versions

Comparing version 2.4.5 to 2.4.6

20

commands/cra.js

@@ -40,7 +40,7 @@ /*

if (name) {
let exists = fs.existsSync(`07_cra_${name}`);
let exists = fs.existsSync(`${name}`);
if (!exists) {
if (options.start === true) {
execSync(
`npx create-react-app 07_cra_${name} --template 07 && cd 07_cra_${name} && yarn && yarn start && code .`,
`npx create-react-app ${name} --template 07 && cd ${name} && yarn && yarn start && code .`,
{

@@ -51,8 +51,5 @@ stdio: "inherit",

} else {
execSync(
`npx create-react-app 07_cra_${name} --template 07`,
{
stdio: "inherit",
}
);
execSync(`npx create-react-app ${name} --template 07`, {
stdio: "inherit",
});
}

@@ -62,5 +59,4 @@ rl.close("success");

console.log(
`\n${e("worried")} Folder already exists: ${
`07_cra_${name}`.meta
}`.error
`\n${e("worried")} Folder already exists: ${`${name}`.meta}`
.error
);

@@ -80,3 +76,3 @@ rl.close("failure");

`${e("shrug")} Hva skal prosjektet hete? ${
"e.g. byggma-kalkulator".meta
"e.g. 07_cra_byggma-kalkulator".meta
} `,

@@ -83,0 +79,0 @@ function (name) {

2

package.json
{
"name": "07-cli",
"version": "2.4.5",
"version": "2.4.6",
"description": "A command line tool for 07 organization",

@@ -5,0 +5,0 @@ "main": "index.js",

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