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

create-alpine-app

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-alpine-app - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

28

bin/index.js
#! /usr/bin/env node
console.log("Hello, World!");
const {execSync} = require('child_process');
const runCommand = command => {
try {
execSync (`${command}`, {stdio: 'inherit'});
} catch (e) {
console.error (`Failed to execute ${command}`, e);
return false;
}
return true;
}
const repoName = process.argv[2];
const gitCheckoutCommand = `git clone --depth 1 https://github.com/thedevdojo/create-alpine-app ${repoName}`;
const installDepsCommand = `cd ${repoName} && npm install`;
console. log(`Cloning the repository with name ${repoName}`);
const checkedOut = runCommand (gitCheckoutCommand);
if(!checkedOut) process.exit(1);
console.log("Congratulations! You are ready. Follow the following commands to start");
console.log(`cd ${repoName} && npm run dev`);

2

package.json
{
"name": "create-alpine-app",
"version": "0.0.3",
"version": "0.0.4",
"bin": {

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