Repository navigation
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
39 lines (35 loc) · 2.18 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
39 lines (35 loc) · 2.18 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
# The sixteen published packages are one workspace: a sibling links as a symlink instead of
# installing from the registry at the same version, one lockfile replaces fifteen, and the graph
# is walked in dependency order. docs/ and examples/ stay outside on purpose - each is its own app.
packages:
- packages/dev/*
# The manifests keep exact registry pins (the lockstep version),
# so this is what turns them into local links: a pin that matches the sibling's version links, one
# that does not falls back to the registry - and the lockfile shows which.
linkWorkspacePackages: true
# pnpm 11 waits a day before installing a fresh release; our own packages are released together
# and consumed the same day.
minimumReleaseAgeExclude:
- "@bitbybit-dev/*"
# pnpm 11 runs no dependency's install script until it is listed here, and refuses the install
# while any is unreviewed (it writes the unreviewed names into this block itself - replace the
# placeholder, never leave it). canvas is the one that must run: jsdom picks it up in the renderer
# packages' jest suites, and its script downloads the prebuilt binary. The rest are reviewed off:
# core-js prints a funding banner; @parcel/watcher is sass's optional watcher and nothing here
# watches; unrs-resolver (jest) and webworker-threads (verb-nurbs-web, a browser library) ship or
# need native code that the platform packages or the browser make unnecessary.
allowBuilds:
canvas: true
core-js: false
"@parcel/watcher": false
unrs-resolver: false
webworker-threads: false
# js-yaml reaches this workspace only through openapi-typescript -> @redocly/openapi-core, which
# pins it at exactly 4.3.1 - a version that cannot bound the CPU a YAML merge key chain costs.
# 4.3.2 is the patch that fixes that and carries nothing else, and the exact pin above it means
# no update can reach it; this is the only lever. Drop the entry once redocly moves its pin.
# The key is scoped to the 4.x range rather than left bare: a bare `js-yaml` overrides every
# dependent whatever it asked for, so the first package here to want js-yaml 5 would silently be
# handed a 4.x it cannot use. Scoped, the override reaches only what already asked for 4.
overrides:
js-yaml@4: ^4.3.2