cyclops-infobook-html 4.0.0 → 4.0.1

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/README.md CHANGED
@@ -64,7 +64,7 @@ If you want to re-download the mods without re-installing Forge, you can run `ge
64
64
 
65
65
  ### 2. Icon Generation
66
66
 
67
- This phase should be done using the [Item Exporter mod](https://github.com/CyclopsMC/IconExporter).
67
+ This phase should be done using the [Icon Exporter mod](https://github.com/CyclopsMC/IconExporter).
68
68
 
69
69
  Simply create a modpack with all the mods that were downloaded in the previous step (including the Item Exporter mod),
70
70
  start a world, and run the `/iconexporter export 64` command.
@@ -229,6 +229,7 @@ class HtmlInfoBookSerializer {
229
229
  value = value.replace(/§o([^§]*)§r/g, '<em>$1</em>');
230
230
  value = value.replace(/§N/g, '<br />');
231
231
  // Colors to HTML
232
+ value = value.replace(/§r([^§]*)§0/g, '<span style="color: #000000">$1</span>');
232
233
  value = value.replace(/§1([^§]*)§0/g, '<span style="color: #0000AA">$1</span>');
233
234
  value = value.replace(/§2([^§]*)§0/g, '<span style="color: #00AA00">$1</span>');
234
235
  value = value.replace(/§3([^§]*)§0/g, '<span style="color: #00AAAA">$1</span>');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyclops-infobook-html",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Output Cyclops infobooks as HTML",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:CyclopsMC/infobook-html.git",
package/CHANGELOG.md DELETED
@@ -1,83 +0,0 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- <a name="v4.0.0"></a>
5
- ## [v4.0.0](https://github.com/CyclopsMC/infobook-html/compare/v3.0.0...v4.0.0) - 2024-07-23
6
-
7
- ### BREAKING CHANGE
8
- * [Update to NeoForge 1.21](https://github.com/CyclopsMC/infobook-html/commit/bec55a8a0d2049a07cc3dafee2276c94ed738e73)
9
- The most notable change here is that "nbt" on items and fluids is replaced by "components".
10
-
11
- <a name="v3.1.0"></a>
12
- ## [v3.1.0](https://github.com/CyclopsMC/infobook-html/compare/v3.0.0...v3.1.0) - 2024-01-31
13
-
14
- ### Added
15
- * [Support text field appendix](https://github.com/CyclopsMC/infobook-html/commit/6f24bbbd606b6cfd1237e3bf740e73ffc23008be)
16
- * [Allowing raw mod URLs in modpack](https://github.com/CyclopsMC/infobook-html/commit/11c9ed5adc554ae7dafa66a202ac83fcacd240fb)
17
-
18
- <a name="v3.0.0"></a>
19
- ## [v3.0.0](https://github.com/CyclopsMC/infobook-html/compare/v2.0.0...v3.0.0) - 2022-03-10
20
-
21
- ### Changed
22
- * [Update to MC 1.18](https://github.com/CyclopsMC/infobook-html/commit/1fb77959593a2b84cb14e56406f0df20ad450e16)
23
-
24
- <a name="v2.0.0"></a>
25
- ## [v2.0.0](https://github.com/CyclopsMC/infobook-html/compare/v1.1.2...v2.0.0) - 2021-02-03
26
-
27
- ### Changed
28
- * [Update to MC 1.16](https://github.com/CyclopsMC/infobook-html/commit/249b211cb524414db95e3600dcdf14d9304926db)
29
- * [Also extract mod data](https://github.com/CyclopsMC/infobook-html/commit/c11023465f93c2018deaa10e14270102398dfb2a)
30
- * [Update footer year](https://github.com/CyclopsMC/infobook-html/commit/c946bab5c16c293b8a6a01a1c7ee1eb9c28b0ad6)
31
-
32
- ### Fixed
33
- * [Fix incorrect dumpregistries command](https://github.com/CyclopsMC/infobook-html/commit/90bf5675f8a71170e36e91d41c01d5ec94fab430)
34
- * [Fix server start failing after install in a hacky way](https://github.com/CyclopsMC/infobook-html/commit/03319253969e45b76d98b7b918bbf493c5985693)
35
-
36
- <a name="v1.1.2"></a>
37
- ## [v1.1.2](https://github.com/CyclopsMC/infobook-html/compare/v1.1.1...v1.1.2) - 2019-07-31
38
-
39
- ### Fixed
40
- * [Fix some URLs ending with two slashes](https://github.com/CyclopsMC/infobook-html/commit/8bb6b5f2efaa5babdbb0365258a911e82121ec74)
41
-
42
- <a name="v1.1.1"></a>
43
- ## [v1.1.1](https://github.com/CyclopsMC/infobook-html/compare/v1.1.0...v1.1.1) - 2019-07-31
44
-
45
- ### Added
46
- * [Allow baseUrl to be overridden via CLI](https://github.com/CyclopsMC/infobook-html/commit/c0090fd3fedc664cb33049bef5bc7e27225cb2b8)
47
-
48
- ### Fixed
49
- * [Fix _lang dirs not being served on GitHub pages](https://github.com/CyclopsMC/infobook-html/commit/bb0c7bda1a8081322d1192ff293bbee1bdb411b0)
50
- * [Fix language links not resolving to baseIRI](https://github.com/CyclopsMC/infobook-html/commit/e87eb5a8cf5e5a1651350dfc49923503e3badb7e)
51
- * [Always end directory URLs with a slash](https://github.com/CyclopsMC/infobook-html/commit/9185cefa713e2d07783ff1f9b800926e24af8a8e)
52
-
53
- <a name="v1.1.0"></a>
54
- ## [v1.1.0](https://github.com/CyclopsMC/infobook-html/compare/v1.0.1...v1.1.0) - 2019-07-29
55
-
56
- ### Added
57
- * [Add furnace recipe handler](https://github.com/CyclopsMC/infobook-html/commit/7b6f2728c47283ed4c2e7a29da17a59af91be8bd)
58
- * [Add support for combined formatting codes and newlines](https://github.com/CyclopsMC/infobook-html/commit/47a857e5a42465fa27c08ad0473065118cfa6fac)
59
- * [Add support for predefined crafting recipes](https://github.com/CyclopsMC/infobook-html/commit/ecc794b36be7cdb2e7835723d62e729e9d89a629)
60
-
61
- ### Fixed
62
- * [Fix item icons not being selected based on nbt](https://github.com/CyclopsMC/infobook-html/commit/1fe8f2938af881cc1a8911ccce4dafeaf6a9e25f)
63
- * [Fix too many ad blocks being added](https://github.com/CyclopsMC/infobook-html/commit/5db0b9321116c710ced4cb9a6bcbfb2de0224324)
64
-
65
- ### Changed
66
- * [Make page controls slightly smaller](https://github.com/CyclopsMC/infobook-html/commit/c2bd0167b93eeab8e8feb343e5e3f8a0634c8379)
67
- * [Add support for multiple crafting recipes](https://github.com/CyclopsMC/infobook-html/commit/232f4c293564c818ce73b278b665282f12a7e4d7)
68
- * [Make templateItem field public](https://github.com/CyclopsMC/infobook-html/commit/dd22d9bbfa3ac6d2b7e9aa6c3eb2e98d91e45556)
69
- * [Throw error when translation keys are not found](https://github.com/CyclopsMC/infobook-html/commit/904c82275a84a3027b25660c0d87581d16decd43)
70
- * [Throw error if predefined is not found](https://github.com/CyclopsMC/infobook-html/commit/43cac0f927e5f8c5dbc05312e6008fe7ea96b345)
71
- * [Handle tagged crafting recipes](https://github.com/CyclopsMC/infobook-html/commit/d6d2dc821a868e790bc229da035c546a5b3e8ade)
72
- * [Exit with non-zero exit code on error](https://github.com/CyclopsMC/infobook-html/commit/33e3ef8fee72fc72d5608ddb865c53c91b24f59c)
73
-
74
- <a name="v1.0.1"></a>
75
- ## [v1.0.1](https://github.com/CyclopsMC/infobook-html/compare/v1.0.0...v1.0.1) - 2019-07-25
76
-
77
- ### Fixed
78
- * [Package assets](https://github.com/CyclopsMC/infobook-html/commit/1d6eda2f7618a7fb312427481f90528dd07185c9)
79
-
80
- <a name="v1.0.0"></a>
81
- ## [v1.0.0] - 2019-06-25
82
-
83
- Initial release