coderifts 6.1.0 → 7.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/CHANGELOG.md +17 -0
- package/README.md +75 -0
- package/bin/coderifts.js +60 -0
- package/dist/cli.js +3699 -2188
- package/package.json +3 -2
- package/scripts/assert-guard-major.js +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coderifts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Detect breaking API changes from the command line. Works locally or with the CodeRifts cloud API.",
|
|
5
5
|
"author": "CodeRifts <hello@coderifts.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"scripts/",
|
|
15
15
|
"README.md",
|
|
16
16
|
"CHANGELOG.md",
|
|
17
|
+
"LICENSE",
|
|
17
18
|
"corpus/"
|
|
18
19
|
],
|
|
19
20
|
"keywords": [
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"test": "node --test test/*.test.js"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
|
-
"@coderifts/agent-guard": "^
|
|
49
|
+
"@coderifts/agent-guard": "^14.0.0",
|
|
49
50
|
"chalk": "^4.1.2",
|
|
50
51
|
"cli-table3": "^0.6.4",
|
|
51
52
|
"commander": "^12.0.0",
|
|
@@ -65,13 +65,16 @@
|
|
|
65
65
|
* failure set. The floor rises anyway, because a semantics floor is about what the CLI may RUN
|
|
66
66
|
* against: a CAS that reports committed after adopting another writer's state is exactly the
|
|
67
67
|
* class this gate exists to refuse.)
|
|
68
|
+
* 7.0.0: floor raised to 14 (guard 14 ships ENFORCING_ATOMIC_V1 + host-reported commit label;
|
|
69
|
+
* the CLI uses base guard APIs, not the ATOMIC profile — the raise is for manifest consistency,
|
|
70
|
+
* so the published CLI installs the guard it ships alongside, not an older major).
|
|
68
71
|
*/
|
|
69
72
|
|
|
70
73
|
const fs = require('fs');
|
|
71
74
|
const path = require('path');
|
|
72
75
|
|
|
73
76
|
/** Minimum acceptable major for @coderifts/agent-guard in THIS package (the CLI). */
|
|
74
|
-
const MIN_GUARD_MAJOR =
|
|
77
|
+
const MIN_GUARD_MAJOR = 14;
|
|
75
78
|
const DEP = '@coderifts/agent-guard';
|
|
76
79
|
|
|
77
80
|
/**
|