platform-codebase/@packages/@testing/test-utils/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

75 lines
1.8 KiB
JSON
Executable file

{
"name": "@lilith/test-utils",
"version": "0.1.0",
"description": "Shared test utilities and vitest presets for lilith-platform packages",
"main": "src/index.ts",
"types": "src/index.ts",
"type": "module",
"exports": {
".": "./src/index.ts",
"./vitest-presets": "./vitest-presets/index.ts",
"./vitest-presets/*": "./vitest-presets/*.ts",
"./setup": "./src/setup/vitest.setup.ts",
"./vitest.config.base": "./vitest.config.base.ts"
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.0.0",
"@nestjs/testing": "^10.0.0",
"@tanstack/react-query": "^5.0.0",
"@vitejs/plugin-react": "^4.0.0",
"msw": "^2.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"typeorm": "^0.3.0",
"vite": "^5.0.0",
"vitest": "^2.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"@tanstack/react-query": {
"optional": true
},
"msw": {
"optional": true
},
"@nestjs/common": {
"optional": true
},
"@nestjs/config": {
"optional": true
},
"@nestjs/testing": {
"optional": true
},
"typeorm": {
"optional": true
}
},
"dependencies": {
"@lilith/service-registry": "^1.3.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.6.1",
"jsdom": "^27.4.0",
"jsonwebtoken": "^9.0.3"
},
"devDependencies": {
"@lilith/vite-plugin-dependency-startup": "^1.1.1",
"@types/jsonwebtoken": "^9.0.10",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"typescript": "^5.9.3"
},
"license": "MIT"
}