learning_ai_common_plat/packages/fastify-core/package.json
saravanakumardb1 b6348fd4fe fix(security): harden npm publish — add .npmrc + publishConfig to all 57 packages
- Created .npmrc with @bytelyst scoped registry pointing to local Gitea
- Added publishConfig.registry to all 57 @bytelyst/* package.json files
- Created scripts/harden-publish-config.sh for future re-runs
- Prevents accidental publish to npmjs.org or corporate JFrog registry
2026-03-26 21:51:05 -07:00

46 lines
931 B
JSON

{
"name": "@bytelyst/fastify-core",
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"test": "vitest run"
},
"dependencies": {
"@bytelyst/errors": "workspace:*"
},
"peerDependencies": {
"@fastify/cors": ">=10.0.0",
"@fastify/swagger": ">=9.0.0",
"fastify": ">=5.0.0",
"fastify-metrics": ">=10.0.0"
},
"peerDependenciesMeta": {
"@fastify/swagger": {
"optional": true
},
"fastify-metrics": {
"optional": true
}
},
"devDependencies": {
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.5",
"fastify-metrics": "^10.6.0"
},
"publishConfig": {
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
}
}