seaofvoices / darklua

A command line tool that transforms Lua code
https://darklua.com/
MIT License
78 stars 10 forks source link

Simplify site config editor #131

Closed jeparlefrancais closed 10 months ago

jeparlefrancais commented 10 months ago

Closes #121

This avoid the issue where the configuration is passed through the json5 javascript library and then to darklua, I simplified the text editor to directly send the written config to the darklua wasm build.

There are still some weird behavior when writing some large numbers in the web editor, but I suspect it may be related to how darklua wasm processes floats.

github-actions[bot] commented 10 months ago

Coverage after merging site-simplify-config-editor into main will be

87.11%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/nodes/expressions
   mod.rs77.34%100%77.50%77.30%129–131, 135–137, 141–143, 147–149, 153–155, 159–161, 177–179, 183–185, 261, 307–310, 312, 85–90