mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-21 05:55:42 +08:00
* Bump pnpm to 10.16.1 * Add minimumReleaseAge of 2 days to pnpm workspace
46 lines
2.1 KiB
YAML
46 lines
2.1 KiB
YAML
packages:
|
|
- web/packages/*
|
|
- e/web/*
|
|
onlyBuiltDependencies:
|
|
- '@swc/core'
|
|
- electron
|
|
- esbuild
|
|
- msw
|
|
- node-pty
|
|
- protobufjs
|
|
- unrs-resolver
|
|
ignoredBuiltDependencies:
|
|
# Imported by jsdom-testing-mocks but not needed by us.
|
|
- puppeteer
|
|
# Without this, electron-builder will pull in electron-builder-squirrel-windows (which we don't need)
|
|
# and that dep will in turn pull electron-winstaller (which we also don't need). pnpm will then
|
|
# start complaining that electron-winstaller is not in onlyBuiltDependencies.
|
|
#
|
|
# We could instead solve this by adding electron-winstaller to ignoredBuiltDependencies, but why
|
|
# pull in deps that we don't use? Ultimately, the problem is that electron-builder-squirrel-windows
|
|
# is defined as a peer dep of one of electron-builder deps, while in reality it's more like an
|
|
# optional dep.
|
|
autoInstallPeers: false
|
|
# strictPeerDependencies cannot be set to true. Dependabot updates deps one-by-one and runs `pnpm
|
|
# install` after each update. With this option set to true, that command is likely to fail when
|
|
# updating a dep without updating its peer deps at the same time.
|
|
strictPeerDependencies: false
|
|
peerDependencyRules:
|
|
ignoreMissing:
|
|
# This dep is needed only when using Squirrel.Windows as an installer in electron-build which we
|
|
# don't use. https://www.electron.build/squirrel-windows.html
|
|
- electron-builder-squirrel-windows
|
|
# shellEmulator enables cross-platform scripting, allowing POSIX-style shell variables to work on Windows.
|
|
shellEmulator: true
|
|
# packageImportMethod avoids an issue building the web UI in docker on mac. It does not seem to
|
|
# affect performance outside of docker.
|
|
# https://github.com/gravitational/teleport/issues/46019
|
|
packageImportMethod: clone-or-copy
|
|
patchedDependencies:
|
|
# Needed after the upgrade to TypeScript 5.9.2.
|
|
'@types/wicg-file-system-access@2023.10.6': web/patches/@types__wicg-file-system-access@2023.10.6.patch
|
|
# Needed for roundRect support which was merged to jest-canvas-mock but not released.
|
|
jest-canvas-mock@2.5.2: web/patches/jest-canvas-mock@2.5.2.patch
|
|
# Do not install packages released less than 2 days (2880 minutes) ago
|
|
minimumReleaseAge: 2880
|