Skip to content

Commit 76b0af4

Browse files
committed
chore: consolidate pnpm config to .npmrc
Remove pnpm-workspace.yaml and consolidate all pnpm configuration in .npmrc. This is a single-package repo, not a workspace, so workspace file is unnecessary. Changes: - Delete pnpm-workspace.yaml - Move trust-policy config to .npmrc - Remove unnecessary comments from .npmrc - Keep all settings: ignore-scripts, workspace suppressions, trust policy All configuration now in one place for single-package repo.
1 parent 3bfb64e commit 76b0af4

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.npmrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Suppress pnpm build script warnings.
21
ignore-scripts=true
3-
4-
# Suppress pnpm workspace warnings
52
link-workspace-packages=false
63
loglevel=error
7-
prefer-workspace-packages=false
4+
prefer-workspace-packages=false
5+
trust-policy=no-downgrade
6+
trust-policy-exclude[]=@yarnpkg/core@4.5.0
7+
trust-policy-exclude[]=@yarnpkg/libzip@3.2.2

pnpm-workspace.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)