@spyglassmc/mcdoc-cli 0.1.51 → 0.1.52
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/lib/common.js +1 -1
- package/package.json +3 -3
package/lib/common.js
CHANGED
|
@@ -43,7 +43,7 @@ export function sortMaps(data) {
|
|
|
43
43
|
return data;
|
|
44
44
|
}
|
|
45
45
|
export async function writeJson(path, data, gzip) {
|
|
46
|
-
const contents = JSON.stringify(data,
|
|
46
|
+
const contents = JSON.stringify(data, core.bigintJsonNumberReplacer, '\t') + '\n';
|
|
47
47
|
await core.fileUtil.writeFile(NodeJsExternals, path, contents);
|
|
48
48
|
if (gzip) {
|
|
49
49
|
await core.fileUtil.writeGzippedJson(NodeJsExternals, `${path}.gz`, data);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spyglassmc/mcdoc-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"line-column": "^1.0.2",
|
|
34
34
|
"ofetch": "^1.3.4",
|
|
35
35
|
"yargs": "17.6.2",
|
|
36
|
-
"@spyglassmc/core": "0.4.
|
|
37
|
-
"@spyglassmc/mcdoc": "0.3.
|
|
36
|
+
"@spyglassmc/core": "0.4.46",
|
|
37
|
+
"@spyglassmc/mcdoc": "0.3.50"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/fs-extra": "^11.0.2",
|