Skip to content

Commit

Permalink
feat: add "x-tombi-table-keys-order-by". (#4486)
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 authored Feb 24, 2025
1 parent 39e1be2 commit 0761947
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
"cargo.json": {
"externalSchema": ["base.json"],
"unknownFormat": ["uint32", "semver", "semver-requirement"],
"unknownKeywords": ["x-taplo", "x-taplo-info", "x-tombi-toml-version"]
"unknownKeywords": ["x-taplo", "x-taplo-info", "x-tombi-toml-version", "x-tombi-table-keys-order-by"]
},
"cheatsheets.json": {
"externalSchema": ["base.json"]
Expand Down
8 changes: 8 additions & 0 deletions src/schemas/json/cargo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,7 @@
"type": "string"
}
},
"x-tombi-table-keys-order-by": "ascending",
"x-taplo": {
"links": {
"key": "https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section"
Expand Down Expand Up @@ -1796,6 +1797,7 @@
"additionalProperties": {
"$ref": "#/definitions/Dependency"
},
"x-tombi-table-keys-order-by": "ascending",
"x-taplo": {
"links": {
"key": "https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#build-dependencies"
Expand All @@ -1811,6 +1813,7 @@
"additionalProperties": {
"$ref": "#/definitions/Dependency"
},
"x-tombi-table-keys-order-by": "ascending",
"x-taplo": {
"hidden": true
}
Expand All @@ -1827,6 +1830,7 @@
"additionalProperties": {
"$ref": "#/definitions/Dependency"
},
"x-tombi-table-keys-order-by": "ascending",
"x-taplo": {
"links": {
"key": "https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html"
Expand All @@ -1839,6 +1843,7 @@
"additionalProperties": {
"$ref": "#/definitions/Dependency"
},
"x-tombi-table-keys-order-by": "ascending",
"x-taplo": {
"links": {
"key": "https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#development-dependencies"
Expand All @@ -1854,6 +1859,7 @@
"additionalProperties": {
"$ref": "#/definitions/Dependency"
},
"x-tombi-table-keys-order-by": "ascending",
"x-taplo": {
"hidden": true
}
Expand Down Expand Up @@ -1955,6 +1961,7 @@
},
"replace": {
"type": "object",
"x-tombi-table-keys-order-by": "ascending",
"additionalProperties": {
"$ref": "#/definitions/Dependency"
},
Expand All @@ -1964,6 +1971,7 @@
},
"target": {
"type": "object",
"x-tombi-table-keys-order-by": "ascending",
"additionalProperties": {
"$ref": "#/definitions/Platform"
}
Expand Down

0 comments on commit 0761947

Please sign in to comment.