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