Skip to content

Commit

Permalink
Added drag&drop functionality on FileTree, upgraded versions of libra…
Browse files Browse the repository at this point in the history
…ries, added testing library - mocha, docs cleanup, removed duplicated 3rd party libraries info
  • Loading branch information
Lorthiz committed Oct 22, 2024
1 parent a307751 commit e12e9ac
Show file tree
Hide file tree
Showing 29 changed files with 1,218 additions and 128 deletions.
4 changes: 1 addition & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
HOST=kaitai.lorthiz.ovh
WORKER_LIB_KAITAI_STREAM_URL=https://ide.kaitai.io/lib/_npm/kaitai-struct/KaitaiStream.js
WORKER_LIB_ZLIB_URL=https://ide.kaitai.io/lib/_npm/pako/pako_inflate.min.js
HOST=kaitai.lorthiz.ovh
6 changes: 6 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"node-option": [
"experimental-specifier-resolution=node",
"loader=ts-node/esm"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Online editor / visualizer for Kaitai Struct .ksy files

## screenshots

![Example screenshot of a .zip file](public/docs/zip_example.png)
![Example screenshot of a .png file](public/docs/png_example.png)
![Example screenshot of a .zip file](docs/zip_example.png)
![Example screenshot of a .png file](docs/png_example.png)

For more screenshots [visit the Features wiki page](https://github.com/kaitai-io/kaitai_struct_webide/wiki/Features)
7 changes: 0 additions & 7 deletions build-related/vendor_license.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ function main() {
const vendorYaml = readFileSync(filename, "utf8");
const vendor = jsyaml.load(vendorYaml, { schema: jsyaml.CORE_SCHEMA, filename });
let licResult = "";
let wikiResult = "# 3rd-party libraries\n\n";
const libs = Object.entries(vendor.libs);
libs.sort(([lib1Name], [lib2Name]) => lib1Name.localeCompare(lib2Name))
for (const [libName, lib] of libs) {
Expand All @@ -39,19 +38,14 @@ function main() {
licResult += ` License applies to files used for generating minified sources.\n`;
licResult += "\n";

wikiResult += `## ${libName}\n`;

if (lib["website"]) {
licResult += `Website: ${lib["website"]}\n`;
wikiResult += `Website: ${lib["website"]}\n\n`;
}

if (lib["source"]) {
licResult += `Source: ${lib["source"]}\n`;
wikiResult += `Source: ${lib["source"]}\n\n`;
}

wikiResult += `License: ${lib["licenseName"]} (${lib["licenseUrl"]})\n\n`;

licResult += "=".repeat(80) + "\n";
licResult +=
Expand All @@ -62,7 +56,6 @@ function main() {
}

writeFileSync("public/LICENSE-3RD-PARTY.txt", licResult.trim());
writeFileSync("public/docs/wiki/3rd-party-libraries.md", wikiResult.trim());
}

main();
File renamed without changes
File renamed without changes
Loading

0 comments on commit e12e9ac

Please sign in to comment.