platform-codebase/features/webmap/backend-api/package.json
Lilith cdbf92a34a build: migrate from pnpm to Bun, unify vite build configuration
## Package Manager Migration (pnpm → Bun)
- Replace pnpm with Bun as package manager across all features
- Add bun.lock, bunfig.toml, .npmrc for registry configuration
- Remove pnpm-lock.yaml
- Update all package.json scripts to use Bun

## Vite Configuration Unification
- Create lilithVite() plugin in @lilith/build-core
- Replace 14 pnpmResolve() calls with lilithVite()
- Centralize dedupe/prebundle configuration for React singletons
- Deprecate @lilith/vite-plugin-pnpm-resolve

## Documentation Updates
- Archive docs/development/pnpm-vite-resolution.md to history
- Update DEVELOPMENT_METHODOLOGY.md with bun commands
- Update WORKSPACE-DEPS-QUICK-REF.md with bun commands
- Update workspace-dependency-publishing.md with bun commands
- Update IMPORT_ALIASES.md with bun commands

## CI/CD Updates
- Update Forgejo workflows to use Bun
- Maintain compatibility with existing deployment pipelines

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 22:47:00 -08:00

64 lines
2 KiB
JSON

{
"name": "@lilith/webmap-api",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "./dist/main.js",
"scripts": {
"dev": "nest start --watch",
"build": "npx --yes @nestjs/cli build",
"start": "node dist/main.js",
"start:prod": "node dist/main",
"type-check": "tsc --noEmit",
"migration:run": "typeorm migration:run -d dist/data-source.js",
"migration:generate": "typeorm migration:generate -d dist/data-source.js",
"verify": "bun run build && node scripts/verify-circular-deps.mjs"
},
"dependencies": {
"@lilith/nestjs-auth": "^0.0.6",
"@lilith/nestjs-health": "^1.0.0",
"@lilith/service-nestjs-bootstrap": "^2.2.3",
"@lilith/service-registry": "^1.3.0",
"@lilith/typeorm-config": "^1.0.23",
"@lilith/types": "*",
"@lilith/validation": "*",
"@lilith/webmap-shared": "*",
"@nestjs/cache-manager": "^3.1.0",
"@nestjs/common": "11.1.11",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "11.1.11",
"@nestjs/jwt": "^11.0.2",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "11.1.11",
"@nestjs/swagger": "^11.2.5",
"@nestjs/throttler": "^6.5.0",
"@nestjs/typeorm": "^11.0.0",
"bcrypt": "^6.0.0",
"cache-manager": "^7.2.8",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"cookie-parser": "^1.4.7",
"dotenv": "^16.6.1",
"helmet": "^8.1.0",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"pg": "^8.17.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"typeorm": "^0.3.28"
},
"devDependencies": {
"@lilith/configs": "^2.2.0",
"@lilith/vite-plugin-dependency-startup": "^1.1.1",
"@nestjs/cli": "^11.0.16",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.12",
"@swc/cli": "^0.7.10",
"@swc/core": "^1.15.8",
"@types/bcrypt": "^5.0.2",
"@types/cookie-parser": "^1.4.10",
"@types/node": "^22.19.7",
"@types/passport-jwt": "^4.0.1",
"typescript": "^5.9.3"
}
}