@oddessentials/repo-standards 2.1.0 → 3.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 +3 -4
- package/dist/config/standards.csharp-dotnet.azure-devops.json +1 -1
- package/dist/config/standards.csharp-dotnet.github-actions.json +1 -1
- package/dist/config/standards.csharp-dotnet.json +1 -1
- package/dist/config/standards.go.azure-devops.json +1 -1
- package/dist/config/standards.go.github-actions.json +1 -1
- package/dist/config/standards.go.json +1 -1
- package/dist/config/standards.json +1 -1
- package/dist/config/standards.python.azure-devops.json +1 -1
- package/dist/config/standards.python.github-actions.json +1 -1
- package/dist/config/standards.python.json +1 -1
- package/dist/config/standards.rust.azure-devops.json +1 -1
- package/dist/config/standards.rust.github-actions.json +1 -1
- package/dist/config/standards.rust.json +1 -1
- package/dist/config/standards.schema.json +4 -4
- package/dist/config/standards.typescript-js.azure-devops.json +1 -1
- package/dist/config/standards.typescript-js.github-actions.json +1 -1
- package/dist/config/standards.typescript-js.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**@oddessentials/repo-standards**
|
|
8
8
|
|
|
9
|
-
This package defines a **single, authoritative JSON specification** for repository quality standards across multiple stacks (TypeScript/JS, C#/.NET, Python), plus deterministic tooling to generate **stack- and CI-specific views**.
|
|
9
|
+
This package defines a **single, authoritative JSON specification** for repository quality standards across multiple stacks (TypeScript/JS, C#/.NET, Python, Rust, and Go), plus deterministic tooling to generate **stack- and CI-specific views**.
|
|
10
10
|
|
|
11
11
|
It is designed to be:
|
|
12
12
|
|
|
@@ -68,7 +68,7 @@ The master spec includes a `meta` block that defines system-wide expectations:
|
|
|
68
68
|
|
|
69
69
|
## Structure of `config/standards.json`
|
|
70
70
|
|
|
71
|
-
- `version` — schema version (currently `
|
|
71
|
+
- `version` — schema version (currently `2`)
|
|
72
72
|
- `meta` — global rules and migration policy
|
|
73
73
|
- `ciSystems` — supported CI platforms
|
|
74
74
|
_(currently `github-actions`, `azure-devops`)_
|
|
@@ -101,8 +101,7 @@ Each checklist item includes:
|
|
|
101
101
|
The `version` field indicates schema compatibility:
|
|
102
102
|
|
|
103
103
|
- `1` — Original schema
|
|
104
|
-
- `2` — Adds `bazelHints`, `meta.
|
|
105
|
-
- `3` — Enforces strict validation with `additionalProperties: false`. Adds enforcement/severity levels, ratio-based coverage thresholds, Rust/Go stacks, and refactors `bazelIntegration` → `executorHints.bazel`
|
|
104
|
+
- `2` — Adds `bazelHints`, `meta.executorHints.bazel` for Bazel support, `anyOfFiles`, `pinningNotes`, enforcement/severity levels, ratio-based coverage thresholds, Rust/Go stacks. Enforces strict validation with `additionalProperties: false`.
|
|
106
105
|
|
|
107
106
|
Consumers should ignore unknown fields for forward compatibility.
|
|
108
107
|
|
|
@@ -447,10 +447,10 @@
|
|
|
447
447
|
"type": "object"
|
|
448
448
|
}
|
|
449
449
|
},
|
|
450
|
-
"$id": "https://oddessentials.com/schemas/repo-standards/
|
|
450
|
+
"$id": "https://oddessentials.com/schemas/repo-standards/v2/standards.schema.json",
|
|
451
451
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
452
452
|
"additionalProperties": false,
|
|
453
|
-
"description": "Schema for repo-standards master configuration (
|
|
453
|
+
"description": "Schema for repo-standards master configuration (v2+). Enforces strict validation with additionalProperties: false.",
|
|
454
454
|
"properties": {
|
|
455
455
|
"checklist": {
|
|
456
456
|
"$ref": "#/$defs/Checklist"
|
|
@@ -481,8 +481,8 @@
|
|
|
481
481
|
"type": "object"
|
|
482
482
|
},
|
|
483
483
|
"version": {
|
|
484
|
-
"description": "Schema version. Must be
|
|
485
|
-
"minimum":
|
|
484
|
+
"description": "Schema version. Must be 2+ for strict validation with additionalProperties: false.",
|
|
485
|
+
"minimum": 2,
|
|
486
486
|
"type": "integer"
|
|
487
487
|
}
|
|
488
488
|
},
|
package/package.json
CHANGED