forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
50 lines (42 loc) · 1.61 KB
/
pnpm-workspace.yaml
File metadata and controls
50 lines (42 loc) · 1.61 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
packages:
- 'scripts'
- 'types/**'
lockfile: false
# As of pnpm v8, the default is "lowest", selecting the minimum version
# available in the package graph. But, on DT, we want to test the latest of
# everything.
resolutionMode: highest
# Do not delay installing things; we need to check the latest state.
minimumReleaseAge: 0
# Prevent pnpm from hoisting eslint/prettier-ish packages.
# The first two are the defaults, but we don't want to also hoist packages
# like @types/eslint-scope (which exist in the types dir).
publicHoistPattern:
- '*eslint*'
- '*prettier*'
- '!@types/*'
# Match npm's behavior and ensure we get all deps.
autoInstallPeers: true
# Don't complain about peer dependencies; they're out of our control.
strictPeerDependencies: false
# Don't use the top-level package.json to resolve conflicts.
resolvePeersFromWorkspaceRoot: false
# https://github.com/pnpm/pnpm/issues/6300
dedupePeerDependents: false
ignoreScripts: true
# Ensure that @types packages are resolved to this repo's packages where
# available.
preferWorkspacePackages: true
# And also to transitive dependencies.
linkWorkspacePackages: deep
# For manual invocations of `pnpm add`, don't save deps as "workspace:...".
saveWorkspaceProtocol: false
# Ignore cycles; they are out of our control.
ignoreWorkspaceCycles: true
# Don't pull symlinks up out of workspace packages.
dedupeDirectDeps: false
# Don't allow every package to see every other package.
hoistWorkspacePackages: false
# Remove once https://github.com/pnpm/pnpm/issues/6457 is fixed
# and we can set a hoisting limit of "workspaces" like in Yarn.
sharedWorkspaceLockfile: false