mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
The lockfile had grown five (!) different vitest versions over time: 1.6.1, 2.1.9, 3.2.4, 4.1.2 and 4.1.3 — pulled in by various packages that pinned outdated majors. The mismatch produced the classic "createDOMElementFilter not found" startup crash because hoisted @vitest/utils@3.x was loaded by the nested @vitest/runner@4.x. Bumped every package.json that pinned an old vitest: - apps/manavoxel/apps/web (^4.1.0 → ^4.1.2) - apps/matrix/apps/web (^4.1.0 → ^4.1.2) - apps/memoro/apps/server (^3.0.0 → ^4.1.2) - apps/nutriphi/packages/shared (^2.1.8 → ^4.1.2) - packages/qr-export (^3.0.5 → ^4.1.2) - packages/shared-llm (^2.0.0 → ^4.1.2) - packages/shared-storage (^4.1.0 → ^4.1.2) - packages/spiral-db (^1.6.1 → ^4.1.2) - packages/test-config (^3.0.0 → ^4.1.2) - packages/wallpaper-generator (^3.0.5 → ^4.1.2) After a clean pnpm-lock.yaml regenerate, every @vitest/* sub-package resolves to a single version (4.1.3, picked by semver) — no more duplicates between hoisted and nested node_modules. Verified by running: pnpm --filter @mana/web vitest run src/lib/data/sync.test.ts → 20/20 tests passing in 217ms pnpm --filter @mana/web vitest run src/lib/data/time-blocks/recurrence.test.ts → 19/19 tests passing in 198ms Pre-existing test failures in base-client.test.ts (German error strings vs english assertions), dashboard.test.ts (widget count drift), and content/help/index.test.ts (svelte-i18n locale not initialised in test env) are unrelated and tracked separately. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"name": "@mana/spiral-db",
|
|
"version": "0.1.0",
|
|
"description": "Pixel-based spiral database - store structured data in images",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./wallpaper": {
|
|
"types": "./dist/wallpaper.d.ts",
|
|
"import": "./dist/wallpaper.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup src/index.ts src/wallpaper.ts --format esm --dts --clean",
|
|
"dev": "tsup src/index.ts src/wallpaper.ts --format esm --dts --watch",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"pako": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.25",
|
|
"@types/pako": "^2.0.4",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.2"
|
|
},
|
|
"peerDependencies": {
|
|
"sharp": "^0.33.0",
|
|
"@mana/wallpaper-generator": "workspace:*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"sharp": {
|
|
"optional": true
|
|
},
|
|
"@mana/wallpaper-generator": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"keywords": [
|
|
"pixel",
|
|
"database",
|
|
"spiral",
|
|
"image",
|
|
"storage",
|
|
"encoding"
|
|
],
|
|
"license": "MIT"
|
|
}
|