Commit graph

3 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
Marc Durdin
5e1ceb1083 [Developer] Remove model version from metadata in packages (kmlmp) 2019-10-03 06:00:08 +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
Renamed from developer/js/package-compiler/kmp-json-file.ts (Browse further)