Skip to content

Commit

Permalink
style: better tag text
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jan 13, 2024
1 parent 88d7b39 commit a8c3f47
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/tags/tags.toml
Original file line number Diff line number Diff line change
Expand Up @@ -404,14 +404,11 @@ container.stores.get('commands') // Store<Command> extends Collection<Command> e
[pnpm-hoist]
keywords = ["pnpm-hoist"]
content = """
When using pnpm you have to make sure that you have the [`shamefully-hoist`](<https://pnpm.io/npmrc#shamefully-hoist>)
and [`public-hoist-pattern`](<https://pnpm.io/npmrc#public-hoist-pattern>) are set correctly in your
[`.npmrc`](<https://pnpm.io/npmrc>) file.
When using pnpm you have to make sure that you have the [`shamefully-hoist`](<https://pnpm.io/npmrc#shamefully-hoist>) and [`public-hoist-pattern`](<https://pnpm.io/npmrc#public-hoist-pattern>) are set correctly in your [`.npmrc`](<https://pnpm.io/npmrc>) file.
This is because pnpm will not hoist any dependencies by default and that poses a problem with how Sapphire works
with module augmentation and loading files from the filesystem.
This is because pnpm will not hoist any dependencies by default and that poses a problem with how Sapphire works with module augmentation and loading files from the filesystem.
Add this to the `.npmrc` file:
Add this to your `.npmrc` file:
```properties
shamefully-hoist=true
public-hoist-pattern[]=@sapphire/*
Expand Down

0 comments on commit a8c3f47

Please sign in to comment.