https://github.com/hxtree/nx-example
Nx Package Based Example
https://github.com/hxtree/nx-example
Last synced: about 2 months ago
JSON representation
Nx Package Based Example
- Host: GitHub
- URL: https://github.com/hxtree/nx-example
- Owner: hxtree
- Created: 2024-02-05T00:29:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-24T03:11:43.000Z (about 1 year ago)
- Last Synced: 2025-02-12T10:34:47.429Z (3 months ago)
- Language: Dockerfile
- Size: 18.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nx-example
This monorepo utilizes Yarn as the package manager and Nx for monorepo
management. It houses multiple packages used for demonstration purposes.Please note that newer versions of Yarn should not be installed globally as they
won't work to create the necessary package `node_modules` symlinks between
dependencies. Instead, it's necessary to enable Corepack. You can enable
Corepack by running the following command:```bash
corepack enable
```For more information, refer to the
[Yarn documentation](https://yarnpkg.com/getting-started/install).Install monorepo build system.
```bash
npm install --global nx
```Install and build all packages.
```bash
yarn install
nx run-many -t build --all
```## Third-Party Documentation
[NX Package Based Repo](https://nx.dev/getting-started/tutorials/package-based-repo-tutorial)