New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-accurapp

Package Overview
Dependencies
Maintainers
4
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-accurapp - npm Package Compare versions

Comparing version 3.0.3 to 3.1.0

template/bitbucket-pipelines.yml

47

index.js

@@ -37,2 +37,6 @@ #!/usr/bin/env node

function reindent(text, numSpaces = 2) {
return text.split(`\n`).map(l => `${' '.repeat(numSpaces)}${l}`).join(`\n`)
}
function abort(message, errno = 1) {

@@ -61,21 +65,26 @@ console.error(`\n`)

const cli = meow(`
${coloredBanner('/||||/| accurapp', ['red', 'magenta'])}
Usage
${chalk.green('$')} ${chalk.cyan('create-accurapp')} ${chalk.yellow('<app-name>')}
const cli = meow({
description: false,
inferType: true,
help: `
${reindent(coloredBanner('/||||/| accurapp', ['red', 'magenta']), 4)}
Usage
${chalk.green('$')} ${chalk.cyan('create-accurapp')} ${chalk.yellow('<app-name>')}
Options
-v | --version = to print current version
-g | --no-git = do not run git init/commit
-i | --no-install = do not run yarn install
-d | --dry-run = to fake it all
-t | --testing = [internal] create a version for testing, referencing
the local accurapp-scripts as a 'file:' dependency
Creates a folder named ${chalk.yellow('<app-name>')}, with a flexible JS build configuration.
Example
${chalk.green('$')} ${chalk.cyan('create-accurapp mega-viz')}
\n\n
`, {
Options
-v | --version = to print current version
-g | --no-git = do not run git init && git commit
-i | --no-install = do not run yarn install
-d | --dry-run = to fake it all
-t | --testing = [internal] create a version for testing
Example
${chalk.green('$')} ${chalk.cyan('create-accurapp mega-viz --no-install')}
`,
}, {
alias: {
v: 'version',
h: 'help',
g: 'no-git',

@@ -93,2 +102,7 @@ i: 'no-install',

if (cli.input.length === 0 && !cli.flags.help) {
log.err(`No <app-name> specified! Displaying help.`)
cli.showHelp(1)
}
const appDir = path.resolve(cli.input[0])

@@ -110,2 +124,3 @@ const appName = path.basename(appDir)

version: '0.1.0',
license: 'MIT',
scripts: {

@@ -141,3 +156,3 @@ start: 'accurapp-scripts start',

const devDependenciesToInstall = isTesting
? devDependencies.map(dep => `file:../packages/${dep}`)
? devDependencies.map(dep => `file:${path.join(__dirname, `../${dep}`)}`) // Local package
: devDependencies

@@ -144,0 +159,0 @@ log.ok(`Installing dev packages: ${devDependenciesToInstall.map(d => chalk.cyan(d)).join(', ')}`)

{
"name": "create-accurapp",
"version": "3.0.3",
"version": "3.1.0",
"description": "Create accurat apps with minimum flexible build configuration",

@@ -5,0 +5,0 @@ "repository": "accurat/accurapp",

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