mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-21 05:55:42 +08:00
* Apply `pnpx codemod run pnpm-v10-to-v11` * Remove `eslint` hoisting, it's in the root package.json anyway * `pnpm install` * Bump Node.js to 24.15 * Bump pnpm to 11.1.1 * Update pnpm to 11.3.0 * Update `electron` to 42.2.0, `electron-builder` to 26.11.1 * Update `node-abi` to 4.31.0 * Override `yauzl` to workaround Electron not being installed on Node.js 24.16 * Update Node.js to 24.16 * Bump Playwright to 1.60.0
46 lines
2.0 KiB
YAML
46 lines
2.0 KiB
YAML
packages:
|
|
- web/packages/*
|
|
- e/web/*
|
|
- e2e
|
|
- e/e2e
|
|
allowBuilds:
|
|
'@swc/core': true
|
|
cbor-extract: true
|
|
esbuild: true
|
|
msw: true
|
|
node-pty: true
|
|
protobufjs: true
|
|
unrs-resolver: true
|
|
puppeteer: false
|
|
overrides:
|
|
# Remove once https://github.com/electron/electron/issues/51619 is addressed.
|
|
yauzl: '^3.3.1'
|
|
# 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
|
|
# Do not install packages released less than 2 days (2880 minutes) ago
|
|
minimumReleaseAge: 2880
|
|
# The pnpm team releases new versions pretty often, and we don't need to stay at the freshest version at all times.
|
|
updateNotifier: false
|