Cleanup before tips
This commit is contained in:
parent
13cfc9b62e
commit
b9b969b8ba
@ -7,8 +7,5 @@
|
||||
"type": "module",
|
||||
"keywords": [],
|
||||
"author": "khofmann",
|
||||
"license": "",
|
||||
"dependencies": {
|
||||
"fast-xml-parser": "^4.5.1"
|
||||
}
|
||||
"license": ""
|
||||
}
|
||||
|
||||
23
pnpm-lock.yaml
generated
23
pnpm-lock.yaml
generated
@ -6,25 +6,4 @@ settings:
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
dependencies:
|
||||
fast-xml-parser:
|
||||
specifier: ^4.5.1
|
||||
version: 4.5.1
|
||||
|
||||
packages:
|
||||
|
||||
fast-xml-parser@4.5.1:
|
||||
resolution: {integrity: sha512-y655CeyUQ+jj7KBbYMc4FG01V8ZQqjN+gDYGJ50RtfsUB8iG9AmwmwoAgeKLJdmueKKMrH1RJ7yXHTSoczdv5w==}
|
||||
hasBin: true
|
||||
|
||||
strnum@1.0.5:
|
||||
resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==}
|
||||
|
||||
snapshots:
|
||||
|
||||
fast-xml-parser@4.5.1:
|
||||
dependencies:
|
||||
strnum: 1.0.5
|
||||
|
||||
strnum@1.0.5: {}
|
||||
.: {}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
import { XMLParser, XMLBuilder } from "fast-xml-parser";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
|
||||
@ -46,14 +46,9 @@ paths.forEach((_path) => {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
fs.writeFileSync(path.join(_path, file), lines.join("\n"), {
|
||||
encoding: "utf-8",
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
const fd = fs.openSync("tooltips.csv", "w");
|
||||
fs.writeSync(fd, "Template Name,Node ID,Tooltip\n");
|
||||
objects.forEach((obj) => {
|
||||
fs.writeSync(fd, `${obj.templateName},${obj.nodeID},\n`);
|
||||
});
|
||||
fs.closeSync(fd);
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user