fleetfizz 0.0.1 → 0.1.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/fleet.schema.json CHANGED
@@ -8,6 +8,10 @@
8
8
  },
9
9
  "machines": {
10
10
  "type": "object",
11
+ "propertyNames": {
12
+ "type": "string",
13
+ "minLength": 1
14
+ },
11
15
  "additionalProperties": {
12
16
  "type": "object",
13
17
  "properties": {
@@ -16,7 +20,7 @@
16
20
  "minLength": 1
17
21
  }
18
22
  },
19
- "additionalProperties": true
23
+ "additionalProperties": false
20
24
  }
21
25
  },
22
26
  "repos": {
@@ -26,6 +30,13 @@
26
30
  "properties": {
27
31
  "platforms": {
28
32
  "type": "array",
33
+ "prefixItems": [
34
+ {
35
+ "type": "string",
36
+ "enum": ["darwin", "linux"]
37
+ }
38
+ ],
39
+ "minItems": 1,
29
40
  "items": {
30
41
  "type": "string",
31
42
  "enum": ["darwin", "linux"]
@@ -33,6 +44,13 @@
33
44
  },
34
45
  "machines": {
35
46
  "type": "array",
47
+ "prefixItems": [
48
+ {
49
+ "type": "string",
50
+ "minLength": 1
51
+ }
52
+ ],
53
+ "minItems": 1,
36
54
  "items": {
37
55
  "type": "string",
38
56
  "minLength": 1
@@ -40,7 +58,8 @@
40
58
  },
41
59
  "origin": {
42
60
  "type": "string",
43
- "minLength": 1
61
+ "title": "GitHub origin",
62
+ "description": "a GitHub \"owner/repo\""
44
63
  },
45
64
  "ref": {
46
65
  "type": "string",
@@ -53,10 +72,27 @@
53
72
  "name": {
54
73
  "type": "string",
55
74
  "minLength": 1
75
+ },
76
+ "outputs": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "string",
80
+ "minLength": 1
81
+ }
82
+ },
83
+ "files": {
84
+ "type": "object",
85
+ "propertyNames": {
86
+ "type": "string",
87
+ "minLength": 1
88
+ },
89
+ "additionalProperties": {
90
+ "type": "string"
91
+ }
56
92
  }
57
93
  },
58
94
  "required": ["origin", "ref", "install"],
59
- "additionalProperties": true
95
+ "additionalProperties": false
60
96
  }
61
97
  },
62
98
  "vp": {
@@ -64,6 +100,13 @@
64
100
  "properties": {
65
101
  "platforms": {
66
102
  "type": "array",
103
+ "prefixItems": [
104
+ {
105
+ "type": "string",
106
+ "enum": ["darwin", "linux"]
107
+ }
108
+ ],
109
+ "minItems": 1,
67
110
  "items": {
68
111
  "type": "string",
69
112
  "enum": ["darwin", "linux"]
@@ -71,6 +114,13 @@
71
114
  },
72
115
  "machines": {
73
116
  "type": "array",
117
+ "prefixItems": [
118
+ {
119
+ "type": "string",
120
+ "minLength": 1
121
+ }
122
+ ],
123
+ "minItems": 1,
74
124
  "items": {
75
125
  "type": "string",
76
126
  "minLength": 1
@@ -86,15 +136,19 @@
86
136
  },
87
137
  "globals": {
88
138
  "type": "object",
139
+ "propertyNames": {
140
+ "type": "string",
141
+ "minLength": 1
142
+ },
89
143
  "additionalProperties": {
90
144
  "type": "string",
91
145
  "minLength": 1
92
146
  }
93
147
  }
94
148
  },
95
- "additionalProperties": true
149
+ "additionalProperties": false
96
150
  }
97
151
  },
98
- "additionalProperties": true,
152
+ "additionalProperties": false,
99
153
  "$defs": {}
100
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetfizz",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "Keep every Machine on your tailnet in line with one config.",
5
5
  "license": "MIT",
6
6
  "repository": {