Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cristobalgvera/nx-template
https://github.com/cristobalgvera/nx-template
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/cristobalgvera/nx-template
- Owner: cristobalgvera
- Created: 2024-03-21T20:41:23.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-21T23:20:00.000Z (8 months ago)
- Last Synced: 2024-03-22T23:33:32.165Z (8 months ago)
- Language: JavaScript
- Size: 252 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nx Template
✨ **This workspace has been generated by [Nx, Smart Monorepos · Fast CI.](https://nx.dev)** ✨
## 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.## Start the application
Run `npx nx serve ` to start the development server. Happy coding!
## Build for production
Run `npx nx build ` to build the application. The build artifacts are stored in the output directory (e.g. `dist/` or `build/`), ready to be deployed.
## Running tasks
To execute tasks with Nx use the following syntax:
```
npx nx <...options>
```You can also run multiple targets:
```
npx nx run-many -t
```..or add `-p` to filter specific projects
```
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)