Socket
Socket
Sign inDemoInstall

@smartsoft001/cli

Package Overview
Dependencies
22
Maintainers
1
Versions
450
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.60 to 1.1.61

8

package.json
{
"name": "@smartsoft001/cli",
"version": "1.1.60",
"version": "1.1.61",
"bin": {

@@ -8,5 +8,5 @@ "smart": "bin/smart.js"

"dependencies": {
"fs-extra": "9.1.0",
"tslib": "2.4.1",
"yargs": "17.6.2"
"fs-extra": "^9.0.1",
"tslib": "^2.0.3",
"yargs": "^16.1.0"
},

@@ -13,0 +13,0 @@ "main": "src/index.js",

@@ -9,33 +9,33 @@ "use strict";

function runInstallDeps(target) {
(0, utils_1.log)('Install dependencies');
(0, utils_1.log)("Install dependencies");
const deps = [
'@smartsoft001/core',
"@smartsoft001/core",
"passport",
'@angular/material',
'@angular/cdk',
'@ionic-native/core',
"@nestjs/cqrs"
"@angular/material",
"@angular/cdk",
"@ionic-native/core",
"@nestjs/cqrs",
];
const installDevDeps = `npm i ${deps.join(' ')} --save --force`;
const installDevDeps = `npm i ${deps.join(" ")} --save --force`;
(0, utils_1.runCommand)(installDevDeps, target);
}
function runInstallDevDeps(target) {
(0, utils_1.log)('Install dev dependencies');
(0, utils_1.log)("Install dev dependencies");
const devDeps = [
//'@smartsoft001/schematics',
'@ionic/angular-toolkit',
'@ngneat/spectator',
'@ngrx/schematics',
'@ngrx/store-devtools',
'ng-mocks',
'jest-junit',
'jest-preset-angular',
'mock-local-storage',
'schematics-utilities'
"@ionic/angular-toolkit",
"@ngneat/spectator",
"@ngrx/schematics",
"@ngrx/store-devtools",
"ng-mocks",
"jest-junit",
"jest-preset-angular",
"mock-local-storage",
"schematics-utilities",
];
const installDevDeps = `npm i ${devDeps.join(' ')} -D --force`;
const installDevDeps = `npm i ${devDeps.join(" ")} -D --force`;
(0, utils_1.runCommand)(installDevDeps, target);
}
function runSetNgConfig(target) {
(0, utils_1.log)('Set NG config');
(0, utils_1.log)("Set NG config");
//runCommand("ng analytics project off", target);

@@ -46,13 +46,13 @@ (0, utils_1.runCommand)("ng config cli.defaultCollection @smartsoft001/schematics", target);

function runNgAdd(target) {
(0, utils_1.log)('NG add');
(0, utils_1.log)("NG add");
const plugins = [
'@nrwl/angular',
'@nrwl/node',
'@nrwl/nest',
'@nrwl/cypress',
'@nrwl/storybook',
'@nrwl/jest',
"@nx/angular",
"@nx/node",
"@nx/nest",
"@nx/cypress",
"@nx/storybook",
"@nx/jest",
];
(0, utils_1.runCommand)(`npm i ${plugins.join(' ')} --save`, target);
plugins.forEach(plugin => {
(0, utils_1.runCommand)(`npm i ${plugins.join(" ")} --save`, target);
plugins.forEach((plugin) => {
(0, utils_1.runCommand)(`npx nx g ${plugin}:ng-add`, target);

@@ -62,10 +62,10 @@ });

function createNxWorkspace(name) {
(0, utils_1.log)('Creating Nx Workspace');
(0, utils_1.log)("Creating Nx Workspace");
const params = [
'--nx-cloud=true',
'--preset=empty',
'--cli=angular',
'--package-manager=npm',
"--nx-cloud=true",
"--preset=empty",
"--cli=angular",
"--package-manager=npm",
];
const createCommand = `npx create-nx-workspace@latest ${name} ${params.join(' ')}`;
const createCommand = `npx create-nx-workspace@latest ${name} ${params.join(" ")}`;
(0, utils_1.runCommand)(createCommand);

@@ -72,0 +72,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc