platform-codebase/@packages/@providers/auth-provider/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

61 lines
1.4 KiB
JSON
Executable file

{
"name": "@lilith/auth-provider",
"version": "1.0.0",
"description": "Shared authentication provider for React apps with SSO support",
"type": "module",
"main": "./src/index.ts",
"module": "dist/index.js",
"types": "./src/index.ts",
"exports": {
".": {
"import": "./src/index.ts",
"require": "./src/index.ts",
"types": "./src/index.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "echo 'No build needed - exports src directly'",
"dev": "tsc --watch",
"test": "vitest run --passWithNoTests",
"typecheck": "tsc --noEmit"
},
"keywords": [
"auth",
"authentication",
"jwt",
"sso",
"react",
"context"
],
"author": "",
"license": "MIT",
"dependencies": {
"@lilith/api-client": "*",
"@lilith/service-registry": "^1.3.0",
"@lilith/sso-client": "*",
"@lilith/types": "*",
"@tanstack/react-query": "^5.90.19"
},
"devDependencies": {
"@lilith/test-utils": "*",
"@lilith/vite-plugin-dependency-startup": "^1.1.1",
"@types/react": "^19.2.8",
"react": "^19.2.3",
"typescript": "^5.9.3",
"vite": "^5.4.21",
"vitest": "^4.0.17"
},
"peerDependencies": {
"@lilith/ui-dev-tools": "^1.1.4",
"@tanstack/react-query": "^5.0.0",
"react": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@lilith/ui-dev-tools": {
"optional": true
}
}
}