From f68154ec88a39d7fef92145ded3d4a12f5bdd34d Mon Sep 17 00:00:00 2001 From: Arvin Xu Date: Sun, 20 Oct 2024 12:38:57 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20build:=20fix=20vercel=20build=20?= =?UTF-8?q?(#4423)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 170 +++++++++---------- src/libs/next-auth/sso-providers/azure-ad.ts | 2 +- 2 files changed, 86 insertions(+), 86 deletions(-) diff --git a/package.json b/package.json index e62fae365fd7..e183f1438427 100644 --- a/package.json +++ b/package.json @@ -99,74 +99,74 @@ ] }, "dependencies": { - "@ant-design/icons": "^5.4.0", - "@ant-design/pro-components": "^2.7.10", - "@anthropic-ai/sdk": "^0.29.0", + "@ant-design/icons": "^5.5.1", + "@ant-design/pro-components": "^2.7.18", + "@anthropic-ai/sdk": "^0.29.2", "@auth/core": "^0.34.2", - "@aws-sdk/client-bedrock-runtime": "^3.637.0", - "@aws-sdk/client-s3": "^3.637.0", - "@aws-sdk/s3-request-presigner": "^3.637.0", + "@aws-sdk/client-bedrock-runtime": "^3.675.0", + "@aws-sdk/client-s3": "^3.675.0", + "@aws-sdk/s3-request-presigner": "^3.675.0", "@azure/core-rest-pipeline": "1.16.0", "@azure/openai": "1.0.0-beta.12", "@baiducloud/qianfan": "^0.1.9", - "@cfworker/json-schema": "^2.0.0", - "@clerk/localizations": "^3.0.4", - "@clerk/nextjs": "^5.3.3", - "@clerk/themes": "^2.1.27", - "@codesandbox/sandpack-react": "^2.19.8", - "@cyntler/react-doc-viewer": "^1.16.6", - "@google/generative-ai": "^0.16.0", + "@cfworker/json-schema": "^2.0.1", + "@clerk/localizations": "^3.3.0", + "@clerk/nextjs": "^5.7.5", + "@clerk/themes": "^2.1.37", + "@codesandbox/sandpack-react": "^2.19.9", + "@cyntler/react-doc-viewer": "^1.17.0", + "@google/generative-ai": "^0.16.1", "@huggingface/inference": "^2.8.1", "@icons-pack/react-simple-icons": "9.6.0", "@khmyznikov/pwa-install": "^0.3.9", - "@langchain/community": "^0.2.31", + "@langchain/community": "^0.2.33", "@lobehub/chat-plugin-sdk": "^1.32.4", "@lobehub/chat-plugins-gateway": "^1.9.0", - "@lobehub/icons": "^1.35.3", - "@lobehub/tts": "^1.24.3", - "@lobehub/ui": "^1.150.3", - "@neondatabase/serverless": "^0.10.0", - "@next/third-parties": "^14.2.6", - "@react-spring/web": "^9.7.3", - "@sentry/nextjs": "^7.119.0", - "@serwist/next": "^9.0.8", - "@t3-oss/env-nextjs": "^0.11.0", - "@tanstack/react-query": "^5.52.1", + "@lobehub/icons": "^1.35.4", + "@lobehub/tts": "^1.25.1", + "@lobehub/ui": "^1.151.5", + "@neondatabase/serverless": "^0.10.1", + "@next/third-parties": "^14.2.15", + "@react-spring/web": "^9.7.5", + "@sentry/nextjs": "^7.119.2", + "@serwist/next": "^9.0.9", + "@t3-oss/env-nextjs": "^0.11.1", + "@tanstack/react-query": "^5.59.15", "@trpc/client": "next", "@trpc/next": "next", "@trpc/react-query": "next", "@trpc/server": "next", "@vercel/analytics": "^1.3.1", - "@vercel/edge-config": "^1.2.1", + "@vercel/edge-config": "^1.3.0", "@vercel/speed-insights": "^1.0.12", "ahooks": "^3.8.1", - "ai": "^3.3.16", - "antd": "^5.21.1", - "antd-style": "^3.6.3", + "ai": "^3.4.16", + "antd": "^5.21.4", + "antd-style": "^3.7.0", "brotli-wasm": "^3.0.1", "chroma-js": "^2.6.0", "dayjs": "^1.11.13", - "debug": "^4.3.6", + "debug": "^4.3.7", "dexie": "^3.2.7", "diff": "^5.2.0", - "drizzle-orm": "^0.34.0", + "drizzle-orm": "^0.34.1", "drizzle-zod": "^0.5.1", "fast-deep-equal": "^3.1.3", - "file-type": "^19.4.1", - "framer-motion": "^11.2.6", - "gpt-tokenizer": "^2.2.1", - "i18next": "^23.14.0", + "file-type": "^19.6.0", + "framer-motion": "^11.11.9", + "gpt-tokenizer": "^2.5.0", + "i18next": "^23.16.1", "i18next-browser-languagedetector": "^7.2.1", "i18next-resources-to-backend": "^1.2.1", "idb-keyval": "^6.2.1", "immer": "^10.1.1", "ip": "^2.0.1", - "jose": "^5.7.0", + "jose": "^5.9.4", "js-sha256": "^0.11.0", "jsonl-parse-stringify": "^1.0.3", - "langchain": "^0.3.0", - "langfuse": "^3.19.0", - "langfuse-core": "^3.19.0", + "langchain": "^0.3.2", + "langfuse": "^3.27.0", + "langfuse-core": "^3.27.0", "lodash-es": "^4.17.21", "lucide-react": "latest", "mammoth": "^1.8.0", @@ -175,51 +175,51 @@ "next": "14.2.8", "next-auth": "beta", "next-mdx-remote": "^4.4.1", - "nextjs-toploader": "^3.6.15", + "nextjs-toploader": "^3.7.15", "numeral": "^2.0.6", - "nuqs": "^1.17.8", - "officeparser": "^4.1.1", - "ollama": "^0.5.8", - "openai": "^4.56.0", - "openapi-fetch": "^0.9.7", + "nuqs": "^1.20.0", + "officeparser": "^4.2.0", + "ollama": "^0.5.9", + "openai": "^4.68.1", + "openapi-fetch": "^0.9.8", "partial-json": "^0.1.7", "pdf-parse": "^1.1.1", "pdfjs-dist": "4.4.168", - "pg": "^8.12.0", - "pino": "^9.3.2", + "pg": "^8.13.0", + "pino": "^9.5.0", "polished": "^4.3.1", - "posthog-js": "^1.157.2", - "pwa-install-handler": "^2.6.0", - "query-string": "^9.1.0", + "posthog-js": "^1.174.2", + "pwa-install-handler": "^2.6.1", + "query-string": "^9.1.1", "random-words": "^2.0.1", "react": "^18.3.1", "react-confetti": "^6.1.0", "react-dom": "^18.3.1", "react-fast-marquee": "^1.6.5", - "react-hotkeys-hook": "^4.5.0", + "react-hotkeys-hook": "^4.5.1", "react-i18next": "14.0.2", "react-layout-kit": "^1.9.0", "react-lazy-load": "^4.0.1", - "react-pdf": "^9.1.0", - "react-virtuoso": "^4.10.1", + "react-pdf": "^9.1.1", + "react-virtuoso": "^4.12.0", "react-wrap-balancer": "^1.1.1", "remark": "^14.0.3", "remark-gfm": "^3.0.1", "remark-html": "^15.0.2", "request-filtering-agent": "^2.0.1", - "resolve-accept-language": "^3.1.5", + "resolve-accept-language": "^3.1.8", "rtl-detect": "^1.1.2", "semver": "^7.6.3", "sharp": "^0.33.5", - "shiki": "^1.21.0", - "stripe": "^15.8.0", + "shiki": "^1.22.0", + "stripe": "^15.12.0", "superjson": "^2.2.1", - "svix": "^1.30.0", + "svix": "^1.37.0", "swr": "^2.2.5", "systemjs": "^6.15.1", "ts-md5": "^1.3.1", - "ua-parser-js": "^1.0.38", - "unstructured-client": "^0.18.0", + "ua-parser-js": "^1.0.39", + "unstructured-client": "^0.18.1", "url-join": "^5.0.0", "use-merge-value": "^1.2.0", "utility-types": "^3.11.0", @@ -227,60 +227,60 @@ "ws": "^8.18.0", "y-protocols": "^1.0.6", "y-webrtc": "^10.3.0", - "yaml": "^2.5.0", - "yjs": "^13.6.18", + "yaml": "^2.6.0", + "yjs": "^13.6.20", "zod": "^3.23.8", "zustand": "^4.5.5", "zustand-utils": "^1.3.2" }, "devDependencies": { - "@commitlint/cli": "^19.4.0", - "@edge-runtime/vm": "^4.0.2", - "@huggingface/tasks": "^0.12.12", - "@lobehub/i18n-cli": "^1.19.1", + "@commitlint/cli": "^19.5.0", + "@edge-runtime/vm": "^4.0.3", + "@huggingface/tasks": "^0.12.22", + "@lobehub/i18n-cli": "^1.20.0", "@lobehub/lint": "^1.24.4", "@lobehub/seo-cli": "^1.4.2", - "@next/bundle-analyzer": "^14.2.6", - "@next/eslint-plugin-next": "^14.2.6", + "@next/bundle-analyzer": "^14.2.15", + "@next/eslint-plugin-next": "^14.2.15", "@peculiar/webcrypto": "^1.5.0", - "@testing-library/jest-dom": "^6.4.8", - "@testing-library/react": "^16.0.0", + "@testing-library/jest-dom": "^6.6.2", + "@testing-library/react": "^16.0.1", "@types/chroma-js": "^2.4.4", "@types/debug": "^4.1.12", - "@types/diff": "^5.2.1", + "@types/diff": "^5.2.3", "@types/ip": "^1.1.3", "@types/json-schema": "^7.0.15", - "@types/lodash": "^4.17.7", + "@types/lodash": "^4.17.12", "@types/lodash-es": "^4.17.12", - "@types/node": "^20.16.1", + "@types/node": "^20.16.13", "@types/numeral": "^2.0.5", - "@types/pg": "^8.11.6", - "@types/react": "^18.3.4", - "@types/react-dom": "^18.3.0", + "@types/pg": "^8.11.10", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.1", "@types/rtl-detect": "^1.0.3", "@types/semver": "^7.5.8", - "@types/systemjs": "^6.13.5", + "@types/systemjs": "^6.15.1", "@types/ua-parser-js": "^0.7.39", "@types/unist": "^3.0.3", "@types/uuid": "^10.0.0", "@types/ws": "^8.5.12", "@vitest/coverage-v8": "~1.2.2", "ajv-keywords": "^5.1.0", - "commitlint": "^19.4.0", + "commitlint": "^19.5.0", "consola": "^3.2.3", "dotenv": "^16.4.5", "dpdm": "^3.14.0", "drizzle-kit": "^0.25.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-plugin-mdx": "^2.3.4", "eslint-plugin-unused-imports": "4.0.1", "fake-indexeddb": "^6.0.0", "glob": "^11.0.0", "gray-matter": "^4.0.3", - "happy-dom": "^15.0.0", - "husky": "^9.1.5", + "happy-dom": "^15.7.4", + "husky": "^9.1.6", "just-diff": "^6.0.2", - "lint-staged": "^15.2.9", + "lint-staged": "^15.2.10", "lodash": "^4.17.21", "markdown-table": "^3.0.3", "node-fetch": "^3.3.2", @@ -291,14 +291,14 @@ "remark-cli": "^11.0.0", "remark-parse": "^10.0.2", "semantic-release": "^21.1.2", - "serwist": "^9.0.8", + "serwist": "^9.0.9", "stylelint": "^15.11.0", - "supports-color": "8", - "tsx": "^4.17.0", - "typescript": "^5.5.4", + "supports-color": "^8.1.1", + "tsx": "^4.19.1", + "typescript": "^5.6.3", "unified": "^11.0.5", "unist-util-visit": "^5.0.0", - "vite": "^5.4.2", + "vite": "^5.4.9", "vitest": "~1.2.2", "vitest-canvas-mock": "^0.3.3" }, diff --git a/src/libs/next-auth/sso-providers/azure-ad.ts b/src/libs/next-auth/sso-providers/azure-ad.ts index 16643144ed58..8e4116a72932 100644 --- a/src/libs/next-auth/sso-providers/azure-ad.ts +++ b/src/libs/next-auth/sso-providers/azure-ad.ts @@ -14,7 +14,7 @@ const provider = { // TODO(NextAuth ENVs Migration): Remove once nextauth envs migration time end clientId: authEnv.AZURE_AD_CLIENT_ID ?? process.env.AUTH_AZURE_AD_ID, clientSecret: authEnv.AZURE_AD_CLIENT_SECRET ?? process.env.AUTH_AZURE_AD_SECRET, - tenantId: authEnv.AZURE_AD_TENANT_ID ?? process.env.AUTH_AZURE_AD_TENANT_ID, + // tenantId: authEnv.AZURE_AD_TENANT_ID ?? process.env.AUTH_AZURE_AD_TENANT_ID, // Remove end // TODO(NextAuth): map unique user id to `providerAccountId` field // profile(profile) {