5etools-utils 0.15.17 → 0.16.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.
Files changed (126) hide show
  1. package/README.md +13 -13
  2. package/bin/clean-html.js +0 -0
  3. package/bin/lint-js-changed.js +17 -0
  4. package/bin/test-edition-sources.js +0 -0
  5. package/bin/test-file-contents.js +0 -0
  6. package/bin/test-file-locations.js +0 -0
  7. package/bin/test-file-names.js +0 -0
  8. package/bin/test-file-props.js +0 -0
  9. package/bin/test-img-file-extensions.js +0 -0
  10. package/bin/test-img-file-sizes.js +0 -0
  11. package/bin/test-img-source-names-brew.js +0 -0
  12. package/bin/test-img-source-names-ua.js +0 -0
  13. package/bin/test-json-brew.js +0 -0
  14. package/bin/test-json-ua.js +0 -0
  15. package/lib/Lint/LintJsChanged.js +33 -0
  16. package/lib/UtilGit.js +39 -0
  17. package/lib/eslint/eslint-plugin-jquery.js +49 -0
  18. package/package.json +16 -6
  19. package/schema/brew/charcreationoptions.json +162 -8
  20. package/schema/brew/cultsboons.json +399 -14
  21. package/schema/brew/encounterbuilder.json +81 -2
  22. package/schema/brew/fluff-charcreationoptions.json +5 -33
  23. package/schema/brew/homebrew.json +8 -2
  24. package/schema/brew/items-base.json +290 -28
  25. package/schema/brew/languages.json +195 -6
  26. package/schema/brew/objects.json +389 -9
  27. package/schema/brew/psionics.json +356 -7
  28. package/schema/brew/rewards.json +207 -8
  29. package/schema/brew/senses.json +68 -7
  30. package/schema/brew/skills.json +74 -7
  31. package/schema/brew/tables.json +676 -94
  32. package/schema/brew/trapshazards.json +571 -14
  33. package/schema/brew/util-copy.json +143 -1
  34. package/schema/brew/util.json +4 -2
  35. package/schema/brew/variantrules.json +151 -22
  36. package/schema/brew/vehicles.json +6672 -61
  37. package/schema/brew-fast/charcreationoptions.json +162 -8
  38. package/schema/brew-fast/cultsboons.json +399 -14
  39. package/schema/brew-fast/encounterbuilder.json +81 -2
  40. package/schema/brew-fast/fluff-charcreationoptions.json +5 -33
  41. package/schema/brew-fast/homebrew.json +8 -2
  42. package/schema/brew-fast/items-base.json +290 -28
  43. package/schema/brew-fast/languages.json +195 -6
  44. package/schema/brew-fast/objects.json +389 -9
  45. package/schema/brew-fast/psionics.json +356 -7
  46. package/schema/brew-fast/rewards.json +207 -8
  47. package/schema/brew-fast/senses.json +68 -7
  48. package/schema/brew-fast/skills.json +74 -7
  49. package/schema/brew-fast/tables.json +676 -94
  50. package/schema/brew-fast/trapshazards.json +571 -14
  51. package/schema/brew-fast/util-copy.json +143 -1
  52. package/schema/brew-fast/util.json +4 -2
  53. package/schema/brew-fast/variantrules.json +151 -22
  54. package/schema/brew-fast/vehicles.json +6672 -61
  55. package/schema/site/charcreationoptions.json +134 -8
  56. package/schema/site/cultsboons.json +315 -14
  57. package/schema/site/encounterbuilder.json +81 -2
  58. package/schema/site/fluff-charcreationoptions.json +5 -33
  59. package/schema/site/homebrew.json +8 -2
  60. package/schema/site/items-base.json +374 -40
  61. package/schema/site/languages.json +197 -6
  62. package/schema/site/objects.json +361 -9
  63. package/schema/site/psionics.json +314 -7
  64. package/schema/site/rewards.json +165 -8
  65. package/schema/site/senses.json +92 -7
  66. package/schema/site/skills.json +98 -7
  67. package/schema/site/tables.json +600 -87
  68. package/schema/site/trapshazards.json +555 -14
  69. package/schema/site/util-copy.json +143 -1
  70. package/schema/site/util.json +4 -2
  71. package/schema/site/variantrules.json +161 -22
  72. package/schema/site/vehicles.json +6446 -86
  73. package/schema/site-fast/charcreationoptions.json +134 -8
  74. package/schema/site-fast/cultsboons.json +315 -14
  75. package/schema/site-fast/encounterbuilder.json +81 -2
  76. package/schema/site-fast/fluff-charcreationoptions.json +5 -33
  77. package/schema/site-fast/homebrew.json +8 -2
  78. package/schema/site-fast/items-base.json +374 -40
  79. package/schema/site-fast/languages.json +197 -6
  80. package/schema/site-fast/objects.json +361 -9
  81. package/schema/site-fast/psionics.json +314 -7
  82. package/schema/site-fast/rewards.json +165 -8
  83. package/schema/site-fast/senses.json +92 -7
  84. package/schema/site-fast/skills.json +98 -7
  85. package/schema/site-fast/tables.json +600 -87
  86. package/schema/site-fast/trapshazards.json +555 -14
  87. package/schema/site-fast/util-copy.json +143 -1
  88. package/schema/site-fast/util.json +4 -2
  89. package/schema/site-fast/variantrules.json +161 -22
  90. package/schema/site-fast/vehicles.json +6446 -86
  91. package/schema/ua/charcreationoptions.json +110 -8
  92. package/schema/ua/cultsboons.json +315 -14
  93. package/schema/ua/encounterbuilder.json +81 -2
  94. package/schema/ua/fluff-charcreationoptions.json +5 -33
  95. package/schema/ua/homebrew.json +8 -2
  96. package/schema/ua/items-base.json +290 -28
  97. package/schema/ua/languages.json +173 -6
  98. package/schema/ua/objects.json +367 -9
  99. package/schema/ua/psionics.json +314 -7
  100. package/schema/ua/rewards.json +165 -8
  101. package/schema/ua/senses.json +68 -7
  102. package/schema/ua/skills.json +74 -7
  103. package/schema/ua/tables.json +564 -87
  104. package/schema/ua/trapshazards.json +483 -14
  105. package/schema/ua/util-copy.json +143 -1
  106. package/schema/ua/util.json +4 -2
  107. package/schema/ua/variantrules.json +139 -22
  108. package/schema/ua/vehicles.json +6574 -76
  109. package/schema/ua-fast/charcreationoptions.json +110 -8
  110. package/schema/ua-fast/cultsboons.json +315 -14
  111. package/schema/ua-fast/encounterbuilder.json +81 -2
  112. package/schema/ua-fast/fluff-charcreationoptions.json +5 -33
  113. package/schema/ua-fast/homebrew.json +8 -2
  114. package/schema/ua-fast/items-base.json +290 -28
  115. package/schema/ua-fast/languages.json +173 -6
  116. package/schema/ua-fast/objects.json +367 -9
  117. package/schema/ua-fast/psionics.json +314 -7
  118. package/schema/ua-fast/rewards.json +165 -8
  119. package/schema/ua-fast/senses.json +68 -7
  120. package/schema/ua-fast/skills.json +74 -7
  121. package/schema/ua-fast/tables.json +564 -87
  122. package/schema/ua-fast/trapshazards.json +483 -14
  123. package/schema/ua-fast/util-copy.json +143 -1
  124. package/schema/ua-fast/util.json +4 -2
  125. package/schema/ua-fast/variantrules.json +139 -22
  126. package/schema/ua-fast/vehicles.json +6574 -76
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.18.1",
6
+ "version": "1.18.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2344,6 +2344,7 @@
2344
2344
  },
2345
2345
  "creatureType": {
2346
2346
  "type": "string",
2347
+ "$comment": "\"vehicle\" added via _Explorer's Guide to Wildemount_, p325",
2347
2348
  "examples": [
2348
2349
  "aberration",
2349
2350
  "beast",
@@ -2358,7 +2359,8 @@
2358
2359
  "monstrosity",
2359
2360
  "ooze",
2360
2361
  "plant",
2361
- "undead"
2362
+ "undead",
2363
+ "vehicle"
2362
2364
  ]
2363
2365
  },
2364
2366
  "alignment": {
@@ -1,25 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "variantrules.json",
4
- "version": "1.1.15",
4
+ "version": "1.2.0",
5
5
  "title": "RulesArray",
6
6
  "type": "object",
7
- "properties": {
8
- "variantrule": {
9
- "type": "array",
10
- "minItems": 1,
11
- "uniqueItems": true,
12
- "items": {
13
- "$ref": "#/$defs/variantrule"
14
- }
15
- }
16
- },
17
- "additionalProperties": false,
18
- "required": [
19
- "variantrule"
20
- ],
21
7
  "$defs": {
22
- "variantrule": {
8
+ "variantruleData": {
23
9
  "type": "object",
24
10
  "properties": {
25
11
  "name": {
@@ -69,12 +55,143 @@
69
55
  "$ref": "util.json#/$defs/reprintedAs"
70
56
  }
71
57
  },
72
- "required": [
73
- "name",
74
- "entries",
75
- "source"
76
- ],
77
58
  "additionalProperties": false
59
+ },
60
+ "variantrule": {
61
+ "anyOf": [
62
+ {
63
+ "type": "object",
64
+ "properties": {
65
+ "name": {
66
+ "type": "string"
67
+ },
68
+ "type": {
69
+ "type": "string"
70
+ },
71
+ "entries": {
72
+ "type": "array",
73
+ "items": {
74
+ "$ref": "entry.json"
75
+ }
76
+ },
77
+ "source": {
78
+ "$ref": "util.json#/$defs/source"
79
+ },
80
+ "page": {
81
+ "$ref": "util.json#/$defs/page"
82
+ },
83
+ "ruleType": {
84
+ "description": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant",
85
+ "type": "string",
86
+ "enum": [
87
+ "C",
88
+ "O",
89
+ "P",
90
+ "V",
91
+ "VO",
92
+ "VV"
93
+ ],
94
+ "markdownDescription": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant"
95
+ },
96
+ "legacy": {
97
+ "$ref": "util.json#/$defs/legacy"
98
+ },
99
+ "additionalSources": {
100
+ "$ref": "util.json#/$defs/additionalSources"
101
+ },
102
+ "otherSources": {
103
+ "$ref": "util.json#/$defs/otherSources"
104
+ },
105
+ "referenceSources": {
106
+ "$ref": "util.json#/$defs/referenceSources"
107
+ },
108
+ "reprintedAs": {
109
+ "$ref": "util.json#/$defs/reprintedAs"
110
+ }
111
+ },
112
+ "additionalProperties": false,
113
+ "required": [
114
+ "name",
115
+ "source",
116
+ "entries"
117
+ ]
118
+ },
119
+ {
120
+ "type": "object",
121
+ "properties": {
122
+ "name": {
123
+ "type": "string"
124
+ },
125
+ "type": {
126
+ "type": "string"
127
+ },
128
+ "entries": {
129
+ "type": "array",
130
+ "items": {
131
+ "$ref": "entry.json"
132
+ }
133
+ },
134
+ "source": {
135
+ "$ref": "util.json#/$defs/source"
136
+ },
137
+ "page": {
138
+ "$ref": "util.json#/$defs/page"
139
+ },
140
+ "ruleType": {
141
+ "description": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant",
142
+ "type": "string",
143
+ "enum": [
144
+ "C",
145
+ "O",
146
+ "P",
147
+ "V",
148
+ "VO",
149
+ "VV"
150
+ ],
151
+ "markdownDescription": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant"
152
+ },
153
+ "legacy": {
154
+ "$ref": "util.json#/$defs/legacy"
155
+ },
156
+ "additionalSources": {
157
+ "$ref": "util.json#/$defs/additionalSources"
158
+ },
159
+ "otherSources": {
160
+ "$ref": "util.json#/$defs/otherSources"
161
+ },
162
+ "referenceSources": {
163
+ "$ref": "util.json#/$defs/referenceSources"
164
+ },
165
+ "reprintedAs": {
166
+ "$ref": "util.json#/$defs/reprintedAs"
167
+ },
168
+ "_copy": {
169
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
170
+ }
171
+ },
172
+ "additionalProperties": false,
173
+ "required": [
174
+ "_copy"
175
+ ]
176
+ }
177
+ ]
78
178
  }
79
- }
179
+ },
180
+ "properties": {
181
+ "_meta": {
182
+ "$ref": "util.json#/$defs/metaBlock"
183
+ },
184
+ "variantrule": {
185
+ "type": "array",
186
+ "minItems": 1,
187
+ "uniqueItems": true,
188
+ "items": {
189
+ "$ref": "#/$defs/variantrule"
190
+ }
191
+ }
192
+ },
193
+ "required": [
194
+ "variantrule"
195
+ ],
196
+ "additionalProperties": false
80
197
  }