-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
24 lines (21 loc) · 1.13 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
24 lines (21 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# pnpm settings file.
#
# This repo has no pnpm workspace packages. `website/` and
# `examples/publish-ci/rr-rsc-context` are independent pnpm projects, each with
# its own pnpm-workspace.yaml marking it as a separate root. This file exists
# only because pnpm 11 reads its settings from here: pnpm 11 no
# longer reads pnpm-specific settings from `.npmrc`, and no longer reads the
# "pnpm" field in package.json. Both are ignored, with no error.
# Translation of Yarn's `nodeLinker: node-modules`. Reproduces the flat
# layout. Tightening to pnpm's default isolated layout is a separate change.
nodeLinker: hoisted
# pnpm installs unmet peer dependencies by default, including optional ones
# such as vite's optional `esbuild` peer. Anything a tool needs as a peer is
# declared as a devDependency here instead, so the tree only contains what
# package.json asks for.
autoInstallPeers: false
# Translation of Yarn's `enableScripts: true`. pnpm blocks dependency build
# scripts by default and needs an explicit allowlist. In pnpm 11 the setting
# is `allowBuilds` (a map); pnpm 10's `onlyBuiltDependencies` list is ignored.
allowBuilds:
esbuild: true