chore: update package dependencies and configurations across the monorepo

This commit is contained in:
Innei
2026-01-10 23:35:37 +08:00
parent 7e216d90d7
commit 08b045e176
35 changed files with 3253 additions and 3544 deletions

View File

@@ -1,8 +1,8 @@
{
"name": "@afilmory/docs",
"type": "module",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm build:client && pnpm build:static && pnpm output",
"build:client": "vite build",
@@ -28,7 +28,7 @@
"cmdk": "1.1.1",
"lucide-react": "^0.562.0",
"mdast": "^3.0.0",
"motion": "12.23.26",
"motion": "12.25.0",
"next-themes": "^0.4.6",
"react": "^19.2.3",
"react-dom": "^19.2.3",
@@ -42,22 +42,22 @@
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@shikijs/rehype": "^3.20.0",
"@shikijs/rehype": "^3.21.0",
"@tailwindcss/postcss": "catalog:",
"@tailwindcss/typography": "catalog:",
"@types/glob": "^9.0.0",
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.7",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"@types/remark-heading-id": "^1.0.0",
"@vitejs/plugin-react": "^5.1.2",
"code-inspector-plugin": "1.3.3",
"code-inspector-plugin": "1.3.4",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"glob": "^13.0.0",
"globals": "^16.5.0",
"shiki": "^3.20.0",
"shiki": "^3.21.0",
"tailwind-scrollbar": "catalog:",
"tailwindcss": "catalog:",
"tailwindcss-animate": "catalog:",
@@ -65,7 +65,7 @@
"tailwindcss-uikit-colors": "catalog:",
"tsx": "^4.21.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.50.1",
"typescript-eslint": "^8.52.0",
"vite": "8.0.0-beta.0"
}
}

View File

@@ -13,30 +13,39 @@
"start": "npm run dev",
"type-check": "tsc --noEmit"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --ignore-path ./.gitignore --write "
]
},
"dependencies": {
"@floating-ui/react-dom": "2.1.6",
"@tanstack/query-async-storage-persister": "5.90.14",
"@tanstack/react-query": "5.90.12",
"@tanstack/react-query-persist-client": "5.90.14",
"@tanstack/query-async-storage-persister": "5.90.18",
"@tanstack/react-query": "5.90.16",
"@tanstack/react-query-persist-client": "5.90.18",
"@types/js-cookie": "3.0.6",
"axios": "1.13.2",
"clsx": "2.1.1",
"dayjs": "1.11.19",
"es-toolkit": "1.43.0",
"foxact": "0.2.49",
"foxact": "0.2.51",
"idb-keyval": "6.2.2",
"immer": "11.0.1",
"immer": "11.1.3",
"jojoo": "0.3.0",
"jotai": "2.16.0",
"jotai": "2.16.1",
"js-cookie": "3.0.5",
"motion": "12.23.26",
"next": "16.0.10",
"next-intl": "4.6.0",
"motion": "12.25.0",
"next": "16.1.1",
"next-intl": "4.7.0",
"next-themes": "0.4.6",
"radix-ui": "1.4.3",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-error-boundary": "6.0.0",
"react-error-boundary": "6.0.3",
"react-intersection-observer": "10.0.0",
"react-markdown": "^10.1.0",
"react-responsive-masonry": "2.7.1",
@@ -47,26 +56,26 @@
},
"devDependencies": {
"@egoist/tailwindcss-icons": "1.9.0",
"@iconify-json/lucide": "1.2.81",
"@iconify-json/lucide": "1.2.83",
"@iconify-json/mingcute": "catalog:",
"@iconify-json/simple-icons": "1.2.63",
"@iconify-json/simple-icons": "1.2.65",
"@iconify/tailwind": "1.2.0",
"@innei/prettier": "1.0.0",
"@next/bundle-analyzer": "16.0.10",
"@next/bundle-analyzer": "16.1.1",
"@pastel-palette/tailwindcss": "1.0.0-canary.3",
"@tailwindcss/postcss": "catalog:",
"@tailwindcss/typography": "0.5.19",
"@tanstack/react-query-devtools": "5.91.1",
"@tanstack/react-query-devtools": "5.91.2",
"@types/node": "24.10.1",
"@types/react": "19.2.7",
"@types/react": "19.2.8",
"@types/react-dom": "19.2.3",
"@types/react-responsive-masonry": "2.7.0",
"autoprefixer": "10.4.23",
"code-inspector-plugin": "1.3.3",
"code-inspector-plugin": "1.3.4",
"cross-env": "10.1.0",
"dotenv": "17.2.3",
"eslint": "9.39.2",
"eslint-config-hyoban": "4.0.10",
"eslint-config-hyoban": "5.0.3",
"husky": "9.1.7",
"lint-staged": "16.2.7",
"postcss": "8.5.6",
@@ -80,15 +89,6 @@
"tailwindcss-safe-area": "catalog:",
"typescript": "5.9.3"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --ignore-path ./.gitignore --write "
]
},
"bump": {
"before": [
"git pull --rebase",

View File

@@ -1,10 +1,9 @@
{
"name": "@afilmory/ssr",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@10.26.2",
"description": "",
"author": "Innei",
"type": "module",
"main": "index.js",
"scripts": {
"build": "sh scripts/build.sh",
@@ -28,7 +27,7 @@
"es-toolkit": "1.43.0",
"linkedom": "0.18.12",
"pg": "8.16.3",
"postgres": "3.4.7",
"postgres": "3.4.8",
"prop-types": "15.8.1",
"react": "19.2.3",
"react-dom": "19.2.3",
@@ -47,18 +46,19 @@
"@tailwindcss/typography": "catalog:",
"@types/node": "24.10.1",
"@types/pg": "8.16.0",
"@types/react": "19.2.7",
"@types/react": "19.2.8",
"@types/react-dom": "19.2.3",
"concurrently": "9.2.1",
"cross-env": "10.1.0",
"dotenv-expand": "catalog:",
"drizzle-kit": "0.31.8",
"next": "16.0.10",
"next": "16.1.1",
"postcss": "8.5.6",
"tailwind-scrollbar": "catalog:",
"tailwindcss": "catalog:",
"tailwindcss-animate": "catalog:",
"tailwindcss-safe-area": "catalog:",
"tailwindcss-uikit-colors": "catalog:"
}
},
"packageManager": "pnpm@10.26.2"
}

View File

@@ -1,12 +1,11 @@
{
"name": "@afilmory/web",
"type": "module",
"version": "0.0.1",
"packageManager": "pnpm@10.26.2",
"repository": {
"type": "git",
"url": "https://github.com/Afilmory/Afilmory"
},
"type": "module",
"scripts": {
"analyze": "analyzer=1 vite build",
"build": "tsx scripts/build.ts",
@@ -29,14 +28,14 @@
"@afilmory/webgl-viewer": "workspace:*",
"@essentials/request-timeout": "1.3.0",
"@headlessui/react": "2.2.9",
"@lobehub/fluent-emoji": "4.0.1",
"@lobehub/fluent-emoji": "4.1.0",
"@maplibre/maplibre-gl-geocoder": "^1.9.4",
"@radix-ui/react-avatar": "1.1.11",
"@radix-ui/react-dropdown-menu": "2.1.16",
"@react-hook/window-size": "3.1.1",
"@t3-oss/env-core": "catalog:",
"@tanstack/react-query": "5.90.12",
"@tanstack/react-virtual": "3.13.13",
"@tanstack/react-query": "5.90.16",
"@tanstack/react-virtual": "3.13.18",
"@use-gesture/react": "10.3.1",
"@uswriting/exiftool": "1.0.9",
"blurhash": "2.0.5",
@@ -44,29 +43,29 @@
"consola": "3.4.2",
"dotenv": "17.2.3",
"es-toolkit": "1.43.0",
"file-type": "^21.2.0",
"foxact": "0.2.49",
"file-type": "^21.3.0",
"foxact": "0.2.51",
"heic-to": "1.3.0",
"i18next": "25.7.3",
"i18next": "25.7.4",
"i18next-browser-languagedetector": "8.2.0",
"immer": "11.0.1",
"jotai": "2.16.0",
"immer": "11.1.3",
"jotai": "2.16.1",
"maplibre-gl": "^5.15.0",
"masonic": "4.1.0",
"motion": "12.23.26",
"motion": "12.25.0",
"ofetch": "1.5.1",
"react": "19.2.3",
"react-blurhash": "0.3.0",
"react-dom": "19.2.3",
"react-error-boundary": "6.0.0",
"react-error-boundary": "6.0.3",
"react-freeze": "1.0.4",
"react-i18next": "16.5.0",
"react-i18next": "16.5.1",
"react-image-gallery": "1.4.0",
"react-intersection-observer": "10.0.0",
"react-map-gl": "^8.1.0",
"react-remove-scroll": "2.7.2",
"react-responsive-masonry": "2.7.1",
"react-router": "7.10.1",
"react-router": "7.12.0",
"react-scan": "0.4.3",
"react-use-measure": "2.1.7",
"react-zoom-pan-pinch": "3.7.0",
@@ -84,26 +83,26 @@
},
"devDependencies": {
"@egoist/tailwindcss-icons": "catalog:",
"@iconify-json/lucide": "1.2.81",
"@iconify-json/lucide": "1.2.83",
"@iconify-json/mingcute": "catalog:",
"@iconify-json/simple-icons": "1.2.63",
"@iconify-json/simple-icons": "1.2.65",
"@tailwindcss/postcss": "catalog:",
"@tailwindcss/typography": "catalog:",
"@tailwindcss/vite": "4.1.18",
"@types/node": "24.10.1",
"@types/react": "19.2.7",
"@types/react": "19.2.8",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"ast-kit": "2.2.0",
"babel-plugin-react-compiler": "1.0.0",
"code-inspector-plugin": "1.3.3",
"code-inspector-plugin": "1.3.4",
"daisyui": "5.5.14",
"execa": "9.6.1",
"kolorist": "1.8.0",
"linkedom": "0.18.12",
"postcss": "8.5.6",
"postcss-import": "16.1.1",
"postcss-js": "5.0.2",
"postcss-js": "5.0.3",
"react-compiler-runtime": "1.0.0",
"simple-git-hooks": "2.13.1",
"tailwind-scrollbar": "catalog:",
@@ -115,5 +114,6 @@
"vite-plugin-html": "3.2.2",
"vite-plugin-pwa": "1.2.0",
"vite-plugin-route-builder": "0.5.0-alpha.1"
}
},
"packageManager": "pnpm@10.26.2"
}

View File

@@ -1,9 +1,8 @@
{
"name": "@afilmory/core",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@10.26.2",
"author": "Innei",
"type": "module",
"main": "index.ts",
"scripts": {
"build": "vite build",
@@ -27,28 +26,28 @@
"@afilmory/task-queue": "workspace:*",
"@afilmory/utils": "workspace:*",
"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-s3": "3.952.0",
"@aws-sdk/s3-request-presigner": "3.952.0",
"@aws-sdk/client-s3": "3.966.0",
"@aws-sdk/s3-request-presigner": "3.966.0",
"@creem_io/better-auth": "0.0.12",
"@hono/node-server": "^1.19.7",
"@hono/node-server": "^1.19.8",
"@resvg/resvg-js": "2.6.2",
"@types/busboy": "1.5.4",
"better-auth": "1.4.7",
"better-auth": "1.4.10",
"busboy": "1.6.0",
"consola": "3.4.2",
"drizzle-orm": "^0.45.1",
"ejs": "3.1.10",
"hono": "4.11.1",
"hono": "4.11.3",
"linkedom": "0.18.12",
"mime-types": "3.0.2",
"pg": "^8.16.3",
"pg-native": "3.5.2",
"picocolors": "1.1.1",
"reflect-metadata": "0.2.2",
"resend": "6.6.0",
"resend": "6.7.0",
"satori": "catalog:",
"tsyringe": "4.10.0",
"zod": "^4.2.1"
"zod": "^4.3.5"
},
"devDependencies": {
"@types/ejs": "3.1.5",
@@ -60,7 +59,8 @@
"vite": "8.0.0-beta.0",
"vite-bundle-analyzer": "1.3.2",
"vite-node": "5.2.0",
"vite-tsconfig-paths": "6.0.1",
"vitest": "4.0.15"
}
"vite-tsconfig-paths": "6.0.4",
"vitest": "4.0.16"
},
"packageManager": "pnpm@10.26.2"
}

View File

@@ -61,7 +61,7 @@ export async function createConfiguredApp(options: BootstrapOptions): Promise<Ho
hono.onError((error, context) => {
if (error instanceof BizException) {
return new Response(JSON.stringify(error.toResponse()), {
return Response.json(error.toResponse(), {
status: error.getHttpStatus(),
headers: {
'content-type': 'application/json',
@@ -70,7 +70,7 @@ export async function createConfiguredApp(options: BootstrapOptions): Promise<Ho
}
if (error instanceof HttpException) {
return new Response(JSON.stringify(error.getResponse()), {
return Response.json(error.getResponse(), {
status: error.getStatus(),
headers: {
'content-type': 'application/json',
@@ -84,7 +84,7 @@ export async function createConfiguredApp(options: BootstrapOptions): Promise<Ho
? (error as { statusCode?: number }).statusCode!
: 500
return new Response(JSON.stringify(error), {
return Response.json(error, {
status: statusCode,
headers: {
'content-type': 'application/json',
@@ -94,11 +94,11 @@ export async function createConfiguredApp(options: BootstrapOptions): Promise<Ho
honoErrorLogger.error(`Unhandled error ${context.req.method} ${context.req.url}`, error)
return new Response(
JSON.stringify({
return Response.json(
{
statusCode: 500,
message: 'Internal server error',
}),
},
{
status: 500,
headers: {

View File

@@ -20,7 +20,7 @@ export class AllExceptionsFilter implements ExceptionFilter {
}
if (exception instanceof BizException) {
const response = exception.toResponse()
return new Response(JSON.stringify(response), {
return Response.json(response, {
status: exception.getHttpStatus(),
headers: {
'content-type': 'application/json',
@@ -29,7 +29,7 @@ export class AllExceptionsFilter implements ExceptionFilter {
}
if (exception instanceof HttpException) {
return new Response(JSON.stringify(exception.getResponse()), {
return Response.json(exception.getResponse(), {
status: exception.getStatus(),
headers: {
'content-type': 'application/json',
@@ -38,7 +38,7 @@ export class AllExceptionsFilter implements ExceptionFilter {
}
if (typeof exception === 'object' && exception !== null && 'statusCode' in exception) {
return new Response(JSON.stringify(exception), {
return Response.json(exception, {
status: exception.statusCode as number,
headers: {
'content-type': 'application/json',
@@ -46,11 +46,11 @@ export class AllExceptionsFilter implements ExceptionFilter {
})
}
return new Response(
JSON.stringify({
return Response.json(
{
statusCode: 500,
message: 'Internal server error',
}),
},
{
status: 500,
headers: {

View File

@@ -18,7 +18,7 @@ const storageSignQuerySchema = z
.optional()
.transform((val) => {
if (!val || val.trim().length === 0) {
return undefined
return
}
const parsed = Number.parseInt(val, 10)
return Number.isFinite(parsed) ? parsed : undefined

View File

@@ -306,7 +306,7 @@ export class AuthRegistrationService {
)
}
const response = new Response(JSON.stringify({ tenant: updatedTenant }), {
const response = Response.json({ tenant: updatedTenant }, {
status: 200,
headers: { 'Content-Type': 'application/json' },
})
@@ -392,7 +392,7 @@ export class AuthRegistrationService {
response = signupResponse
} else if (sessionUser && tenantId) {
userId = await this.attachSessionUserToTenant(tenantId)
response = new Response(JSON.stringify({ user: { id: userId } }), {
response = Response.json({ user: { id: userId } }, {
status: 200,
headers: { 'Content-Type': 'application/json' },
})

View File

@@ -582,7 +582,7 @@ export class AuthController {
headers.set('content-type', 'application/json; charset=utf-8')
return new Response(JSON.stringify(responseBody), {
return Response.json(responseBody, {
status: source.status,
statusText: source.statusText,
headers,
@@ -655,7 +655,7 @@ export class AuthController {
url: wrappedUrl,
}
return new Response(JSON.stringify(nextPayload), {
return Response.json(nextPayload, {
status: response.status,
statusText: response.statusText,
headers,

View File

@@ -1,12 +1,11 @@
{
"name": "@afilmory/dashboard",
"type": "module",
"version": "0.0.0",
"packageManager": "pnpm@10.26.2",
"repository": {
"type": "git",
"url": "https://github.com/afilmory/afilmory"
},
"type": "module",
"scripts": {
"build": "vite build",
"build:prod:saas": "SAAS=1 vite build",
@@ -16,6 +15,17 @@
"prepare": "simple-git-hooks",
"serve": "vite preview"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.gitignore --write "
],
"*.{js,ts,cjs,mjs,jsx,tsx,json}": [
"eslint --fix"
]
},
"dependencies": {
"@afilmory/hooks": "workspace:*",
"@afilmory/ui": "workspace:*",
@@ -36,26 +46,26 @@
"@radix-ui/react-switch": "1.2.6",
"@radix-ui/react-tooltip": "1.2.8",
"@react-hook/window-size": "3.1.1",
"@tanstack/react-form": "1.27.4",
"@tanstack/react-query": "5.90.12",
"better-auth": "1.4.7",
"@tanstack/react-form": "1.27.7",
"@tanstack/react-query": "5.90.16",
"better-auth": "1.4.10",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"es-toolkit": "1.43.0",
"foxact": "0.2.49",
"i18next": "25.7.3",
"foxact": "0.2.51",
"i18next": "25.7.4",
"i18next-browser-languagedetector": "8.2.0",
"immer": "11.0.1",
"jotai": "2.16.0",
"lucide-react": "0.561.0",
"motion": "12.23.26",
"immer": "11.1.3",
"jotai": "2.16.1",
"lucide-react": "0.562.0",
"motion": "12.25.0",
"nanoid": "5.1.6",
"ofetch": "1.5.1",
"radix-ui": "1.4.3",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-i18next": "16.5.0",
"react-router": "7.10.1",
"react-i18next": "16.5.1",
"react-router": "7.12.0",
"react-scan": "0.4.3",
"sonner": "2.0.7",
"tailwind-merge": "3.4.0",
@@ -65,20 +75,20 @@
"devDependencies": {
"@egoist/tailwindcss-icons": "1.9.0",
"@iconify-json/mingcute": "catalog:",
"@iconify-json/simple-icons": "1.2.63",
"@iconify-json/simple-icons": "1.2.65",
"@tailwindcss/container-queries": "0.1.1",
"@tailwindcss/postcss": "catalog:",
"@tailwindcss/typography": "0.5.19",
"@tailwindcss/vite": "4.1.18",
"@types/node": "24.10.1",
"@types/react": "19.2.7",
"@types/react": "19.2.8",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"autoprefixer": "10.4.23",
"babel-plugin-react-compiler": "1.0.0",
"code-inspector-plugin": "1.3.3",
"code-inspector-plugin": "1.3.4",
"eslint": "9.39.2",
"eslint-config-hyoban": "4.0.10",
"eslint-config-hyoban": "5.0.3",
"lint-staged": "16.2.7",
"masonic": "4.1.0",
"postcss": "8.5.6",
@@ -96,17 +106,7 @@
"vite": "8.0.0-beta.0",
"vite-plugin-checker": "0.12.0",
"vite-plugin-route-builder": "0.5.0-alpha.1",
"vite-tsconfig-paths": "6.0.1"
"vite-tsconfig-paths": "6.0.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.gitignore --write "
],
"*.{js,ts,cjs,mjs,jsx,tsx,json}": [
"eslint --fix"
]
}
"packageManager": "pnpm@10.26.2"
}

View File

@@ -1,8 +1,8 @@
{
"name": "@afilmory/oauth-gateway",
"type": "module",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"dev": "nodemon",
@@ -11,7 +11,7 @@
"dependencies": {
"@afilmory/be-utils": "workspace:*",
"@afilmory/utils": "workspace:*",
"@hono/node-server": "^1.19.7",
"@hono/node-server": "^1.19.8",
"hono": "^4.11.3",
"zod": "catalog:"
},

View File

@@ -1,9 +1,9 @@
{
"name": "@afilmory/be",
"type": "module",
"version": "1.0.0",
"private": true,
"author": "Innei",
"type": "module",
"main": "index.js",
"scripts": {
"db:generate": "pnpm --filter core db:generate",
@@ -14,22 +14,22 @@
"prepare": "simple-git-hooks",
"test": "pnpm run -r test"
},
"dependencies": {
"prettier": "3.7.4"
},
"devDependencies": {
"eslint": "9.39.2",
"eslint-config-hyoban": "4.0.10",
"jiti": "2.6.1",
"lint-staged": "16.2.7",
"simple-git-hooks": "2.13.1",
"typescript": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix",
"*.{js,jsx,ts,tsx,json,css,md}": "prettier --write"
},
"dependencies": {
"prettier": "3.7.4"
},
"devDependencies": {
"eslint": "9.39.2",
"eslint-config-hyoban": "5.0.3",
"jiti": "2.6.1",
"lint-staged": "16.2.7",
"simple-git-hooks": "2.13.1",
"typescript": "catalog:"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/db",
"type": "module",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
@@ -20,7 +20,7 @@
"nodejs-snowflake": "^2.0.1",
"pg": "^8.16.3",
"pg-native": "3.5.2",
"zod": "^4.2.1"
"zod": "^4.3.5"
},
"devDependencies": {
"drizzle-kit": "0.31.8"

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/env",
"type": "module",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
@@ -13,6 +13,6 @@
"dependencies": {
"@t3-oss/env-core": "^0.13.10",
"dotenv": "17.2.3",
"zod": "^4.2.1"
"zod": "^4.3.5"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/framework",
"type": "module",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
@@ -15,21 +15,21 @@
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"peerDependencies": {
"ioredis": ">=5.8.0"
},
"dependencies": {
"hono": "4.11.1",
"hono": "4.11.3",
"picocolors": "1.1.1",
"reflect-metadata": "0.2.2",
"tsyringe": "4.10.0",
"zod": "^4.2.1"
"zod": "^4.3.5"
},
"devDependencies": {
"@types/node": "^25.0.3",
"@vitest/coverage-v8": "4.0.15",
"ioredis": "5.8.2",
"@vitest/coverage-v8": "4.0.16",
"ioredis": "5.9.1",
"unplugin-swc": "1.5.9",
"vitest": "4.0.15"
"vitest": "4.0.16"
},
"peerDependencies": {
"ioredis": ">=5.8.0"
}
}

View File

@@ -1101,7 +1101,7 @@ export class HonoHttpApplication {
private json(context: Context, payload: unknown, status: number): Response {
const normalizedPayload = payload === undefined ? null : payload
return new Response(JSON.stringify(normalizedPayload), {
return Response.json(normalizedPayload, {
status,
headers: {
'content-type': 'application/json',

View File

@@ -1623,7 +1623,7 @@ describe('APP_* providers and auto-registration of decorator enhancers', () => {
@injectable()
class AppFilter2 implements ExceptionFilter {
async catch(_e: unknown, _host: ArgumentsHost) {
return new Response(JSON.stringify({ handled: 'app' }), {
return Response.json({ handled: 'app' }, {
status: 499,
headers: {
'content-type': 'application/json',

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/redis",
"type": "module",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
@@ -11,6 +11,6 @@
"main": "./src/index.ts",
"types": "./src/index.ts",
"dependencies": {
"ioredis": "^5.8.2"
"ioredis": "^5.9.1"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/task-queue",
"type": "module",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
@@ -14,17 +14,17 @@
"test": "vitest run --coverage",
"test:watch": "vitest"
},
"peerDependencies": {
"ioredis": "^5.8.0"
},
"dependencies": {
"@afilmory/framework": "workspace:*",
"tsyringe": "^4.10.0"
},
"devDependencies": {
"@types/node": "^25.0.3",
"@vitest/coverage-v8": "4.0.15",
"ioredis": "^5.8.2",
"vitest": "4.0.15"
"@vitest/coverage-v8": "4.0.16",
"ioredis": "^5.9.1",
"vitest": "4.0.16"
},
"peerDependencies": {
"ioredis": "^5.8.0"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/be-utils",
"type": "module",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
@@ -16,7 +16,7 @@
"types": "./src/index.ts",
"dependencies": {
"nodejs-snowflake": "^2.0.1",
"zod": "^4.2.1"
"zod": "^4.3.5"
},
"devDependencies": {
"@types/node": "^25.0.3"

View File

@@ -1,14 +1,13 @@
{
"name": "@afilmory/monorepo",
"type": "module",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.26.2",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/Afilmory/Afilmory"
},
"license": "SEE LICENSE IN LICENSE.md",
"type": "module",
"scripts": {
"build": "pnpm --filter @afilmory/ssr build",
"build:demo": "sh scripts/prepare-demo-data.sh && pnpm --filter web build",
@@ -22,14 +21,28 @@
"docs:preview": "pnpm --filter @afilmory/docs preview",
"extract:font": "tsx scripts/extract-font-glyphs.ts",
"format": "prettier --write \"apps/**/*.{ts,tsx,js,jsx,json,css,md}\" \"packages/**/*.{ts,tsx,js,jsx,json,css,md}\" \"be/**/*.{ts,tsx,js,jsx,json,css,md}\"",
"preinstall": "sh scripts/preinstall.sh",
"lint": "eslint --fix",
"migrate:manifest": "tsx scripts/migrate-manifest.ts",
"preinstall": "sh scripts/preinstall.sh",
"prepare": "simple-git-hooks",
"reinstall": "rm -rf **/*/node_modules && rm -rf node_modules && pnpm install",
"type-check": "pnpm run -r type-check",
"update:lastmodified": "tsx scripts/update-lastmodified.ts"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.gitignore --write "
],
"*.{js,ts,cjs,mjs,jsx,tsx,json}": [
"eslint --fix"
],
"*.{md,mdx}": [
"pnpm update:lastmodified"
]
},
"dependencies": {
"@afilmory/builder": "workspace:*",
"@afilmory/hooks": "workspace:*",
@@ -46,7 +59,7 @@
"ast-kit": "2.2.0",
"dotenv-expand": "catalog:",
"eslint": "9.39.2",
"eslint-config-hyoban": "4.0.10",
"eslint-config-hyoban": "5.0.3",
"fast-glob": "3.3.3",
"lint-staged": "16.2.7",
"nbump": "2.1.8",
@@ -61,20 +74,7 @@
"vite-bundle-analyzer": "1.3.2",
"vite-plugin-babel": "1.3.2",
"vite-plugin-checker": "0.12.0",
"vite-tsconfig-paths": "6.0.1"
"vite-tsconfig-paths": "6.0.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.gitignore --write "
],
"*.{js,ts,cjs,mjs,jsx,tsx,json}": [
"eslint --fix"
],
"*.{md,mdx}": [
"pnpm update:lastmodified"
]
}
"packageManager": "pnpm@10.26.2"
}

View File

@@ -1,7 +1,10 @@
{
"name": "@afilmory/builder",
"type": "module",
"version": "0.2.2",
"description": "Afilmory Builder",
"type": "module",
"license": "MIT",
"author": "Innei",
"exports": {
".": "./src/index.ts",
"./*": "./src/*"
@@ -48,4 +51,4 @@
}
}
}
}
}

View File

@@ -56,7 +56,7 @@ export default function eagleStoragePlugin(options: EagleStoragePluginOptions =
}
}
// Apply omitTagNamesInMetadata filter
const omit = new Set((eagleConfig as EagleConfig).omitTagNamesInMetadata ?? [])
const omit = new Set((eagleConfig as EagleConfig).omitTagNamesInMetadata)
if (omit.size > 0 && meta.tags) {
meta.tags = meta.tags.filter((t) => !omit.has(t))
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/data",
"type": "module",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./manifest": "./src/photos-manifest.json",

View File

@@ -1,23 +1,23 @@
{
"name": "@afilmory/hooks",
"type": "module",
"version": "0.0.1",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./*": "./src/*"
},
"peerDependencies": {
"react": "^19.1.1"
},
"dependencies": {
"jotai": "^2.16.1",
"usehooks-ts": "^3.1.1"
},
"devDependencies": {
"@types/react": "^19.2.7",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"react": "^19.2.3",
"react-dom": "^19.2.3"
},
"peerDependencies": {
"react": "^19.1.1"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/og-renderer",
"type": "module",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./renderer": "./src/og.renderer.tsx",
@@ -9,7 +9,7 @@
},
"devDependencies": {
"@resvg/resvg-js": "2.6.2",
"hono": "4.11.1",
"hono": "4.11.3",
"satori": "catalog:"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "@afilmory/sdk",
"type": "module",
"version": "0.0.1",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",

View File

@@ -1,8 +1,8 @@
{
"name": "@afilmory/typing",
"type": "module",
"version": "0.0.1",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./*": "./src/*"

View File

@@ -1,16 +1,12 @@
{
"name": "@afilmory/ui",
"type": "module",
"version": "0.0.1",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./*": "./src/*"
},
"peerDependencies": {
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
"dependencies": {
"@afilmory/hooks": "workspace:*",
"@afilmory/utils": "workspace:*",
@@ -28,7 +24,7 @@
"@radix-ui/react-tooltip": "1.2.8",
"clsx": "^2.1.1",
"jotai": "^2.16.1",
"motion": "^12.23.26",
"motion": "^12.25.0",
"react-intersection-observer": "10.0.0",
"sonner": "2.0.7",
"tailwind-merge": "^3.4.0",
@@ -37,9 +33,13 @@
"usehooks-ts": "^3.1.1"
},
"devDependencies": {
"@types/react": "^19.2.7",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"react": "^19.2.3",
"react-dom": "^19.2.3"
},
"peerDependencies": {
"react": "^19.1.1",
"react-dom": "^19.1.1"
}
}

View File

@@ -1,8 +1,8 @@
{
"name": "@afilmory/utils",
"type": "module",
"version": "0.0.1",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./*": "./src/*"
@@ -13,6 +13,6 @@
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"motion": "12.23.26"
"motion": "12.25.0"
}
}

View File

@@ -1,11 +1,10 @@
{
"name": "@afilmory/webgl-viewer",
"type": "module",
"description": "Afilmory WebGL Viewer",
"version": "0.2.0",
"packageManager": "pnpm@10.26.2",
"description": "",
"author": "Innei",
"license": "MIT",
"author": "Innei",
"type": "module",
"exports": {
".": "./src/index.ts"
},
@@ -14,17 +13,18 @@
"build": "vite build",
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"react": ">=19.0.0"
},
"devDependencies": {
"@types/react": "19.2.7",
"@types/react": "19.2.8",
"nbump": "2.1.8",
"react": "19.2.3",
"tsdown": "0.18.0",
"unplugin-dts": "1.0.0-beta.6",
"vite": "8.0.0-beta.0"
},
"peerDependencies": {
"react": ">=19.0.0"
},
"packageManager": "pnpm@10.26.2",
"publishConfig": {
"access": "public",
"main": "./dist/index.js",
@@ -35,4 +35,4 @@
}
}
}
}
}

View File

@@ -14,8 +14,7 @@ export default {
meta: {
type: 'problem',
docs: {
description:
'Ensure that the versions of packages in the workspace are consistent',
description: 'Ensure that the versions of packages in the workspace are consistent',
category: 'Possible Errors',
recommended: true,
},
@@ -26,13 +25,10 @@ export default {
if (!context.filename.endsWith('package.json')) return {}
const cwd = process.cwd()
const packageJsonFilePaths = fg.globSync(
['packages/*/package.json', 'apps/*/package.json', 'package.json'],
{
cwd,
ignore: ['**/node_modules/**'],
},
)
const packageJsonFilePaths = fg.globSync(['packages/*/package.json', 'apps/*/package.json', 'package.json'], {
cwd,
ignore: ['**/node_modules/**'],
})
/** @type {Map<string, { version: string, filePath: string }[]>} */
const packageVersionMap = new Map()
@@ -70,16 +66,14 @@ export default {
const packageVersion = node.value.value
const versions = packageVersionMap.get(packageName)
if (!versions || versions.find((v) => v.version === packageVersion))
return
if (!versions || versions.some((v) => v.version === packageVersion)) return
context.report({
node,
message: `Inconsistent versions of ${packageName}: ${Array.from(new Set(versions.map((v) => v.version))).join(', ')}`,
suggest: versions.map((version) => ({
desc: `Follow the version ${version.version} in ${version.filePath}`,
fix: (fixer) =>
fixer.replaceText(node.value, `"${version.version}"`),
fix: (fixer) => fixer.replaceText(node.value, `"${version.version}"`),
})),
})
},

6354
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,10 +18,10 @@ catalog:
tailwind-variants: 3.2.2
tailwindcss: 4.1.18
tailwindcss-animate: 1.0.7
tailwindcss-safe-area: 1.2.0
tailwindcss-safe-area: 1.3.0
tailwindcss-uikit-colors: 1.0.0
typescript: 5.9.3
zod: 4.2.1
zod: 4.3.5
onlyBuiltDependencies:
- esbuild