Skip to content

Commit 8052dc3

Browse files
committed
chore: update lerna
1 parent 91a578d commit 8052dc3

File tree

5 files changed

+1011
-1322
lines changed

5 files changed

+1011
-1322
lines changed

packages/.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ blueprints-integration/src/copy
1313
# Temporary until they have been updated
1414
server-core-integration
1515
mos-gateway
16+
17+
/.nx/workspace-data

packages/lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": "1.52.0-in-development",
33
"npmClient": "yarn",
4-
"useWorkspaces": true
4+
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
55
}

packages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"jest-environment-jsdom": "^29.7.0",
5656
"jest-mock-extended": "^3.0.7",
5757
"json-schema-to-typescript": "^10.1.5",
58-
"lerna": "^6.6.2",
58+
"lerna": "^8.1.9",
5959
"nodemon": "^2.0.22",
6060
"open-cli": "^8.0.0",
6161
"pinst": "^3.0.0",

packages/webui/src/client/lib/viewPort.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ export function lockPointer(): void {
317317
if (pointerLockTurnstile === 0) {
318318
// pointerLockTurnstile === 0 means that no requests for locking the pointer have been made
319319
// since we last unlocked it
320-
document.body.requestPointerLock()
320+
document.body.requestPointerLock().catch(() => {
321+
console.warn('Failed to get pointer lock')
322+
})
321323
// attach the event handlers only once. Once they are attached, we will track the
322324
// locked state and act according to the turnstile
323325
if (!pointerHandlerAttached) {

0 commit comments

Comments
 (0)