{"_id":"@clsx524/nx-go","_rev":"1-128878b29cb644d16b3b19ee247a81fe","name":"@clsx524/nx-go","dist-tags":{"latest":"3.2.1"},"versions":{"3.2.0":{"name":"@clsx524/nx-go","version":"3.2.0","keywords":["go","nx","nx-plugin"],"license":"MIT","_id":"@clsx524/nx-go@3.2.0","maintainers":[{"name":"clsx524","email":"clsx524@gmail.com"}],"homepage":"https://github.com/nx-go/nx-go","bugs":{"url":"https://github.com/nx-go/nx-go/issues"},"dist":{"shasum":"61170e75c52d1611f783d6a30be5f666e499b6b0","tarball":"https://registry.npmjs.org/@clsx524/nx-go/-/nx-go-3.2.0.tgz","fileCount":110,"integrity":"sha512-MzGjwgpYBeDYwk5o6uZxROpuN6fKy2CEYBHc+W09Jwv2fLnG51YNSQyIj5n+3odIYLBSk3RcF+6/oP1eb/Xjfw==","signatures":[{"sig":"MEUCIQDuz91ACZZyimM0/djm3/4jlsGbniDpoeA3cmX2zSSa4wIgH52WIKzGdwDOg2QSypy44vjM8EEObMwnFV1vr6SIDKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88214},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"3fbc4f6e95f0fe8fecadcf634ec4eca13f8b0b52","typings":"./src/index.d.ts","_npmUser":{"name":"clsx524","email":"clsx524@gmail.com"},"executors":"./executors.json","generators":"./generators.json","repository":{"url":"git+https://github.com/nx-go/nx-go.git","type":"git","directory":"packages/nx-go"},"_npmVersion":"10.7.0","description":"Nx plugin to use Go in a Nx Workspace","directories":{},"_nodeVersion":"20.15.1","dependencies":{"tslib":"^2.6.3","which":"^4.0.0","@nx/devkit":"^17.0.0 || ^18.0.0 || ^19.0.0"},"nx-migrations":{"migrations":"./migrations.json"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nx-go_3.2.0_1722496307223_0.9783122398964061","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@clsx524/nx-go","version":"3.2.1","description":"Nx plugin to use Go in a Nx Workspace","license":"MIT","homepage":"https://github.com/nx-go/nx-go","keywords":["go","nx","nx-plugin"],"repository":{"type":"git","url":"git+https://github.com/nx-go/nx-go.git","directory":"packages/nx-go"},"bugs":{"url":"https://github.com/nx-go/nx-go/issues"},"dependencies":{"@nx/devkit":"^17.0.0 || ^18.0.0 || ^19.0.0","tslib":"^2.6.3","which":"^4.0.0"},"type":"commonjs","main":"./src/index.js","typings":"./src/index.d.ts","executors":"./executors.json","generators":"./generators.json","nx-migrations":{"migrations":"./migrations.json"},"types":"./src/index.d.ts","_id":"@clsx524/nx-go@3.2.1","gitHead":"3fbc4f6e95f0fe8fecadcf634ec4eca13f8b0b52","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-CoLrVRxw0em/p/4hwieAY6PqYuS3bjkQIJH5jqyWh/dNEu/sHeUR9HJoMhMmcXyIg1mZig2HNjnWZrwF4YIaEA==","shasum":"920294b174521ca6ef13cf4dcd02c9410a9d8c7a","tarball":"https://registry.npmjs.org/@clsx524/nx-go/-/nx-go-3.2.1.tgz","fileCount":110,"unpackedSize":88227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChrcuSZS5Z/WruHjImL2g/PWDngA8YEpDMS69aXSDuRQIgYiDhYFPD22TY2VzLqR+/mid7gpV2NWYMsemxTd5Ge2U="}]},"_npmUser":{"name":"clsx524","email":"clsx524@gmail.com"},"directories":{},"maintainers":[{"name":"clsx524","email":"clsx524@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-go_3.2.1_1722496641468_0.8670880502412492"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-01T07:11:47.130Z","modified":"2024-08-01T07:17:21.808Z","3.2.0":"2024-08-01T07:11:47.402Z","3.2.1":"2024-08-01T07:17:21.621Z"},"bugs":{"url":"https://github.com/nx-go/nx-go/issues"},"license":"MIT","homepage":"https://github.com/nx-go/nx-go","keywords":["go","nx","nx-plugin"],"repository":{"type":"git","url":"git+https://github.com/nx-go/nx-go.git","directory":"packages/nx-go"},"description":"Nx plugin to use Go in a Nx Workspace","maintainers":[{"name":"clsx524","email":"clsx524@gmail.com"}],"readme":"<p align=\"center\"><img src=\"https://github.com/nx-go.png\" alt=\"nx-go logo\" height=\"230\"/></p>\n\n<div align=\"center\">\n\n# Go Nx plugin\n\n**First-class support of [Go](https://go.dev) in a [Nx](https://nx.dev) workspace**\n\n[![GitHub release](https://img.shields.io/github/v/release/nx-go/nx-go)](https://github.com/nx-go/nx-go/releases/latest)\n[![Nx version](https://img.shields.io/npm/dependency-version/%40nx-go%2Fnx-go/%40nx%2Fdevkit?label=Nx&logo=nx)](https://nx.dev)\n[![npm Downloads](https://img.shields.io/npm/dt/@clsx524/nx-go?color=eb2f06&logo=npm)](https://npmjs.com/package/@clsx524/nx-go)\n[![LICENSE](https://img.shields.io/github/license/nx-go/nx-go)](https://github.com/nx-go/nx-go/blob/main/LICENSE)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nx-go_nx-go&metric=alert_status)](https://sonarcloud.io/dashboard?id=nx-go_nx-go)\n\n</div>\n\n## ✨ Features\n\n- Generate Go applications and libraries **in seconds** within your Nx workspace\n- Execute, build, format and test projects with a customizable configuration\n- Efficient caching and dependency graph tools for Go projects\n- Use official Go commands in the background\n\n## 🚀 Getting started\n\nYou need to have a [stable version of Go](https://go.dev/dl/) installed on your machine. And.. you are ready!\n\n### Generate a Nx workspace with Go support\n\n```shell\nnpx create-nx-workspace go-workspace --preset=@clsx524/nx-go\n```\n\n### Add to an exisiting workspace\n\n```shell\nnx add @clsx524/nx-go\n```\n\n### Migrate to latest version\n\n```shell\nnx migrate @clsx524/nx-go\n```\n\n### Don't want to use a multi-module Go workspace?\n\nThe plugin configures a [multi-module Go workspace](https://go.dev/doc/tutorial/workspaces) by default, to simplify project management and improve the quality of the Nx graph. If you don't want to take advantage of this feature, you can use generator `convert-to-one-mod` after the plugin installation. Generators will automatically adapt to your configuration.\n\n```shell\nnx g @clsx524/nx-go:convert-to-one-mod\n```\n\n## 📖 Generators & executors\n\n### Generators\n\n- `application`: [Generate a Go application](./docs/generators/application.md)\n- `library`: [Generate a Go library](./docs/generators/library.md)\n\n### Executors\n\n- `build`: [Build a Go project](./docs/executors/build.md)\n- `generate`: [Generate code using Go](./docs/executors/generate.md)\n- `lint`: [Format and lint a Go project](./docs/executors/lint.md)\n- `serve`: [Run a Go application](./docs/executors/serve.md)\n- `test`: [Run tests of a Go project](./docs/executors/test.md)\n- `tidy`: [Ensures go.mod file matches a project source code](./docs/executors/tidy.md)\n\n> [!TIP]\n> You can use `nx list @clsx524/nx-go` to see list capabilities.\n\nWant to try out these capabilities quickly? Visit our [playground](https://github.com/nx-go/nx-go-playground)!\n\n## 🧩 Compatibility\n\n| nx-go version | Nx version   |\n|---------------|--------------|\n| 3.x           | 17.x to 19.x |\n| 2.x           | 13.x to 16.x |\n| 1.x           | < 13.x       |\n\nThis plugin is only tested on [stable versions of Go](https://go.dev/dl/), older versions does not receive support. However, you can expect a fair degree of compatibility. Please note that multi-module Go workspaces require Go 1.18 or later.\n\n## Contributors\n\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\"><a href=\"https://github.com/beeman\"><img src=\"https://github.com/beeman.png\" width=\"100\" alt=\"Utarwyn\"/><br /><b>Bram Borggreve</b></a><br />Creator</td>\n      <td align=\"center\" valign=\"top\"><a href=\"https://github.com/utarwyn\"><img src=\"https://github.com/utarwyn.png\" width=\"100\" alt=\"Utarwyn\"/><br /><b>Maxime Malgorn</b></a><br />Maintainer</td>\n    </tr>\n  </tbody>\n</table>\n\nLicensed under MIT\n","readmeFilename":"README.md"}