Commit graph

11 commits

Author SHA1 Message Date
Marc Durdin
2f2f998da6 fix(developer): schema conformance for model package compiler
Fixes #3199.

Ensures that the model package compiler passes schema validation for
kmp.json. Three problems were corrected:

1. `followKeyboardVersion` is a source-only property; it should not be
   in deployable kmp.json.
2. `copyLocation` should have been a number not a string (in XML
   everything is a string... but JSON has more control here)
3. `fileType` is a source-only property; it also should not be in
   deployable kmp.json.

I have checked that the resulting files validate against the package
kmp.json schema version 1.1.0 defined at
https://github.com/keymanapp/api.keyman.com/blob/master/schemas/package/1.1.0/package.json.

None of these fixes should impact the use of these packages in target
apps. `followKeyboardVersion` and `fileType` are used only in the source
at package development time, and `copyLocation` is unused (and should be
eliminated from Keyman altogether in the future).
2021-03-01 10:57:49 +11:00
Eddie Antonio Santos
8b4769d893
change(developer): use a type assertion instead of if hack 2019-11-29 10:45:29 -07:00
Eddie Antonio Santos
e73cc74d7f
fix(developer): copy element only when both are strings 2019-11-27 20:53:21 -07:00
Eddie Antonio Santos
e772c92bbf
change(developer): remove mistyped and unused import. 2019-11-27 20:46:42 -07:00
Eddie Antonio Santos
f75311ffc2
fix(developer): handle all nulls in kmp-compiler 2019-11-27 18:49:54 -07:00
Eddie Antonio Santos
6a0b278c76
change(developer): add types for JSZip 2.5.0 2019-11-27 18:25:56 -07:00
Eddie Antonio Santos
cb9ab43055
change(developer): add types for xml2js 2019-11-27 16:52:18 -07:00
Marc Durdin
5e1ceb1083 [Developer] Remove model version from metadata in packages (kmlmp) 2019-10-03 06:00:08 +10:00
Marc Durdin
90fdff3b75 [Developer] Respond to review comments 2019-09-02 14:33:40 +10:00
Marc Durdin
52ec17e0fc [Developer] Add kmlmi and kmlmp. Next: tests 2019-09-01 11:59:27 +10:00
Eddie Antonio Santos
602932b157
Move all source files to source/ (matching rest of Keyman conventions). 2019-08-19 15:26:27 -06:00