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

create-interval-app

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-interval-app - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

9

dist/index.js

@@ -93,3 +93,4 @@ "use strict";

}
console.log(`Creating an Interval app with the ${args.template} template...`);
const langName = args.language === 'javascript' ? 'JavaScript' : 'TypeScript';
console.log(`Creating a ${langName} Interval app with the ${args.template} template...`);
console.log('Fetching app template...');

@@ -122,3 +123,7 @@ try {

child_process_1.default.execSync(installCommand, { cwd: args.destination });
const langName = args.language === 'javascript' ? 'JavaScript' : 'TypeScript';
// if there's a sample .env file, rename it to .env
try {
child_process_1.default.execSync(`mv .env_sample .env`, { cwd: args.destination });
}
catch (e) { }
const packageManager = isYarn ? 'yarn' : 'npm';

@@ -125,0 +130,0 @@ let startCommand = `${packageManager} start`;

{
"name": "create-interval-app",
"version": "0.1.1",
"version": "0.1.2",
"description": "Quickly bootstrap a new Interval project.",

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

@@ -128,4 +128,8 @@ import degit from 'tiged'

console.log(`Creating an Interval app with the ${args.template} template...`)
const langName = args.language === 'javascript' ? 'JavaScript' : 'TypeScript'
console.log(
`Creating a ${langName} Interval app with the ${args.template} template...`
)
console.log('Fetching app template...')

@@ -169,3 +173,6 @@

const langName = args.language === 'javascript' ? 'JavaScript' : 'TypeScript'
// if there's a sample .env file, rename it to .env
try {
childProcess.execSync(`mv .env_sample .env`, { cwd: args.destination })
} catch (e) {}

@@ -172,0 +179,0 @@ const packageManager = isYarn ? 'yarn' : 'npm'

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