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

@nx-go/nx-go

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-go/nx-go - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

2

package.json
{
"name": "@nx-go/nx-go",
"version": "2.3.1",
"version": "2.4.0",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "generators": "./generators.json",

@@ -13,3 +13,3 @@ "use strict";

const mainFile = (_c = options.main) === null || _c === void 0 ? void 0 : _c.replace(`${cwd}/`, '');
return (0, utils_1.runGoCommand)(context, 'run', [mainFile], { cmd: options.cmd, cwd });
return (0, utils_1.runGoCommand)(context, 'run', [mainFile, ...options.arguments], { cmd: options.cmd, cwd });
});

@@ -16,0 +16,0 @@ }

@@ -5,3 +5,3 @@ export interface ServeExecutorSchema {

main: string
outputPath: string
arguments: string[]
}

@@ -5,6 +5,30 @@ {

"title": "Serve executor",
"description": "",
"description": "Run the Go application",
"type": "object",
"properties": {},
"properties": {
"cmd": {
"type": "string",
"description": "Name of the go binary (usually 'go')",
"default": "go"
},
"cwd": {
"type": "string",
"description": "Working directory from which to run the application",
"default": ""
},
"main": {
"type": "string",
"description": "Name of the file containing the main() function",
"default": "main.go"
},
"arguments": {
"description": "Command line arguments for the application",
"type": "array",
"items": {
"type": "string"
},
"default": []
}
},
"required": []
}

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