From 29e8f9a16615d8f381e282329b23a55623d803e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Cerm=C3=A1k?= Date: Thu, 21 Nov 2024 15:29:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20build=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/api/webauthn/remove/verify.ts | 2 +- packages/common/package.json | 1 + turbo.json | 4 +-- yarn.lock | 29 ++++++++++--------- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/examples/webauthn-upgrade/src/pages/api/webauthn/remove/verify.ts b/examples/webauthn-upgrade/src/pages/api/webauthn/remove/verify.ts index 1dd176c..fd843a1 100644 --- a/examples/webauthn-upgrade/src/pages/api/webauthn/remove/verify.ts +++ b/examples/webauthn-upgrade/src/pages/api/webauthn/remove/verify.ts @@ -5,13 +5,13 @@ import type { AuthenticationResponseJSON } from '@simplewebauthn/types'; import { env } from '@workspace/common/client/env'; import { logger } from '@workspace/common/logger'; -import { revokenAndCreateCustomUserToken } from '@workspace/common/server/services/auth'; import { retrieveAndInvalidateChallengeSession } from '@workspace/common/server/services/challenge-session'; import { getPasskey, getPasskeyBy, getPasskeys } from '@workspace/common/server/services/passkeys'; import { removeUserPasskey } from '@workspace/common/server/services/users'; import type { Passkey } from '@workspace/common/types'; import { tokenClaims } from '~server/constans/tokenClaims'; +import { revokenAndCreateCustomUserToken } from '~server/services/auth'; import { parseAndVerifyIdTokenForMFA } from '~server/utils/parseAndVerifyIdTokenForMFA'; export type VerifyRemovalRequestData = { diff --git a/packages/common/package.json b/packages/common/package.json index 3d38246..a0343cb 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -21,6 +21,7 @@ "@mui/icons-material": "6.1.8", "@mui/lab": "6.0.0-beta.14", "@mui/material": "6.1.8", + "@mui/system": "6.1.8", "@sentry/nextjs": "8.39.0", "@simplewebauthn/browser": "11.0.0", "@simplewebauthn/server": "11.0.0", diff --git a/turbo.json b/turbo.json index 2ddcb54..8e50f70 100644 --- a/turbo.json +++ b/turbo.json @@ -7,7 +7,7 @@ "dependsOn": ["//#audit", "build"] }, "build": { - "outputs": ["dist/**", ".next/**", "!.next/cache/**"], + "outputs": ["dist/**", ".next/**", "!.next/cache/**", ".cache/.tsbuildinfo"], "dependsOn": ["cir-dep", "format", "lint", "^build"], "inputs": ["$TURBO_DEFAULT$", ".env.local", ".env", ".env.server"] }, @@ -20,7 +20,7 @@ "outputLogs": "errors-only" }, "dev": { - "outputs": ["dist/**", ".cache/.tsbuildinfo"], + "outputs": ["dist/**"], "cache": false, "persistent": true, "dependsOn": ["cir-dep", "format"], diff --git a/yarn.lock b/yarn.lock index a5a136b..ebde3e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1762,15 +1762,15 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:^6.1.6": - version: 6.1.6 - resolution: "@mui/system@npm:6.1.6" +"@mui/system@npm:6.1.8, @mui/system@npm:^6.1.8": + version: 6.1.8 + resolution: "@mui/system@npm:6.1.8" dependencies: "@babel/runtime": "npm:^7.26.0" - "@mui/private-theming": "npm:^6.1.6" - "@mui/styled-engine": "npm:^6.1.6" + "@mui/private-theming": "npm:^6.1.8" + "@mui/styled-engine": "npm:^6.1.8" "@mui/types": "npm:^7.2.19" - "@mui/utils": "npm:^6.1.6" + "@mui/utils": "npm:^6.1.8" clsx: "npm:^2.1.1" csstype: "npm:^3.1.3" prop-types: "npm:^15.8.1" @@ -1786,19 +1786,19 @@ __metadata: optional: true "@types/react": optional: true - checksum: 10c0/125d38ad5b0d610cfedace8253e43b4be47b46ad2d96eeac019c6c37b4f09286512e2280924753f8bb0314c4d7cc5e8f03fc7f97cf9830c4f6d1869b721eb8c2 + checksum: 10c0/af7902a1a6664055b4f764020746403749148f88c050edf509f557fd9f0b1d4d86ee9478d78e6c0356129f09b4101a93a345b05b5aa00125d3c164b148275faf languageName: node linkType: hard -"@mui/system@npm:^6.1.8": - version: 6.1.8 - resolution: "@mui/system@npm:6.1.8" +"@mui/system@npm:^6.1.6": + version: 6.1.6 + resolution: "@mui/system@npm:6.1.6" dependencies: "@babel/runtime": "npm:^7.26.0" - "@mui/private-theming": "npm:^6.1.8" - "@mui/styled-engine": "npm:^6.1.8" + "@mui/private-theming": "npm:^6.1.6" + "@mui/styled-engine": "npm:^6.1.6" "@mui/types": "npm:^7.2.19" - "@mui/utils": "npm:^6.1.8" + "@mui/utils": "npm:^6.1.6" clsx: "npm:^2.1.1" csstype: "npm:^3.1.3" prop-types: "npm:^15.8.1" @@ -1814,7 +1814,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 10c0/af7902a1a6664055b4f764020746403749148f88c050edf509f557fd9f0b1d4d86ee9478d78e6c0356129f09b4101a93a345b05b5aa00125d3c164b148275faf + checksum: 10c0/125d38ad5b0d610cfedace8253e43b4be47b46ad2d96eeac019c6c37b4f09286512e2280924753f8bb0314c4d7cc5e8f03fc7f97cf9830c4f6d1869b721eb8c2 languageName: node linkType: hard @@ -3909,6 +3909,7 @@ __metadata: "@mui/icons-material": "npm:6.1.8" "@mui/lab": "npm:6.0.0-beta.14" "@mui/material": "npm:6.1.8" + "@mui/system": "npm:6.1.8" "@sentry/nextjs": "npm:8.39.0" "@simplewebauthn/browser": "npm:11.0.0" "@simplewebauthn/server": "npm:11.0.0"