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

my-ci

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my-ci - npm Package Compare versions

Comparing version 1.1.5 to 1.2.0

.my-ci-example.yml

13

app/start.js

@@ -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

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