@mitre/hdf-openapi 0.0.0-stage → 0.0.1-reserve.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,76 @@
1
1
  {
2
2
  "name": "@mitre/hdf-openapi",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.1-reserve.0",
4
+ "description": "OpenAPI 3.1 components for HDF, generated from the HDF JSON Schema 2020-12 bundles",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "type": "module",
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ },
16
+ "./hdf-components.oas.json": "./dist/hdf-components.oas.json",
17
+ "./hdf-components.oas.yaml": "./dist/hdf-components.oas.yaml",
18
+ "./hdf-api.oas.json": "./dist/hdf-api.oas.json"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/mitre/hdf-libs.git",
26
+ "directory": "hdf-openapi"
27
+ },
28
+ "author": "MITRE Corporation",
29
+ "license": "Apache-2.0",
30
+ "dependencies": {
31
+ "ajv": "^8.17.1",
32
+ "ajv-formats": "^3.0.1"
33
+ },
34
+ "devDependencies": {
35
+ "@hey-api/openapi-ts": "0.99.0",
36
+ "@redocly/cli": "^2.54.3",
37
+ "@stoplight/spectral-core": "^1.24.0",
38
+ "@stoplight/spectral-parsers": "^1.0.5",
39
+ "@stoplight/spectral-rulesets": "^1.23.0",
40
+ "openapi-typescript": "^7.13.0",
41
+ "tsx": "^4.20.6",
42
+ "yaml": "^2.8.1",
43
+ "zod": "^4.6.5",
44
+ "@mitre/hdf-fixtures": "^3.7.2"
45
+ },
46
+ "engines": {
47
+ "node": ">=24.0.0"
48
+ },
49
+ "keywords": [
50
+ "hdf",
51
+ "heimdall",
52
+ "openapi",
53
+ "json-schema",
54
+ "contract",
55
+ "security",
56
+ "compliance"
57
+ ],
58
+ "scripts": {
59
+ "build": "pnpm run clean && pnpm run build:components && pnpm run build:api && tsdown",
60
+ "build:components": "node --import tsx src/generate-components.ts",
61
+ "build:api": "node --import tsx src/generate-api.ts",
62
+ "sync:golden": "node scripts/sync-mcp-golden.mjs",
63
+ "clean": "rimraf dist",
64
+ "lint": "eslint src test scripts",
65
+ "test": "pnpm run test:ts",
66
+ "test:ts": "vitest run",
67
+ "test:watch": "vitest",
68
+ "test:coverage": "vitest run --coverage",
69
+ "type-check": "tsc --noEmit",
70
+ "lint:openapi": "REDOCLY_TELEMETRY=off redocly lint dist/hdf-components.oas.json",
71
+ "lint:api": "REDOCLY_TELEMETRY=off redocly lint dist/hdf-api.oas.json",
72
+ "lint:spectral": "node scripts/spectral-lint.mjs dist/hdf-api.oas.json",
73
+ "matrix": "node scripts/openapi-matrix.mjs",
74
+ "matrix:update": "node scripts/openapi-matrix.mjs --update"
75
+ }
6
76
  }