mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -08:00
Import yarn.lock to pnpm-workspace.yaml and pnpm-lock.yaml Add pnpm tool and update references Fixes tailscale/corp#51437 Change-Id: Ia25017e7e82cf3af13e04fc3c07b82196f211744 Signed-off-by: Jim Wright <[email protected]>
44 lines
1.7 KiB
YAML
44 lines
1.7 KiB
YAML
# pnpm settings for cmd/tsconnect. Use ./tool/pnpm (pinned in tool/pnpm.rev)
|
|
# rather than a globally installed pnpm.
|
|
#
|
|
# Most of these are supply-chain hardening settings. Several match pnpm's
|
|
# defaults but are set explicitly so that they're visible and can't be
|
|
# silently weakened by a future default change.
|
|
# See https://pnpm.io/settings for details.
|
|
|
|
# Don't install any version (direct or transitive) published less than 7 days
|
|
# ago, and fail rather than fall back to a newer version if nothing in the
|
|
# requested range is old enough.
|
|
minimumReleaseAge: 10080 # minutes
|
|
minimumReleaseAgeStrict: true
|
|
# Fail if the registry doesn't tell us when a version was published, rather
|
|
# than skipping the age (and trust) check.
|
|
minimumReleaseAgeIgnoreMissingTime: false
|
|
|
|
# Fail if a package's trust level (e.g. trusted publishing / provenance) has
|
|
# decreased compared to its earlier releases.
|
|
trustPolicy: no-downgrade
|
|
|
|
# Re-check minimumReleaseAge and trustPolicy against lockfile entries on every
|
|
# install, so a hand-edited lockfile can't bypass them.
|
|
trustLockfile: false
|
|
|
|
# Only direct dependencies may come from git repos or tarball URLs.
|
|
blockExoticSubdeps: true
|
|
|
|
# Don't run dependency lifecycle scripts unless the package is listed in
|
|
# allowBuilds, and fail the install if an unlisted package wants to run one.
|
|
strictDepBuilds: true
|
|
dangerouslyAllowAllBuilds: false
|
|
allowBuilds: {}
|
|
|
|
# Verify package contents in the store before linking them into node_modules.
|
|
verifyStoreIntegrity: true
|
|
strictStorePkgContentCheck: true
|
|
|
|
# Error out rather than downloading a different pnpm version if package.json
|
|
# ever declares one that doesn't match tool/pnpm.rev.
|
|
pmOnFail: error
|
|
|
|
frozenLockfile: true
|