|
| 1 | +# BtParts |
| 2 | + |
| 3 | +<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a> |
| 4 | + |
| 5 | +✨ **This workspace has been generated by [Nx, Smart Monorepos · Fast CI.](https://nx.dev)** ✨ |
| 6 | + |
| 7 | +## Integrate with editors |
| 8 | + |
| 9 | +Enhance your Nx experience by installing [Nx Console](https://nx.dev/nx-console) for your favorite editor. Nx Console |
| 10 | +provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and |
| 11 | +comes with a LSP for Vim users. |
| 12 | + |
| 13 | +## Start the application |
| 14 | + |
| 15 | +Run `npx nx serve server` to start the development server. Happy coding! |
| 16 | + |
| 17 | +## Build for production |
| 18 | + |
| 19 | +Run `npx nx build server` to build the application. The build artifacts are stored in the output directory (e.g. `dist/` or `build/`), ready to be deployed. |
| 20 | + |
| 21 | +## Running tasks |
| 22 | + |
| 23 | +To execute tasks with Nx use the following syntax: |
| 24 | + |
| 25 | +``` |
| 26 | +npx nx <target> <project> <...options> |
| 27 | +``` |
| 28 | + |
| 29 | +You can also run multiple targets: |
| 30 | + |
| 31 | +``` |
| 32 | +npx nx run-many -t <target1> <target2> |
| 33 | +``` |
| 34 | + |
| 35 | +..or add `-p` to filter specific projects |
| 36 | + |
| 37 | +``` |
| 38 | +npx nx run-many -t <target1> <target2> -p <proj1> <proj2> |
| 39 | +``` |
| 40 | + |
| 41 | +Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/features/run-tasks). |
| 42 | + |
| 43 | +## Set up CI! |
| 44 | + |
| 45 | +Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further. |
| 46 | + |
| 47 | +- [Set up remote caching](https://nx.dev/features/share-your-cache) |
| 48 | +- [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution) |
| 49 | +- [Learn more how to setup CI](https://nx.dev/recipes/ci) |
| 50 | + |
| 51 | +## Explore the project graph |
| 52 | + |
| 53 | +Run `npx nx graph` to show the graph of the workspace. |
| 54 | +It will show tasks that you can run with Nx. |
| 55 | + |
| 56 | +- [Learn more about Exploring the Project Graph](https://nx.dev/core-features/explore-graph) |
| 57 | + |
| 58 | +## Connect with us! |
| 59 | + |
| 60 | +- [Join the community](https://nx.dev/community) |
| 61 | +- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools) |
| 62 | +- [Follow us on Twitter](https://twitter.com/nxdevtools) |
0 commit comments