🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ny-cli-p

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ny-cli-p - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+2
-3
command/init.js

@@ -12,3 +12,2 @@ "use strict";

const fse = require("fs-extra");
const os = require('os');
const {getModuleList} = require("../config/getTemplate");

@@ -77,5 +76,5 @@ const config = require("../template");

];
const latestVersion = execSync(`nyyx-cli --version`, {"encoding": "utf8"}).replace("\n", "");
const latestVersion = execSync(`ny-cli --version`, {"encoding": "utf8"}).replace("\n", "");
if (require("../package.json").version !== latestVersion) {
console.log(chalk.red(`${require("../package.json").version}-->${latestVersion},请执行npm i nyyx-cli -g 获取最新版本,以达到最佳使用体验\n`));
console.log(chalk.red(`${require("../package.json").version}-->${latestVersion},请执行npm i ny-cli -g 获取最新版本,以达到最佳使用体验\n`));
}

@@ -82,0 +81,0 @@ inquirer.prompt(promptList).then(async answer => {

+1
-3
{
"name": "ny-cli-p",
"version": "1.0.0",
"version": "1.0.1",
"description": "南邮医信前端脚手架,有vue2、vue3、react等pc和移动端模版",

@@ -23,4 +23,2 @@ "scripts": {

"chalk": "^4.1.2",
"co": "^4.6.0",
"co-prompt": "^1.0.0",
"commander": "^8.1.0",

@@ -27,0 +25,0 @@ "execa": "^5.1.1",