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

create-l3-app

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-l3-app - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

27

bin.js

@@ -45,2 +45,25 @@ #!/usr/bin/env Node

function removeDefaultGit() {
return new Promise(resolve => {
const process = spawn('cd', [`./${projectName}`, '&&', 'rm', '-rf', '.git']);
process.on('close', code => {
resolve(code);
});
});
}
function createNewGit() {
return new Promise(resolve => {
const process = spawn('cd', [`./${projectName}`, '&&', 'git', 'init']);
process.on('close', code => {
resolve(code);
});
});
}
async function main() {

@@ -53,4 +76,8 @@ const projectName = await getProjectName();

await createProject(projectName);
await removeDefaultGit();
await createNewGit();
console.log('Project created!');
process.exit(0);
}

@@ -57,0 +84,0 @@

2

package.json
{
"name": "create-l3-app",
"version": "1.0.4",
"version": "1.0.5",
"bin": {

@@ -5,0 +5,0 @@ "create-l3-app": "bin.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