-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
45 lines (45 loc) · 2.13 KB
/
pnpm-workspace.yaml
File metadata and controls
45 lines (45 loc) · 2.13 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
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