Commit graph

25 commits

Author SHA1 Message Date
Marc Durdin
3a3736abaa fix(developer): npm publish with correct tier
Fixes #6209.

Regression introduced in #6073. Cleanup of tier information in these
build scripts accidentally also deleted the setup of npm_dist_tag
variable.
2022-02-13 14:18:42 +07:00
Marc Durdin
2c01b19f69 chore: cleanup
1. Renamed form UfrmNGrokOptions to UfrmServerOptions
2. Renamed kmdev-server to just plain server
3. Tidied up npm versioning to use VERSION_WITH_TAG

This last point should help avoid confusion as now only CI release
builds will ever generate a package.json with a.b.c, a.b.c-alpha or
a.b.c-beta. Local and test builds will always have the corresponding
-test or -local environment appended. This also helps avoid issues if
we accidentally publish an incorrect version.
2021-12-22 06:25:22 +11:00
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
4b3046a478 chore: tweaks to script 2020-10-07 14:25:29 +11:00
Marc Durdin
5e567c5a2f fix(developer): ci uses repo tier and version 2020-10-07 14:05:11 +11:00
Eddie Antonio Santos
e135eebecb
change(common/models): remove unnecessary build step 2020-05-25 08:47:59 -06:00
Eddie Antonio Santos
cc5bfd5f2b
fix(common/models): use correct paths for models-types 2020-05-22 11:42:28 -06:00
Eddie Antonio Santos
4e0cbf689f
change(common/models): use standard build script header 2020-05-22 11:18:29 -06:00
Marc Durdin
cbe97477f5
Merge branch 'master' into change/common/lmlayer/move-joiner-to-compiler 2020-05-22 19:59:16 +10:00
Eddie Antonio Santos
1160ab3496
chore(developer/compiler): depend on new @keymanapps/models-types package 2020-05-19 19:52:50 -06:00
Eddie Antonio Santos
cee5b20248
chore(common/lmlayer): build LMLayer before running compiler tests 2020-05-04 11:04:54 -06:00
Eddie Antonio Santos
fd5bd1a70c
chore(common/lmlayer): requisite lerna-fu 2020-05-04 10:53:57 -06:00
Eddie Antonio Santos
b5dcd025de
build.sh always installs deps, even when given -test. 2019-10-02 13:46:02 -06:00
Eddie Antonio Santos
377e018ceb
Fix other build.sh. 2019-10-02 09:31:49 -06:00
Eddie Antonio Santos
00ccc0080f
Add set -eu and failure messages in ./build.sh(s). 2019-10-02 08:45:44 -06:00
Eddie Antonio Santos
f2f511840e
Move npm link . to dependent build.sh scripts. 2019-10-01 14:55:58 -06:00
Eddie Antonio Santos
6206c79112
Fix npm publish tier. 2019-09-30 13:51:15 -06:00
Eddie Antonio Santos
09615db5cc
Create publish script and document. 2019-09-30 13:24:51 -06:00
Eddie Antonio Santos
6c12526afd
Factor out set_npm_version to shellHelperFunctions. 2019-09-30 09:34:41 -06:00
Marc Durdin
85e0ab703b [Developer] Address review comments and fix error in copydev.in with VERSION variable 2019-09-25 06:03:54 +10:00
Marc Durdin
18d2626604 [Developer] Set the package version when building kmlmx during Developer build. Fixes #2124. 2019-09-24 17:10:12 +10:00
Eddie Antonio Santos
b27f9a7a25
Add minimal README and install deps on build. 2019-08-19 15:26:28 -06:00
Eddie Antonio Santos
65136a06e2
Add set -eu to prevent further mistakes in build.sh.
This change is has not been approved by the UK parliament :p
2019-07-30 09:21:37 -06:00
Eddie Antonio Santos
930f4b9eb7
Correct some comments. 2019-07-29 09:19:49 -06:00
Eddie Antonio Santos
37e1dc34cf
[Developer] Add build.sh to developer/js. 2019-07-29 09:17:39 -06:00