Skip to content

Commit e1a467b

Browse files
Merge branch 'pipeline'
2 parents 73d839a + 9fc6825 commit e1a467b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+166137
-1838
lines changed

.github/workflows/automated-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
cache: npm
2323
- name: Install dependencies
2424
run: npm ci
25+
- name: Validate fixtures
26+
run: npm run test:fixtures
27+
- name: Verify golden artifacts
28+
run: npm run golden:check
2529
- name: Check spelling
2630
run: node --run test:spelling
2731
- name: Check linting

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
*.js
22
*.ts
33
website/data/*.json
4+
fixtures/golden/*.json
5+
dist/schemas/*.json
46
fixtures/baseline/
57
fixtures/data/
68
website/fonts/

cspell.config.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@
1414
"checkts",
1515
"codeberg",
1616
"Cutover",
17-
"diffing",
1817
"depandabot",
1918
"dependencie",
19+
"diffing",
20+
"envsub",
21+
"feedme",
2022
"Fenner",
2123
"fontawesome",
2224
"Gitea",
25+
"Goldens",
2326
"hoster",
27+
"ical",
28+
"ipfilter",
2429
"Itay",
2530
"Kristjan",
2631
"magicmirror",
@@ -40,11 +45,13 @@
4045
"refspecs",
4146
"rollup",
4247
"smarthome",
48+
"suncalc",
4349
"testconfig",
4450
"trumpetx",
4551
"Updat",
4652
"venv",
4753
"virtualenv",
54+
"weathericons",
4855
"workstream",
4956
"workstreams",
5057
"Workstreams"

dist/schemas/modules.final.schema.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"$id": "https://magicmirror.builders/schemas/modules.json",
44
"title": "Modules Listing",
55
"type": "object",
6-
"required": ["modules"],
6+
"required": [
7+
"modules"
8+
],
79
"properties": {
810
"modules": {
911
"type": "array",
@@ -60,7 +62,9 @@
6062
{
6163
"$schema": "http://json-schema.org/draft-07/schema#",
6264
"type": "object",
63-
"required": ["issues"],
65+
"required": [
66+
"issues"
67+
],
6468
"properties": {
6569
"issues": {
6670
"type": "boolean"
@@ -122,7 +126,10 @@
122126
{
123127
"$schema": "http://json-schema.org/draft-07/schema#",
124128
"type": "object",
125-
"required": ["defaultSortWeight", "lastCommit"],
129+
"required": [
130+
"defaultSortWeight",
131+
"lastCommit"
132+
],
126133
"properties": {
127134
"defaultSortWeight": {
128135
"type": "integer"

dist/schemas/modules.min.schema.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"$id": "https://magicmirror.builders/schemas/modules.min.json",
44
"title": "Modules Listing (Minified)",
55
"type": "object",
6-
"required": ["modules"],
6+
"required": [
7+
"modules"
8+
],
79
"properties": {
810
"modules": {
911
"type": "array",
@@ -60,7 +62,9 @@
6062
{
6163
"$schema": "http://json-schema.org/draft-07/schema#",
6264
"type": "object",
63-
"required": ["issues"],
65+
"required": [
66+
"issues"
67+
],
6468
"properties": {
6569
"issues": {
6670
"type": "boolean"
@@ -122,7 +126,10 @@
122126
{
123127
"$schema": "http://json-schema.org/draft-07/schema#",
124128
"type": "object",
125-
"required": ["defaultSortWeight", "lastCommit"],
129+
"required": [
130+
"defaultSortWeight",
131+
"lastCommit"
132+
],
126133
"properties": {
127134
"defaultSortWeight": {
128135
"type": "integer"

dist/schemas/modules.stage.1.schema.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"$id": "https://magicmirror.builders/schemas/modules.stage.1.json",
44
"title": "Modules Stage 1",
55
"type": "object",
6-
"required": ["lastUpdate", "modules"],
6+
"required": [
7+
"lastUpdate",
8+
"modules"
9+
],
710
"properties": {
811
"lastUpdate": {
912
"type": "string",
@@ -63,7 +66,9 @@
6366
{
6467
"$schema": "http://json-schema.org/draft-07/schema#",
6568
"type": "object",
66-
"required": ["issues"],
69+
"required": [
70+
"issues"
71+
],
6772
"properties": {
6873
"issues": {
6974
"type": "array",

dist/schemas/modules.stage.2.schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
{
5656
"$schema": "http://json-schema.org/draft-07/schema#",
5757
"type": "object",
58-
"required": ["issues"],
58+
"required": [
59+
"issues"
60+
],
5961
"properties": {
6062
"issues": {
6163
"type": "array",

dist/schemas/modules.stage.3.schema.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"$id": "https://magicmirror.builders/schemas/modules.stage.3.json",
44
"title": "Modules Stage 3",
55
"type": "object",
6-
"required": ["modules"],
6+
"required": [
7+
"modules"
8+
],
79
"properties": {
810
"modules": {
911
"type": "array",
@@ -59,7 +61,9 @@
5961
{
6062
"$schema": "http://json-schema.org/draft-07/schema#",
6163
"type": "object",
62-
"required": ["issues"],
64+
"required": [
65+
"issues"
66+
],
6367
"properties": {
6468
"issues": {
6569
"type": "array",

dist/schemas/modules.stage.4.schema.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"$id": "https://magicmirror.builders/schemas/modules.stage.4.json",
44
"title": "Modules Stage 4",
55
"type": "object",
6-
"required": ["modules"],
6+
"required": [
7+
"modules"
8+
],
79
"properties": {
810
"modules": {
911
"type": "array",
@@ -59,7 +61,9 @@
5961
{
6062
"$schema": "http://json-schema.org/draft-07/schema#",
6163
"type": "object",
62-
"required": ["issues"],
64+
"required": [
65+
"issues"
66+
],
6367
"properties": {
6468
"issues": {
6569
"type": "array",
@@ -110,11 +114,17 @@
110114
"properties": {
111115
"packageJson": {
112116
"type": "object",
113-
"required": ["status"],
117+
"required": [
118+
"status"
119+
],
114120
"properties": {
115121
"status": {
116122
"type": "string",
117-
"enum": ["parsed", "missing", "error"]
123+
"enum": [
124+
"parsed",
125+
"missing",
126+
"error"
127+
]
118128
},
119129
"path": {
120130
"type": "string",
@@ -289,11 +299,17 @@
289299
},
290300
"packageJson": {
291301
"type": "object",
292-
"required": ["status"],
302+
"required": [
303+
"status"
304+
],
293305
"properties": {
294306
"status": {
295307
"type": "string",
296-
"enum": ["parsed", "missing", "error"]
308+
"enum": [
309+
"parsed",
310+
"missing",
311+
"error"
312+
]
297313
},
298314
"path": {
299315
"type": "string",

dist/schemas/modules.stage.5.schema.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"$id": "https://magicmirror.builders/schemas/modules.stage.5.json",
44
"title": "Modules Stage 5",
55
"type": "object",
6-
"required": ["modules"],
6+
"required": [
7+
"modules"
8+
],
79
"properties": {
810
"modules": {
911
"type": "array",
@@ -59,7 +61,9 @@
5961
{
6062
"$schema": "http://json-schema.org/draft-07/schema#",
6163
"type": "object",
62-
"required": ["issues"],
64+
"required": [
65+
"issues"
66+
],
6367
"properties": {
6468
"issues": {
6569
"type": "array",
@@ -110,11 +114,17 @@
110114
"properties": {
111115
"packageJson": {
112116
"type": "object",
113-
"required": ["status"],
117+
"required": [
118+
"status"
119+
],
114120
"properties": {
115121
"status": {
116122
"type": "string",
117-
"enum": ["parsed", "missing", "error"]
123+
"enum": [
124+
"parsed",
125+
"missing",
126+
"error"
127+
]
118128
},
119129
"path": {
120130
"type": "string",
@@ -289,11 +299,17 @@
289299
},
290300
"packageJson": {
291301
"type": "object",
292-
"required": ["status"],
302+
"required": [
303+
"status"
304+
],
293305
"properties": {
294306
"status": {
295307
"type": "string",
296-
"enum": ["parsed", "missing", "error"]
308+
"enum": [
309+
"parsed",
310+
"missing",
311+
"error"
312+
]
297313
},
298314
"path": {
299315
"type": "string",

0 commit comments

Comments
 (0)