mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
build(deps): upgrade chokidar, pinia, and jsdom majors and drop unused deps
Move chokidar to 5, pinia to 4, and jsdom to 30 with a matching @types/jsdom, and align packages/types on TypeScript 6 with the other workspaces. chokidar 5 is ESM-only while the server compiles to CommonJS. Node's require(ESM) support covers this, verified against a live watcher and a nest watch build rather than the mocked unit tests. Remove @fastify/formbody and @tanstack/vue-table, neither of which had a single caller, along with the stale @tanstack/vue-table entry in the Vite optimizeDeps list. Hold TypeScript at 6. typescript-eslint refuses to install alongside 7 and vue-tsc cannot drive the native checker until the stable compiler API lands in 7.1. Ignore pnpm-lock.yaml in prettier so lint-staged stops rewriting it out of pnpm's native style, which was inflating every lockfile diff to roughly 19k lines.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
# pnpm writes this file in its own style. Formatting it rewrites the quoting of
|
||||||
|
# every entry, turning a routine dependency bump into a ~19k line diff.
|
||||||
|
pnpm-lock.yaml
|
||||||
+3
-4
@@ -64,7 +64,6 @@
|
|||||||
"@formatjs/icu-messageformat-parser": "^3.5.16",
|
"@formatjs/icu-messageformat-parser": "^3.5.16",
|
||||||
"@lucide/vue": "1.31.0",
|
"@lucide/vue": "1.31.0",
|
||||||
"@tailwindcss/vite": "^4.3.3",
|
"@tailwindcss/vite": "^4.3.3",
|
||||||
"@tanstack/vue-table": "^8.21.3",
|
|
||||||
"@tanstack/vue-virtual": "^3.13.35",
|
"@tanstack/vue-virtual": "^3.13.35",
|
||||||
"@tiptap/extension-link": "^3.30.1",
|
"@tiptap/extension-link": "^3.30.1",
|
||||||
"@tiptap/pm": "^3.30.1",
|
"@tiptap/pm": "^3.30.1",
|
||||||
@@ -81,7 +80,7 @@
|
|||||||
"echarts": "^6.1.0",
|
"echarts": "^6.1.0",
|
||||||
"howler": "^2.2.4",
|
"howler": "^2.2.4",
|
||||||
"intl-messageformat": "^11.2.13",
|
"intl-messageformat": "^11.2.13",
|
||||||
"pinia": "^3.0.4",
|
"pinia": "^4.0.3",
|
||||||
"reka-ui": "^2.10.3",
|
"reka-ui": "^2.10.3",
|
||||||
"socket.io-client": "^4.8.3",
|
"socket.io-client": "^4.8.3",
|
||||||
"tailwind-merge": "^3.6.0",
|
"tailwind-merge": "^3.6.0",
|
||||||
@@ -99,7 +98,7 @@
|
|||||||
"@intlify/message-compiler": "^11.4.8",
|
"@intlify/message-compiler": "^11.4.8",
|
||||||
"@tsconfig/node24": "^24.0.5",
|
"@tsconfig/node24": "^24.0.5",
|
||||||
"@types/canvas-confetti": "^1.9.0",
|
"@types/canvas-confetti": "^1.9.0",
|
||||||
"@types/jsdom": "^28.0.3",
|
"@types/jsdom": "^30.0.0",
|
||||||
"@types/node": "^26.2.0",
|
"@types/node": "^26.2.0",
|
||||||
"@vite-pwa/assets-generator": "^1.0.2",
|
"@vite-pwa/assets-generator": "^1.0.2",
|
||||||
"@vitejs/plugin-vue": "^6.0.8",
|
"@vitejs/plugin-vue": "^6.0.8",
|
||||||
@@ -113,7 +112,7 @@
|
|||||||
"eslint-plugin-oxlint": "~1.78.0",
|
"eslint-plugin-oxlint": "~1.78.0",
|
||||||
"eslint-plugin-vue": "~10.10.0",
|
"eslint-plugin-vue": "~10.10.0",
|
||||||
"jiti": "^2.7.0",
|
"jiti": "^2.7.0",
|
||||||
"jsdom": "^29.1.1",
|
"jsdom": "^30.0.1",
|
||||||
"npm-run-all2": "^9.0.3",
|
"npm-run-all2": "^9.0.3",
|
||||||
"oxlint": "~1.78.0",
|
"oxlint": "~1.78.0",
|
||||||
"prettier": "3.9.6",
|
"prettier": "3.9.6",
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
include: ['@tanstack/vue-table', '@tanstack/vue-virtual'],
|
include: ['@tanstack/vue-virtual'],
|
||||||
exclude: ['@embedpdf/core', '@embedpdf/core/vue'],
|
exclude: ['@embedpdf/core', '@embedpdf/core/vue'],
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5.9.3"
|
"typescript": "^6.0.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|||||||
Generated
+6651
-12330
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -53,7 +53,6 @@
|
|||||||
"@bookorbit/types": "workspace:*",
|
"@bookorbit/types": "workspace:*",
|
||||||
"@fastify/compress": "^9.2.0",
|
"@fastify/compress": "^9.2.0",
|
||||||
"@fastify/cookie": "^11.1.2",
|
"@fastify/cookie": "^11.1.2",
|
||||||
"@fastify/formbody": "^8.0.2",
|
|
||||||
"@fastify/helmet": "^13.1.0",
|
"@fastify/helmet": "^13.1.0",
|
||||||
"@fastify/multipart": "^10.1.1",
|
"@fastify/multipart": "^10.1.1",
|
||||||
"@fastify/static": "^10.1.3",
|
"@fastify/static": "^10.1.3",
|
||||||
@@ -73,7 +72,7 @@
|
|||||||
"archiver": "~8.0.0",
|
"archiver": "~8.0.0",
|
||||||
"bcryptjs": "^3.0.3",
|
"bcryptjs": "^3.0.3",
|
||||||
"cheerio": "^1.2.0",
|
"cheerio": "^1.2.0",
|
||||||
"chokidar": "^4.0.3",
|
"chokidar": "^5.0.0",
|
||||||
"class-transformer": "^0.5.1",
|
"class-transformer": "^0.5.1",
|
||||||
"class-validator": "^0.15.1",
|
"class-validator": "^0.15.1",
|
||||||
"cron": "^4.4.0",
|
"cron": "^4.4.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user