https://github.com/groc-prog/nx-plugins
https://github.com/groc-prog/nx-plugins
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/groc-prog/nx-plugins
- Owner: groc-prog
- Created: 2023-08-07T17:22:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T22:11:10.000Z (about 1 year ago)
- Last Synced: 2025-01-03T19:16:24.228Z (6 months ago)
- Language: TypeScript
- Size: 3.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NxPlugins
This repository contains a collection of custom NX plugins for different purposes and use cases.
## Plugins
Currently, the following plugins are available:
- [`nx-python-poetry`](https://github.com/groc-prog/nx-plugins/blob/main/packages/nx-python/README.md): A plugin to generate a Python project with Poetry support.
## More about NX
### Integrate with editors
Enhance your Nx experience by installing [Nx Console](https://nx.dev/nx-console) for your favorite editor. Nx Console
provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and
comes with a LSP for Vim users.### Nx plugins and code generators
Add Nx plugins to leverage their code generators and automated, inferred tasks.
```bash
# Add plugin
npx nx add @nx/react# Use code generator
npx nx generate @nx/react:app demo# Run development server
npx nx serve demo# View project details
npx nx show project demo --web
```Run `npx nx list` to get a list of available plugins and whether they have generators. Then run `npx nx list ` to see what generators are available.
Learn more about [code generators](https://nx.dev/features/generate-code) and [inferred tasks](https://nx.dev/concepts/inferred-tasks) in the docs.
### Running tasks
To execute tasks with Nx use the following syntax:
```bash
npx nx <...options>
```You can also run multiple targets:
```bash
npx nx run-many -t
```..or add `-p` to filter specific projects
```bash
npx nx run-many -t -p
```Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/features/run-tasks).
### Set up CI
Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.
- [Set up remote caching](https://nx.dev/features/share-your-cache)
- [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution)
- [Learn more how to setup CI](https://nx.dev/recipes/ci)### Explore the project graph
Run `npx nx graph` to show the graph of the workspace.
It will show tasks that you can run with Nx.- [Learn more about Exploring the Project Graph](https://nx.dev/core-features/explore-graph)
### Connect with us
- [Join the community](https://nx.dev/community)
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
- [Follow us on Twitter](https://twitter.com/nxdevtools)