contractdiff 0.4.2 → 1.0.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/README.md +13 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -131,8 +131,14 @@ The same command reads openapi-fetch, Hey API and orval configs.
|
|
|
131
131
|
|
|
132
132
|
## Compatibility
|
|
133
133
|
|
|
134
|
-
Not graded
|
|
135
|
-
|
|
134
|
+
Not graded on the published compatibility page yet. `contractdiff/openapi-typescript` passed 45 of 61 of openapi-typescript 7.13.0's own gated cases
|
|
135
|
+
when compat-oracle ran them on 2026-11-24 (openapi-typescript itself passes 61). It is not claimed as
|
|
136
|
+
a drop-in until it passes all 61. When the failures were last listed case by case (2026-11-18, 43
|
|
137
|
+
of 61), 7 passed the `transform`, `postTransform` or `transformProperty` options, which hand
|
|
138
|
+
TypeScript compiler nodes across and which the compiler-free generator refuses, and 9 spawned
|
|
139
|
+
openapi-typescript's own `./bin/cli.js`.
|
|
140
|
+
The `types` target is also measured against openapi-typescript's output on the corpus in
|
|
141
|
+
`benchmarks/apicontract`.
|
|
136
142
|
|
|
137
143
|
## Benchmarks
|
|
138
144
|
|
|
@@ -178,7 +184,7 @@ Nothing in this family builds on it yet, and it builds on `bellpull`, `burgee`,
|
|
|
178
184
|
|
|
179
185
|
## The family
|
|
180
186
|
|
|
181
|
-
|
|
187
|
+
18 packages, one repository, one release pipeline. Each installs and works on its own, and each owns
|
|
182
188
|
one job. Seven of them — `bellpull`, `closeout`, `linegauge`, `paratext`, `roundel`, `seniority`,
|
|
183
189
|
`truefit` — depend on nothing; the others depend only on packages in this table, and every
|
|
184
190
|
dependency points one way, down the [layers](https://burgee.interlace.tools/docs/concepts/family).
|
|
@@ -213,6 +219,10 @@ keeps both true.
|
|
|
213
219
|
| [truepass](https://burgee.interlace.tools/docs/packages/truepass) | Lint rules and a pre-push check that keep a test suite honest | @vitest/eslint-plugin |
|
|
214
220
|
| **contractdiff** (this package) | API contracts: breaking-change diff, lint, and code from the spec | openapi-typescript |
|
|
215
221
|
| [truefit](https://burgee.interlace.tools/docs/packages/truefit) | Validation whose schemas are data, with no eval | zod |
|
|
222
|
+
| [provedone](https://burgee.interlace.tools/docs/packages/provedone) | A receipt for how every change was verified, and a gate that reads it | @commitlint/cli |
|
|
223
|
+
| [replz](https://burgee.interlace.tools/docs/packages/replz) | Recall of a reviewer and its checks, replayed on bugs that shipped | promptfoo |
|
|
224
|
+
| [hookset](https://burgee.interlace.tools/docs/packages/hookset) | The same git and Claude Code hooks in every repository, pinned by tag | husky |
|
|
225
|
+
| [triggerlist](https://burgee.interlace.tools/docs/packages/triggerlist) | The review checklist a diff selects, read from the base branch | danger |
|
|
216
226
|
|
|
217
227
|
Every migration guide, and the family-wide [compatibility](https://burgee.interlace.tools/docs/compatibility)
|
|
218
228
|
and [benchmarks](https://burgee.interlace.tools/docs/benchmarks) pages, are on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contractdiff",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Breaking-change diff, lint and code generation for API contracts (OpenAPI, JSON Schema, AsyncAPI, MCP), and the spec back from the code. No dependency outside the burgee family. An openapi-typescript migration path.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"bellpull": "^2.0.3",
|
|
86
86
|
"burgee": "^2.2.1",
|
|
87
87
|
"seniority": "^2.0.0",
|
|
88
|
-
"truefit": "^0.
|
|
88
|
+
"truefit": "^1.0.0"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"vitest": "^5.0.1"
|