mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 03:15:33 +00:00
Fixes #8644. This is a signficant cleanup and refactor of code that was accessing the fs or path modules in Node directly. Given we want to be able to run these modules on web as well in the future, it is important that we avoid that. This also redesigns the CompilerCallback interfaces to provide Node-like interfaces for path and fs, with a minimal set of functions. The aim here is to provide a surface that will hopefully match a future web-based component such as path-browserify without significant retooling of the kmc-* modules. Enables linting for common/web/types and turns on the eslintNoNodeImports checks for that module and kmc-package. Note: Buffer is still in use in a few places also, so we'll need to refactor that in a future commit. |
||
|---|---|---|
| .. | ||
| delphi | ||
| include | ||
| web/test-helpers | ||