Commit graph

111 commits

Author SHA1 Message Date
Marc Durdin
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua A. Horton
f7d082981c chore: Merge branch 'master' into chore/feature-esmodule-master-update 2023-03-14 11:51:57 +07:00
Joshua A. Horton
f5e64a10a5 chore: Merge branch 'chore/common/ldml-ts-and-node-updates' into chore/feature-esmodule-master-update 2023-03-14 09:23:39 +07:00
Marc Durdin
578b79e739 chore(common): fix typo 2023-03-13 08:08:10 +07:00
Marc Durdin
92ed99c4d6 chore(common): build script performance improvements
Improves build script performance by:
* using built-ins wherever possible (e.g. string splitting)
* eliminating redundant code
* using absolute (to $KEYMAN_ROOT) rather than relative paths to avoid realpath
* removing unnecessary `npm run` calls

BEFORE                         | AFTER
-------------------------------|----------------------
time ./core/build.sh --help    |
real    0m2.116s               | real    0m0.874s
user    0m0.578s               | user    0m0.198s
sys     0m0.984s               | sys     0m0.289s
-------------------------------|----------------------
time ./web/build.sh --help     |
real    0m3.523s               | real    0m0.757s
user    0m1.166s               | user    0m0.320s
sys     0m2.273s               | sys     0m0.455s
-------------------------------|----------------------
time ./web/build.sh -d         |
real    1m34.750s              | real    0m59.974s
user    0m9.721s               | user    0m6.284s
sys     0m19.652s              | sys     0m13.202s

@keymanapp-test-bot skip
2023-03-13 07:18:09 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
4d53a277f3 chore: use builder_die, remove fail 2023-02-20 09:15:38 +07:00
Marc Durdin
c475188c6b chore: use builder_die, remove die 2023-02-20 09:03:37 +07:00
Joshua A. Horton
58d2c3ba66 chore(common/web): TS import cleanup via subpaths 2023-02-16 16:05:45 +07:00
Joshua A. Horton
8fb5b42818 chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-16 15:52:25 +07:00
Joshua A. Horton
6af1e4890e chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/feature-esmodule-update 2023-02-16 15:18:50 +07:00
Joshua A. Horton
a3752dd9ff chore(common): full-repo ts-node update 2023-02-09 12:39:15 +07:00
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Joshua A. Horton
e1124f726f fix(common): sourcemap remap rename side-effects 2023-02-06 08:34:27 +07:00
Joshua A. Horton
5cb15fbcf1 chore(common/models): lm-layer import pathing cleanup 2023-02-03 15:35:31 +07:00
Joshua A. Horton
66502553da feat(common): simple package for common test resources 2023-02-03 15:13:18 +07:00
Joshua A. Horton
dce763600e chore(common/models): lm-worker import path cleanup 2023-02-03 14:52:12 +07:00
Joshua A. Horton
e7aff26d7a chore(common/models): assorted cleanup per suggestions 2023-02-02 15:33:59 +07:00
Joshua A. Horton
b943b5a80b chore(common/models): Merge branch 'feature-esmodule-web-engine' into feat/common/models/lm-worker-sourcemapping 2023-02-02 15:29:04 +07:00
Joshua Horton
497ec8657f
Merge pull request #8051 from keymanapp/change/common/models/lmlayer-modularization
change(common/models): predictive-text worker interface package conversion to ES modules 🧩
2023-02-02 14:21:07 +07:00
Joshua Horton
41e5119c0b
chore(common/models): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-02 14:14:10 +07:00
Joshua A. Horton
73e5333145 change(common/models): lm-worker declaration bundling 2023-01-31 12:33:24 +07:00
Joshua A. Horton
1b0d167d45 feat(common/models): differentiated worker constructors 2023-01-30 12:20:26 +07:00
Joshua A. Horton
0536182fb0 feat(common/models): lm-worker minification, reduced sourcemap option 2023-01-27 16:11:15 +07:00
Joshua A. Horton
bc3f32f90d chore(common/models): Merge branch 'change/common/models/lm-worker-modularization' into feat/common/models/lm-worker-sourcemapping 2023-01-27 12:28:00 +07:00
Joshua A. Horton
f6e124c722 chore(common/models): Merge branch 'change/common/models/lm-worker-modularization' into change/common/models/lmlayer-modularization 2023-01-27 12:26:14 +07:00
Joshua A. Horton
47afa8e4bb chore(common/models): minor cleanup 2023-01-27 12:22:27 +07:00
Joshua A. Horton
3c5ed3247a fix(web): sourcemap-path-remapper needed a build.sh 2023-01-23 08:22:29 +07:00
Joshua A. Horton
719671f88a fix(common/models): lm-worker bundled output needed a .d.ts 2023-01-20 14:01:13 +07:00
Joshua A. Horton
dbf323659d change(common/models): lm-worker wrapper script now uses srcmap remap tool 2023-01-20 14:01:12 +07:00
Joshua A. Horton
66f6381f87 feat(common/models): functional lm-worker sourcemaps 2023-01-20 14:01:11 +07:00
Joshua A. Horton
a05473ffad change(common/models): baseline es module conversion of lm-layer 2023-01-20 13:48:53 +07:00
Joshua A. Horton
57b7a8ac02 chore(common/models): more lm-worker build.sh cleanup 2023-01-20 13:43:33 +07:00
Joshua A. Horton
3376e65ff7 change(common/models): better model-script-load setup 2023-01-20 13:43:33 +07:00
Joshua A. Horton
6653e21e13 chore(common/models): lm-worker build.sh cleanup 2023-01-20 13:43:32 +07:00
Joshua A. Horton
d59876e8f3 chore(common/models): moves one more unit test set 2023-01-20 13:43:31 +07:00
Joshua A. Horton
7d6f3039af chore(common/models): lm-worker unit tests => common/web/lm-worker, test resources to common/test 2023-01-20 13:43:30 +07:00
Joshua A. Horton
46da5337d8 fix(common/models): completes first pass for worker build 2023-01-20 13:43:29 +07:00
Joshua A. Horton
0f32a9db71 change(common/models): main worker source under src/main 2023-01-20 13:43:29 +07:00
Joshua A. Horton
d10193860c feat(common/models): basic lm-worker esbuild config 2023-01-20 13:43:28 +07:00
Joshua A. Horton
5f9aa60019 fix(common/models): lm-layer module objs build 2023-01-20 13:43:28 +07:00
Joshua A. Horton
2504e30b3f change(common/models): partial lm-worker es-module conversion 2023-01-20 13:43:27 +07:00
Darcy Wong
9baa77c015 fix(web): Add polyfill for Array.findIndex 2022-11-08 14:39:15 +07:00
Darcy Wong
e27b70d5a0 fix(web): Add polyfill for Array.includes() 2022-11-08 09:26:45 +07:00
Joshua A. Horton
43bf49d1cd change(common/models): adds optional 'testMode' param to LMLayer config 2022-10-31 09:34:22 +07:00
Marc Durdin
1cecb87f7f feat(common): builder dependency support 2022-10-12 12:50:26 +11:00
Joshua A. Horton
12c1de791e change(common/models): better handling of prior commit 2022-09-22 09:46:18 +07:00
Joshua A. Horton
5b2ba7aa70 chore(common/models): fixes script warning for unstarted action 2022-09-22 09:40:51 +07:00
Joshua A. Horton
fc105b1dab chore(web): updates karma dev-dependency 2022-09-22 09:13:20 +07:00