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.0.0-beta.4 to 2.0.0-beta.5

2

package.json
{
"name": "@nx-go/nx-go",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"main": "src/index.js",

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

@@ -74,20 +74,16 @@ <div align="center">

Find the key `projects.<app-name>.architect.serve.options` and set the `cmd` parameter to `gow`, like so:
Open the file `apps/<app-name>/project.json` and in the `targets.serve.options` object and set the `cmd` parameter to `gow` and the `cwd` parameter to `.`, like so:
```json
```json5
{
"projects": {
"api": {
"architect": {
"serve": {
"builder": "@nx-go/nx-go:serve",
"options": {
"cmd": "gow",
"cwd": ".", // Set working dir to project root so it picks up changes in `libs/*`
"main": "apps/api/main.go"
}
}
}
}
}
targets: {
serve: {
executor: '@nx-go/nx-go:serve',
options: {
cmd: 'gow', // This is the cmd that will be used
cwd: '.', // Set working dir to project root so it picks up changes in `libs/*`
main: 'apps/api/main.go',
},
},
},
}

@@ -94,0 +90,0 @@ ```

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

const projectNames = (0, devkit_1.names)(options.name);
const templateOptions = Object.assign(Object.assign(Object.assign({}, options), projectNames), { underscoreName: projectNames.fileName.split('-').join('_'), offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.projectRoot), template: '' });
const templateOptions = Object.assign(Object.assign(Object.assign({}, options), projectNames), { packageName: (0, devkit_1.names)(options.projectName).fileName.split('-').join('_'), offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.projectRoot), template: '' });
(0, devkit_1.generateFiles)(tree, srcFolder, options.projectRoot, templateOptions);

@@ -10,0 +10,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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