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

dojo-cli-create-app

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dojo-cli-create-app - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

15

npmInstall.js

@@ -14,13 +14,24 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

else if (typeof define === 'function' && define.amd) {
define(["require", "exports"], factory);
define(["require", "exports", 'chalk'], factory);
}
})(function (require, exports) {
"use strict";
const chalk_1 = require('chalk');
const cs = require('cross-spawn');
const ora = require('ora');
function default_1() {
return __awaiter(this, void 0, void 0, function* () {
return new Promise((resolve, reject) => {
const spinner = ora({
spinner: 'dots',
color: 'white',
text: 'npm install'
}).start();
cs.spawn('npm', ['install'], { stdio: 'ignore' })
.on('close', resolve)
.on('close', () => {
spinner.stopAndPersist(chalk_1.green.bold(' completed'));
resolve();
})
.on('error', (err) => {
spinner.stopAndPersist(chalk_1.red.bold(' failed'));
reject(err);

@@ -27,0 +38,0 @@ });

3

package.json
{
"name": "dojo-cli-create-app",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "Command to scaffold a new command",

@@ -44,2 +44,3 @@ "homepage": "http://dojotoolkit.org",

"fs-extra": "^0.30.0",
"ora": "^0.3.0",
"pkg-dir": "^1.0.0",

@@ -46,0 +47,0 @@ "typings-core": "^1.4.1"

@@ -14,6 +14,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

else if (typeof define === 'function' && define.amd) {
define(["require", "exports", './createDir', './renderFiles', './npmInstall', './changeDir', './config', 'chalk', 'fs-extra', './dirname'], factory);
define(["require", "exports", 'path', './createDir', './renderFiles', './npmInstall', './changeDir', './config', 'chalk', 'fs-extra', './dirname'], factory);
}
})(function (require, exports) {
"use strict";
const path = require('path');
const createDir_1 = require('./createDir');

@@ -44,5 +45,4 @@ const renderFiles_1 = require('./renderFiles');

yield npmInstall_1.default();
console.info(chalk.green.bold(' completed ') + 'npm install');
console.info(chalk.underline('\nRunning typings install'));
yield typings.install({ cwd: '.' });
yield typings.install({ cwd: path.resolve('.') });
console.info(chalk.green.bold(' completed ') + 'typings install');

@@ -49,0 +49,0 @@ console.info(chalk.green.bold('\nAll done!\n'));

@@ -16,2 +16,3 @@ {

"dojo-widgets": "^2.0.0-alpha.11",
"dojo-interfaces": "^2.0.0-alpha.6",
"immutable": "^3.8.1",

@@ -18,0 +19,0 @@ "maquette": "^2.3.5"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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