Comparing version 1.1.5 to 1.2.0
@@ -7,21 +7,10 @@ #!/usr/bin/env node | ||
const args = arg({ | ||
// Types | ||
'--help': Boolean, | ||
'--version': Boolean, | ||
'--verbose': arg.COUNT, // Counts the number of times --verbose is passed | ||
'--port': Number, // --port <number> or --port=<number> | ||
'--name': String, // --name <string> or --name=<string> | ||
'--tag': [String], // --tag <string> or --tag=<string> | ||
// Aliases | ||
'-P': '--port', | ||
'-v': '--verbose', | ||
'-n': '--name', // -n <string>; result is stored in --name | ||
'--label': '--name' // --label <string> or --label=<string>; | ||
// result is stored in --name | ||
}); | ||
let port = args['--port'] || DEFAULT_PORT; | ||
console.log(args) | ||
app.listen(port); | ||
console.log('running: ' + port); |
{ | ||
"name": "my-ci", | ||
"version": "1.1.5", | ||
"version": "1.2.0", | ||
"description": "", | ||
"main": "index.js", | ||
"bin": { | ||
"my-ci-init": "./bin/workspace-init.js", | ||
"my-ci-app": "./bin/app-start.js", | ||
"my-ci-stop": "./bin/app-stop.js" | ||
"myci": "./bin/myci.js" | ||
}, | ||
@@ -27,2 +25,3 @@ "scripts": { | ||
"arg": "^5.0.2", | ||
"fs-extra": "^11.1.1", | ||
"ini": "^4.1.0", | ||
@@ -29,0 +28,0 @@ "js-yaml": "^4.1.0", |
@@ -18,3 +18,3 @@ const path = require('path'); | ||
function appLogPath(sub = '') { | ||
return path.resolve(userHomeDir, logDir, sub); | ||
return path.resolve(userHomeDir, dataDir, logDir, sub); | ||
} | ||
@@ -21,0 +21,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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
305455
19
335
1
68
10
+ Addedfs-extra@^11.1.1
+ Addedfs-extra@11.2.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addeduniversalify@2.0.1(transitive)