spiegel-keyman/developer/src/kmc-package
Marc Durdin de1c171f46 chore(developer): cleanup compiler messages in kmc
Fixes #8795.
Relates to #9090.

Cleans up and makes consistent compiler messages in kmc, and related
unit tests.

Adds support for colorized messages.

After installing chalk for ansi coloring in kmc, @types/node needed to
be brought in sync with the Typescript version, per the suggestion of
checking against `npm dist-tags @types/node`,found in a discussion at
https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/64262#discussioncomment-4905069

Additional tidying up includes:
* Deprecating a set of functions in compiler-interfaces, bringing them
  together under a new CompilerError class.
  Separating CompilerErrorSeverity and CompilerErrorMask enums.
* Making CompilerError.formatEvent (formerly compilerEventFormat) print
  messages in the same format as NodeCompilerCallbacks (sans coloring).
* Adding a wrapper class for CompilerCallbacks that manages the filename
  reporting, used currently exclusively by kmc itself.
2023-07-10 15:13:48 +07:00
..
src fix(developer): kmc-package support for keyboard metadata 2023-07-06 13:49:04 +07:00
test chore(developer): cleanup compiler messages in kmc 2023-07-10 15:13:48 +07:00
.eslintrc.cjs refactor(developer): use callbacks to avoid direct fs access in kmc-package 2023-04-26 12:31:50 +07:00
build.sh feat(developer): add tests for keyboard and package version matching 2023-05-12 08:26:54 +07:00
Makefile chore: rename kmc-keyboard to kmc-ldml 2023-05-09 14:08:45 +07:00
package.json chore(developer): cleanup compiler messages in kmc 2023-07-10 15:13:48 +07:00
tsconfig.json fix(developer): keyman-version package reference 2023-05-12 11:53:34 +07:00