Skip to content

Commit 7f1a9a0

Browse files
feat: update schema
1 parent 7f7de66 commit 7f1a9a0

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

.changeset/short-eggs-change.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@json-types/compose": minor
3+
---
4+
5+
Update schema

packages/compose/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ import schema from "@json-types/compose/schema.json";
2222

2323
TypeScript types generated automatically every night and published when there are changes.
2424

25-
- Last change: 2024-04-06T01:12:35.107Z
25+
- Last change: 2024-04-23T01:16:31.183Z
2626
- Source URL: https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json

packages/compose/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export type ListOfStrings = string[];
1717
export type DefinitionsDevelopment = {
1818
watch?: {
1919
ignore?: string[];
20-
path?: string;
21-
action?: "rebuild" | "sync" | "sync+restart";
20+
path: string;
21+
action: "rebuild" | "sync" | "sync+restart";
2222
target?: string;
2323
[k: string]: unknown;
2424
}[];
@@ -27,8 +27,8 @@ export type DefinitionsDevelopment = {
2727
export type Development = {
2828
watch?: {
2929
ignore?: string[];
30-
path?: string;
31-
action?: "rebuild" | "sync" | "sync+restart";
30+
path: string;
31+
action: "rebuild" | "sync" | "sync+restart";
3232
target?: string;
3333
[k: string]: unknown;
3434
}[];

packages/compose/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"compose-spec"
1515
],
1616
"x-json-types": {
17-
"lastChangeDate": "2024-04-06T01:12:35.107Z"
17+
"lastChangeDate": "2024-04-23T01:16:31.183Z"
1818
},
1919
"homepage": "https://github.com/swordev/json-types/tree/main/packages/compose",
2020
"bugs": {

packages/compose/schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,10 @@
866866
"type": "array",
867867
"items": {
868868
"type": "object",
869+
"required": [
870+
"path",
871+
"action"
872+
],
869873
"properties": {
870874
"ignore": {
871875
"type": "array",
@@ -889,10 +893,6 @@
889893
}
890894
}
891895
},
892-
"required": [
893-
"path",
894-
"action"
895-
],
896896
"additionalProperties": false
897897
}
898898
}

0 commit comments

Comments
 (0)