5etools-utils 0.16.0 → 0.16.2

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 (52) hide show
  1. package/README.md +13 -13
  2. package/bin/clean-html.js +0 -0
  3. package/bin/lint-js-changed.js +0 -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/BrewTester/BrewTesterFileProps.js +3 -0
  16. package/package.json +1 -1
  17. package/schema/brew/books.json +2 -1
  18. package/schema/brew/fluff-homecrafts.json +15 -0
  19. package/schema/brew/homebrew.json +9 -3
  20. package/schema/brew/homecrafts.json +597 -0
  21. package/schema/brew/util-copy.json +4 -2
  22. package/schema/brew/util.json +29 -27
  23. package/schema/brew-fast/books.json +2 -1
  24. package/schema/brew-fast/fluff-homecrafts.json +15 -0
  25. package/schema/brew-fast/homebrew.json +9 -3
  26. package/schema/brew-fast/homecrafts.json +597 -0
  27. package/schema/brew-fast/util-copy.json +4 -2
  28. package/schema/brew-fast/util.json +29 -27
  29. package/schema/site/books.json +2 -1
  30. package/schema/site/fluff-homecrafts.json +15 -0
  31. package/schema/site/homebrew.json +7 -4
  32. package/schema/site/homecrafts.json +570 -0
  33. package/schema/site/util-copy.json +4 -2
  34. package/schema/site/util.json +29 -27
  35. package/schema/site-fast/books.json +2 -1
  36. package/schema/site-fast/fluff-homecrafts.json +15 -0
  37. package/schema/site-fast/homebrew.json +7 -4
  38. package/schema/site-fast/homecrafts.json +570 -0
  39. package/schema/site-fast/util-copy.json +4 -2
  40. package/schema/site-fast/util.json +29 -27
  41. package/schema/ua/books.json +2 -1
  42. package/schema/ua/fluff-homecrafts.json +15 -0
  43. package/schema/ua/homebrew.json +9 -3
  44. package/schema/ua/homecrafts.json +570 -0
  45. package/schema/ua/util-copy.json +4 -2
  46. package/schema/ua/util.json +29 -27
  47. package/schema/ua-fast/books.json +2 -1
  48. package/schema/ua-fast/fluff-homecrafts.json +15 -0
  49. package/schema/ua-fast/homebrew.json +9 -3
  50. package/schema/ua-fast/homecrafts.json +570 -0
  51. package/schema/ua-fast/util-copy.json +4 -2
  52. package/schema/ua-fast/util.json +29 -27
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # 5etools Utils
2
-
3
- Available commands:
4
-
5
- ```
6
- npx clean-html
7
- npx test-file-names [--name-regex <regex>]
8
- npx test-file-contents --img-repo-name <repo> --url-prefix-expected <prefix>
9
- npx test-json-brew [file] [--dir <dir>]
10
- npx test-json-ua [file] [--dir <dir>]
11
- ```
12
-
13
- And more; see `bin/`.
1
+ # 5etools Utils
2
+
3
+ Available commands:
4
+
5
+ ```
6
+ npx clean-html
7
+ npx test-file-names [--name-regex <regex>]
8
+ npx test-file-contents --img-repo-name <repo> --url-prefix-expected <prefix>
9
+ npx test-json-brew [file] [--dir <dir>]
10
+ npx test-json-ua [file] [--dir <dir>]
11
+ ```
12
+
13
+ And more; see `bin/`.
package/bin/clean-html.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -24,6 +24,9 @@ export class BrewTesterFileProps extends BrewTesterBase {
24
24
  "encounterbuilder": [
25
25
  "encounterShape",
26
26
  ],
27
+ "crochetpattern": [
28
+ "crochetPattern",
29
+ ],
27
30
  };
28
31
 
29
32
  async _pRun () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "books.json",
4
- "version": "1.2.19",
4
+ "version": "1.2.20",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "book": {
@@ -43,6 +43,7 @@
43
43
  "screen",
44
44
  "organized-play",
45
45
  "recipe",
46
+ "homecraft",
46
47
  "other"
47
48
  ],
48
49
  "markdownDescription": "The group under which this book should be listed in the navbar."
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-homecrafts.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "_meta": {
8
+ "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "crochetPatternFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
12
+ }
13
+ },
14
+ "additionalProperties": false
15
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -769,6 +769,12 @@
769
769
  "foundryOptionalfeature": {
770
770
  "$ref": "foundry-optionalfeatures.json#/properties/optionalfeature"
771
771
  },
772
+ "crochetPattern": {
773
+ "$ref": "homecrafts.json#/properties/crochetPattern"
774
+ },
775
+ "crochetPatternFluff": {
776
+ "$ref": "fluff-homecrafts.json#/properties/crochetPatternFluff"
777
+ },
772
778
  "psionic": {
773
779
  "$ref": "psionics.json#/properties/psionic"
774
780
  },
@@ -870,8 +876,8 @@
870
876
  }
871
877
  },
872
878
  "additionalProperties": false,
879
+ "markdownDescription": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. spell or class",
873
880
  "required": [
874
881
  "_meta"
875
- ],
876
- "markdownDescription": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. spell or class"
882
+ ]
877
883
  }