@minecraft/markup-generators-plugin 1.3.0 → 1.4.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/CHANGELOG.json CHANGED
@@ -2,7 +2,28 @@
2
2
  "name": "@minecraft/markup-generators-plugin",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 22 Jan 2026 17:22:43 GMT",
5
+ "date": "Tue, 27 Jan 2026 20:46:22 GMT",
6
+ "version": "1.4.0",
7
+ "tag": "@minecraft/markup-generators-plugin_v1.4.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "agriffin@microsoft.com",
12
+ "package": "@minecraft/markup-generators-plugin",
13
+ "commit": "025ecde17e3de39bf1d0b4e925dafc6b29d1406a",
14
+ "comment": "Global variables now properly generate when optional"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@minecraft/markup-generators-plugin",
19
+ "comment": "Bump @minecraft/api-docs-generator to v1.6.0",
20
+ "commit": "not available"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Thu, 22 Jan 2026 17:23:10 GMT",
6
27
  "version": "1.3.0",
7
28
  "tag": "@minecraft/markup-generators-plugin_v1.3.0",
8
29
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @minecraft/markup-generators-plugin
2
2
 
3
- <!-- This log was last generated on Thu, 22 Jan 2026 17:22:43 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Tue, 27 Jan 2026 20:46:22 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.4.0
8
+
9
+ Tue, 27 Jan 2026 20:46:22 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Global variables now properly generate when optional (agriffin@microsoft.com)
14
+ - Bump @minecraft/api-docs-generator to v1.6.0
15
+
7
16
  ## 1.3.0
8
17
 
9
- Thu, 22 Jan 2026 17:22:43 GMT
18
+ Thu, 22 Jan 2026 17:23:10 GMT
10
19
 
11
20
  ### Minor changes
12
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/markup-generators-plugin",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Plugin for @minecraft/api-docs-generator containing core markup generators and template files",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "CHANGELOG.*"
41
41
  ],
42
42
  "devDependencies": {
43
- "@minecraft/api-docs-generator": "^1.5.0",
43
+ "@minecraft/api-docs-generator": "^1.6.0",
44
44
  "@minecraft/core-build-tasks": "*",
45
45
  "@types/mustache": "^4.2.2",
46
46
  "@types/node": "^22.0.0",
@@ -61,6 +61,6 @@
61
61
  "typescript": "~5.6.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "@minecraft/api-docs-generator": "^1.5.0"
64
+ "@minecraft/api-docs-generator": "^1.6.0"
65
65
  }
66
66
  }
@@ -1,5 +1,5 @@
1
1
  ### **{{{name}}}**
2
- `{{^is_enum}}{{#is_static}}static {{/is_static}}{{#is_read_only}}read-only {{/is_read_only}}{{/is_enum}}{{{name}}}{{#constant_value}} = {{#type}}{{> value}}{{/type}}{{/constant_value}}{{^constant_value}}{{#type.is_optional}}?{{/type.is_optional}}: {{#type}}{{> type}}{{/type}}{{/constant_value}}{{^is_enum}};{{/is_enum}}`
2
+ `{{^is_enum}}{{#is_static}}static {{/is_static}}{{#is_read_only}}read-only {{/is_read_only}}{{/is_enum}}{{{name}}}{{#constant_value}} = {{#type}}{{> value}}{{/type}}{{/constant_value}}{{^constant_value}}{{#is_member}}{{#type.is_optional}}?{{/type.is_optional}}{{/is_member}}: {{#type}}{{> type}}{{/type}}{{^is_member}}{{#type.is_optional}} | undefined{{/type.is_optional}}{{/is_member}}{{/constant_value}}{{^is_enum}};{{/is_enum}}`
3
3
  {{#property_description_md}}
4
4
 
5
5
  {{{.}}}
@@ -1 +1 @@
1
- {{^is_enum}}{{^is_member}}export {{#is_read_only}}const {{/is_read_only}}{{/is_member}}{{#is_member}}{{#is_static}}static {{/is_static}}{{#is_read_only}}readonly {{/is_read_only}}{{/is_member}}{{/is_enum}}{{#is_member}}{{/is_member}}{{#ts_name_should_escape}}"{{/ts_name_should_escape}}{{{name}}}{{#ts_name_should_escape}}"{{/ts_name_should_escape}}{{#is_member}}{{/is_member}}{{#constant_value}} = {{#type}}{{> value}}{{/type}}{{/constant_value}}{{^constant_value}}{{#type.is_optional}}?{{/type.is_optional}}: {{#type}}{{> type}}{{/type}}{{/constant_value}}{{#is_enum}}{{^is_last}},{{/is_last}}{{/is_enum}}
1
+ {{^is_enum}}{{^is_member}}export {{#is_read_only}}const {{/is_read_only}}{{/is_member}}{{#is_member}}{{#is_static}}static {{/is_static}}{{#is_read_only}}readonly {{/is_read_only}}{{/is_member}}{{/is_enum}}{{#ts_name_should_escape}}"{{/ts_name_should_escape}}{{{name}}}{{#ts_name_should_escape}}"{{/ts_name_should_escape}}{{#constant_value}} = {{#type}}{{> value}}{{/type}}{{/constant_value}}{{^constant_value}}{{#is_member}}{{#type.is_optional}}?{{/type.is_optional}}{{/is_member}}: {{#type}}{{> type}}{{/type}}{{^is_member}}{{#type.is_optional}} | undefined{{/type.is_optional}}{{/is_member}}{{/constant_value}}{{#is_enum}}{{^is_last}},{{/is_last}}{{/is_enum}}