- Create @lilith/vite-version-plugin package that reads VERSION.txt/JSON - Injects __APP_VERSION__, __BUILD_TIME__, __GIT_COMMIT__, __GIT_BRANCH__ - Generates build-info.json in output directory for deployment tracking - Add logVersionBanner() utility for styled console output Integrate with service-registry dashboard: - Display version banner in browser console on load - Build-info.json available at /build-info.json endpoint 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
661 B
JSON
27 lines
661 B
JSON
{
|
|
"name": "@lilith/vite-version-plugin",
|
|
"version": "1.0.0",
|
|
"description": "Vite plugin for injecting version info from VERSION.txt at build time",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"require": "./src/index.ts",
|
|
"types": "./src/index.ts"
|
|
},
|
|
"./console": {
|
|
"import": "./src/console-banner.ts",
|
|
"require": "./src/console-banner.ts",
|
|
"types": "./src/console-banner.ts"
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"vite": ">=4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"vite": "^5.4.21",
|
|
"typescript": "^5.6.3"
|
|
},
|
|
"license": "UNLICENSED"
|
|
}
|