Skip to content

Commit

Permalink
docs: review readme monorepo
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Monorepo
  • Loading branch information
rharkor committed Dec 9, 2023
1 parent a26f35f commit a23a8a5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ npm run dev --workspace=app

Each package has its own `package.json` file, so you can add dependencies specific to a package.

Please make sure to add the dependencies to the `package.json` file of the package you want to use them in.
For example, if you want to add a dependency to the `app` package, you should add it to the `app/package.json` file with the following command:

```bash
npm install <package> --workspace=app
```

or

```bash
cd app
npm install <package>
```

> If you install a dependency in the root `package.json` file, it will be available in all packages and in most cases, you don't want that.
Port for each package:

- **App**: `3000`
Expand Down

0 comments on commit a23a8a5

Please sign in to comment.