Initial Commit
This commit is contained in:
121
packages/api-stack/api/api-secrets/package.json
Normal file
121
packages/api-stack/api/api-secrets/package.json
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"name": "@suaveplan/api-secrets",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Abstract Secrets contract for the Suaveplan API plugin foundation — per-plugin secret access typed against manifest secrets[], canonical redaction marker, conformance harness. Concrete adapters (env/Bun.secrets/vault) live in sibling packages.",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./secrets-like": {
|
||||
"import": {
|
||||
"types": "./dist/secrets-like/index.d.ts",
|
||||
"default": "./dist/secrets-like/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/secrets-like/index.d.ts",
|
||||
"default": "./dist/secrets-like/index.js"
|
||||
}
|
||||
},
|
||||
"./descriptor": {
|
||||
"import": {
|
||||
"types": "./dist/descriptor/index.d.ts",
|
||||
"default": "./dist/descriptor/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/descriptor/index.d.ts",
|
||||
"default": "./dist/descriptor/index.js"
|
||||
}
|
||||
},
|
||||
"./redaction": {
|
||||
"import": {
|
||||
"types": "./dist/redaction/index.d.ts",
|
||||
"default": "./dist/redaction/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/redaction/index.d.ts",
|
||||
"default": "./dist/redaction/index.js"
|
||||
}
|
||||
},
|
||||
"./capability-id": {
|
||||
"import": {
|
||||
"types": "./dist/capability-id/index.d.ts",
|
||||
"default": "./dist/capability-id/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/capability-id/index.d.ts",
|
||||
"default": "./dist/capability-id/index.js"
|
||||
}
|
||||
},
|
||||
"./error-codes": {
|
||||
"import": {
|
||||
"types": "./dist/error-codes/index.d.ts",
|
||||
"default": "./dist/error-codes/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/error-codes/index.d.ts",
|
||||
"default": "./dist/error-codes/index.js"
|
||||
}
|
||||
},
|
||||
"./testing": {
|
||||
"import": {
|
||||
"types": "./dist/testing/index.d.ts",
|
||||
"default": "./dist/testing/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/testing/index.d.ts",
|
||||
"default": "./dist/testing/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@suaveplan/api-types": "workspace:^",
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npmjs.fq.io/",
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"src",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user