Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(readme): change linking tutorial to pnpm link #1831

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ You are developing shared component (let's say `@kong-ui-public/forms`) and you
1. in the folder `public-ui-components/packages/{workspace}/forms` run

```sh
yarn link
pnpm link -g
```

2. make sure your package is getting build in watch mode, for this in in the folder `public-ui-components/packages/{workspace}/forms` run:
Expand All @@ -230,7 +230,7 @@ You are developing shared component (let's say `@kong-ui-public/forms`) and you
3. In the root folder of the host application/package run:

```sh
yarn link "@kong-ui-public/forms"
pnpm link -g @kong-ui-public/forms
```

4. Run your consuming application as usual and enjoy your forms code changes visible in your local env immediately.
Expand Down Expand Up @@ -265,14 +265,14 @@ In some cases HMR (hot module reloading) is not working out of the box in this c
1. In the folder `public-ui-components/packages/{workspace}/forms` run

```sh
yarn unlink
pnpm remove @kong-ui-public/forms -g
adamdehaven marked this conversation as resolved.
Show resolved Hide resolved
```

1. In the root folder of the host application/package run:

```sh
yarn unlink "@kong-ui-public/forms"
yarn install --force --frozen-lockfile
pnpm unlink -g @kong-ui-public/forms
pnpm install --force --frozen-lockfile
adamdehaven marked this conversation as resolved.
Show resolved Hide resolved
```

## Moving packages to the public/private repo
Expand Down
Loading