@arwen/arwen-cli
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@arwen/arwen-cli", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "arwen-cli", | ||
@@ -13,6 +13,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@arwen/arwen-utils": "^0.0.2", | ||
"compression": "^1.7.4", | ||
"cross-spawn": "^6.0.5", | ||
"express": "^4.16.4", | ||
"fs-extra": "^7.0.1", | ||
"pm2": "^3.4.1", | ||
@@ -19,0 +18,0 @@ "yargs": "^13.2.2" |
@@ -0,4 +1,5 @@ | ||
const path = require('path') | ||
const { | ||
chalk, | ||
fse, | ||
path, | ||
spawn, | ||
@@ -51,14 +52,14 @@ ErrorHandler, | ||
return new Promise((resolve, reject) => { | ||
// const child = spawn('yarn', ['link', '@arwen/h_ui-scripts', '@arwen/arwen-utils'], { | ||
const child = spawn('yarn', ['link', '@arwen/h_ui-scripts'], { | ||
stdio: 'inherit' | ||
}) // dev | ||
// const child = spawn('yarn', [ | ||
// 'add', '@arwen/h_ui-scripts', | ||
// '--dev', | ||
// '--registry', 'http://registry.npm.taobao.org' | ||
// ], { | ||
// stdio: 'inherit' | ||
// }) // dev | ||
// }) // prod | ||
const child = spawn('npm', [ | ||
'install', '@arwen/h_ui-scripts', '@arwen/arwen-utils', | ||
'-d', | ||
'--registry', 'http://registry.npm.taobao.org' | ||
], { | ||
stdio: 'inherit' | ||
}) // prod | ||
child.on('close', code => { | ||
@@ -82,15 +83,14 @@ if (code !== 0) return reject() | ||
let projectDeps = [] | ||
// let projectDeps = [] | ||
// | ||
// for (let i = 0; i < pkgConfig.dependencies.length; i++) { | ||
// if (['@arwen/h_ui-scripts', '@arwen/arwen-utils'].includes(pkgConfig.dependencies[i])) { | ||
// continue | ||
// } else { | ||
// projectDeps.push(pkgConfig.dependencies[i]) | ||
// } | ||
// } | ||
for (let i = 0; i < pkgConfig.dependencies.length; i++) { | ||
if (['@arwen/h_ui-scripts', '@arwen/arwen-utils'].includes(pkgConfig.dependencies[i])) { | ||
continue | ||
} else { | ||
projectDeps.push(pkgConfig.dependencies[i]) | ||
} | ||
} | ||
const child = spawn('npm', [ | ||
'install', ...projectDeps, | ||
'-d', | ||
const child = spawn('yarn', [ | ||
// 'add', ...projectDeps, | ||
'--registry', 'http://registry.npm.taobao.org' | ||
@@ -97,0 +97,0 @@ ], { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17033
5
11
441
0
+ Added@arwen/arwen-utils@^0.0.2
+ Added@arwen/arwen-utils@0.0.2(transitive)
+ Added@babel/code-frame@7.0.0(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/highlight@7.24.7(transitive)
+ Added@mrmlnc/readdir-enhanced@2.2.1(transitive)
+ Added@nodelib/fs.stat@1.1.3(transitive)
+ Addedaddress@1.0.3(transitive)
+ Addedansi-escapes@3.2.0(transitive)
+ Addedansi-regex@3.0.1(transitive)
+ Addedarray-filter@0.0.1(transitive)
+ Addedarray-map@0.0.1(transitive)
+ Addedarray-reduce@0.0.0(transitive)
+ Addedarray-union@1.0.2(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedbabel-code-frame@6.26.0(transitive)
+ Addedbig.js@5.2.2(transitive)
+ Addedbrowserslist@4.4.1(transitive)
+ Addedcall-me-maybe@1.0.2(transitive)
+ Addedcaniuse-lite@1.0.30001664(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcli-width@2.2.1(transitive)
+ Addeddetect-port-alt@1.1.6(transitive)
+ Addeddir-glob@2.0.0(transitive)
+ Addedduplexer@0.1.2(transitive)
+ Addedelectron-to-chromium@1.5.29(transitive)
+ Addedemojis-list@2.1.0(transitive)
+ Addedeventsource@1.1.2(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addedfast-glob@2.2.7(transitive)
+ Addedfaye-websocket@0.11.4(transitive)
+ Addedfigures@2.0.0(transitive)
+ Addedfilesize@3.6.1(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedfork-ts-checker-webpack-plugin@1.0.0-alpha.6(transitive)
+ Addedglob-to-regexp@0.3.0(transitive)
+ Addedglobal-modules@2.0.0(transitive)
+ Addedglobal-prefix@3.0.0(transitive)
+ Addedglobby@8.0.2(transitive)
+ Addedgzip-size@5.0.0(transitive)
+ Addedhttp-parser-js@0.5.8(transitive)
+ Addedignore@3.3.10(transitive)
+ Addedimmer@1.10.0(transitive)
+ Addedinquirer@6.2.1(transitive)
+ Addedis-root@2.0.0(transitive)
+ Addedis-wsl@1.1.0(transitive)
+ Addedjs-tokens@3.0.24.0.0(transitive)
+ Addedjson3@3.3.3(transitive)
+ Addedjson5@1.0.2(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedloader-utils@1.2.3(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedmerge@1.2.1(transitive)
+ Addedmerge2@1.4.1(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedminimatch@3.0.4(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmute-stream@0.0.7(transitive)
+ Addednode-releases@1.1.77(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedopn@5.4.0(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedpath-type@3.0.0(transitive)
+ Addedpicocolors@1.1.0(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedpkg-up@2.0.0(transitive)
+ Addedquerystringify@2.2.0(transitive)
+ Addedreact-dev-utils@8.0.0(transitive)
+ Addedreact-error-overlay@5.1.6(transitive)
+ Addedrecursive-readdir@2.2.2(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrxjs@6.6.7(transitive)
+ Addedshell-quote@1.6.1(transitive)
+ Addedslash@1.0.0(transitive)
+ Addedsockjs-client@1.3.0(transitive)
+ Addedstring-width@2.1.1(transitive)
+ Addedstrip-ansi@4.0.05.0.0(transitive)
+ Addedtapable@1.1.3(transitive)
+ Addedtext-table@0.2.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedurl-parse@1.5.10(transitive)
+ Addedwebsocket-driver@0.7.4(transitive)
+ Addedwebsocket-extensions@0.1.4(transitive)
- Removedcross-spawn@^6.0.5
- Removedfs-extra@^7.0.1
- Removedmute-stream@0.0.8(transitive)