Commit graph

8 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
5da14fb040 [Developer] Remove extraneous version tag from test 2019-10-03 21:00:46 +10:00
Marc Durdin
90fdff3b75 [Developer] Respond to review comments 2019-09-02 14:33:40 +10:00
Marc Durdin
ff337f3464 [Developer] Add first test for kmp compiler 2019-09-02 08:44:54 +10:00
Eddie Antonio Santos
0d3fc7bbf6
Test compiling with an explicit word breaker property. 2019-08-29 12:36:23 -06:00
Eddie Antonio Santos
0926a99420
Test that all valid example models compile correctly. 2019-08-28 10:20:00 -06:00
Eddie Antonio Santos
1c7d438f52
Rename all *.model.ts files following new convention. 2019-08-28 10:15:46 -06:00
Eddie Antonio Santos
06c2996415
Implement 'detecting' UTF-8. 2019-08-27 10:12:27 -06:00