spiegel-keyman/common/web/keyman-version/package.json
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

26 lines
599 B
JSON

{
"name": "@keymanapp/keyman-version",
"description": "Keyman global version data",
"main": "./build/version.inc.cjs",
"exports": {
".": {
"import": "./build/version.inc.js",
"require": "./build/version.inc.cjs"
},
"./build/version.inc.cjs": "./build/version.inc.cjs"
},
"files": [
"/build/"
],
"scripts": {
"build": "echo 'Building @keymanapp/keyman-version' && tsc -b",
"clean": "tsc -b --clean",
"tsc": "tsc"
},
"license": "MIT",
"type": "module",
"devDependencies": {
"@types/node": "^20.4.1",
"typescript": "^4.9.5"
}
}