mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
* build: Install wasm-pack for windows build Install wasm-pack in the windows build powershell script as it is now needed to build Teleport Connect. * Enable POSIX shell variables on Windows in `pnpm run` It's needed for `RUST_MIN_STACK`. * Add WASM requirements to teleterm README.md --------- Co-authored-by: Cam Hutchison <[email protected]>
31 lines
1.4 KiB
YAML
31 lines
1.4 KiB
YAML
packages:
|
|
- web/packages/*
|
|
- e/web/*
|
|
onlyBuiltDependencies:
|
|
- '@swc/core'
|
|
- electron
|
|
- esbuild
|
|
- msw
|
|
- node-pty
|
|
- protobufjs
|
|
# 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
|