spiegel-keyman/common/web
Marc Durdin c3458d040c refactor(developer): move filename consistency check to kmc
kmcmplib no longer has any filesystem access, so it cannot verify if a
referenced filename in a source file has the same case as the actual
filename on disk (a risk when moving projects between platforms). So
I opted to move this to the `loadFile` callback in kmc, which is the
only place where filesystem is actually accessed, and added
corresponding unit test.

Small additional fixes here:

1. Move from `Buffer` to `Uint8Array` in all kmc-* modules, so that we
   remove that barrier to running on web.
2. Use `callbacks.loadFile` instead of `callbacks.fs.readFileSync`, so
   that we can be sure to run the filename consistency check.
3. Fixed kps parser silently swallowing xml errors on load.
4. Added silent mode to NodeCompilerCallbacks so we could cleanly test
   the new filename consistency hint.
5. Noted a location where we still have NodeJS deps in kmc-ldml.
2023-06-01 15:11:38 +07:00
..
eslint chore(developer): add eslint devDependency for kmc 2023-04-25 13:44:56 +07:00
input-processor chore(web): cleanup per PR reviews 2023-04-20 10:30:49 +07:00
keyboard-processor Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
keyman-version chore(common): update description for 'build.sh pack' 2023-04-12 14:18:31 +07:00
lm-message-types chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
lm-worker Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
recorder Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
sentry-manager chore(common): build script performance improvements 2023-03-13 07:18:09 +07:00
types refactor(developer): move filename consistency check to kmc 2023-06-01 15:11:38 +07:00
utils Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
.gitignore chore(web): move lm-worker into its own folder 2022-04-14 15:33:23 +10:00
build.sh chore(common): add common/web/build.sh, small cleanup 2023-03-14 13:05:27 +07:00