@nx-go/nx-go
Advanced tools
Comparing version 2.0.0-beta.0 to 2.0.0-beta.1
{ | ||
"name": "@nx-go/nx-go", | ||
"version": "2.0.0-beta.0", | ||
"version": "2.0.0-beta.1", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "generators": "./generators.json", |
@@ -5,2 +5,3 @@ <div align="center"> | ||
<img src="https://github.com/nx-go.png" title="nx-go" alt="nx-go logo"> | ||
<h2>Using nx-go in your company? Consider <a href="https://github.com/sponsors/beeman">sponsoring me</a> and get priority support in the issues.</h2> | ||
</div> | ||
@@ -15,3 +16,10 @@ | ||
```bash | ||
yarn create nx-workspace go-playground --preset=empty --cli=nx --nx-cloud true | ||
pnpm dlx create-nx-workspace go-playground --preset=empty --cli=nx --nx-cloud true | ||
## Or using yarn | ||
# yarn create nx-workspace go-playground --preset=empty --cli=nx --nx-cloud true | ||
## Or using npm | ||
# npm exec create-nx-workspace go-playground --preset=empty --cli=nx --nx-cloud true | ||
``` | ||
```bash | ||
cd go-playground | ||
@@ -23,3 +31,7 @@ ``` | ||
```bash | ||
yarn add -D @nx-go/nx-go | ||
pnpm add -D @nx-go/nx-go | ||
## Or using yarn | ||
# yarn add -D @nx-go/nx-go | ||
## Or using npm | ||
# npm install -D @nx-go/nx-go | ||
``` | ||
@@ -76,2 +88,3 @@ | ||
"cmd": "gow", | ||
"cwd": ".", // Set working dir to project root so it picks up changes in `libs/*` | ||
"main": "apps/api/main.go" | ||
@@ -128,3 +141,3 @@ } | ||
# This is the stage where the final production image is built | ||
FROM golang:1.14-alpine as final | ||
FROM golang:1.17-alpine as final | ||
@@ -131,0 +144,0 @@ # Copy over artifacts from builder image |
@@ -13,3 +13,2 @@ "use strict"; | ||
const mainFile = (_d = (_c = options.main) === null || _c === void 0 ? void 0 : _c.replace(`${cwd}/`, '')) === null || _d === void 0 ? void 0 : _d.replace(`${sourceRoot}/`, ''); | ||
console.log(JSON.stringify({ cwd, mainFile, options, context }, null, 2)); | ||
return (0, utils_1.runGoCommand)(context, 'run', [mainFile], { cmd: options.cmd, cwd }); | ||
@@ -16,0 +15,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
27747
156
1
416