Commit graph

1390 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
b85087f392 chore(web): Merge branch 'master' into chore/web/update-feature-esmodule-for-configure-fix 2023-03-23 15:15:07 +07:00
Marc Durdin
42b8d897d7 chore(common): die early when --ci and --debug passed to test.sh
Fixes #8383.
2023-03-17 14:38:55 +07: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
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
8251ec861a chore: cleanup additional --debug references 2023-03-08 05:46:32 +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
8f5997a3e6 chore: rename os_id to BUILDER_OS 2023-02-20 08:44:03 +07:00
Joshua A. Horton
45d2e4f5e5 fix(common/web): fixes unit tests for prior commit 2023-02-17 08:03:24 +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
889d347c02 chore(common): Merge branch 'master' into chore/common/js-ts-dependency-updates 2023-02-16 13:51:31 +07:00
Joshua A. Horton
a3752dd9ff chore(common): full-repo ts-node update 2023-02-09 12:39:15 +07:00
Marc Durdin
4598f13ba8 chore(common): automatically apply _builder_check_color 2023-02-09 12:12:18 +07:00
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Marc Durdin
983ae43357 chore(common): add builder_term function 2023-02-08 12:49:54 +07:00
Joshua A. Horton
25050a5354 chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-06 09:13:26 +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
d038915524 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/element-wrapper-modularization 2023-02-03 08:46:40 +07:00
Joshua A. Horton
9eded6c78d chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/input-processor-modularization 2023-02-02 15:42:07 +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
6a4b1cf389
chore(common/models): oh yeah, apply this too
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-02 14:20:55 +07:00
Joshua Horton
73c04357e3
chore(common/models): apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-02 14:20:14 +07:00
Joshua A. Horton
c99eb79968 chore(common/web): Merge branch 'feat/common/models/lm-worker-sourcemapping' into change/common/web/input-processor-modularization 2023-01-30 12:31:56 +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
fc84af4842 change(web): element-wrapper modularization + unit test conversion 2023-01-20 15:09:56 +07:00
Joshua A. Horton
e1743a34c1 fix(common/models): predictive-text describe_outputs 2023-01-20 14:51:42 +07:00
Joshua A. Horton
0e979a8fdf change(web): input-processor modularization - first pass 2023-01-20 14:50:56 +07:00
Joshua A. Horton
e8c18a0221 fix(common/models): disables srcmaps for now 2023-01-20 14:12:46 +07:00
Joshua A. Horton
31e711e393 chore(common/models): removes deprecated unit test, fixes one import 2023-01-20 14:05:42 +07:00
Joshua A. Horton
66f6381f87 feat(common/models): functional lm-worker sourcemaps 2023-01-20 14:01:11 +07:00
Joshua A. Horton
5bc977c064 change(common/models): baseline es module conversion of lm-layer 2023-01-20 14:01:07 +07:00
Joshua A. Horton
f70205fc9d fix(common/models): restores post-rebase build (but test errors remain) 2023-01-20 13:56:41 +07:00
Joshua A. Horton
39c0c0cf2e chore(common/models): lm-layer test resource refs updated; removed duplicate resources 2023-01-20 13:48:58 +07:00
Joshua A. Horton
00d0ef36a2 fix(common/models): lm-layer unit tests now operational again. Not elegant, but it works 2023-01-20 13:48:58 +07:00
Joshua A. Horton
e59a19724e fix(common/models): headless lm-layer unit tests 2023-01-20 13:48:57 +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
8f945f662a chore(common/models): minor patchup 2023-01-20 13:43:32 +07:00
Joshua A. Horton
d9aebab050 fix(common/models): lm-layer unit test patchup 2023-01-20 13:43:31 +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
d4d5820b97 chore(common/models): right, link them to top-level pred text test script 2023-01-20 13:43:30 +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
e54cbff712 docs(common/models): minor pred-text build.sh comment tweak 2023-01-20 13:37:45 +07:00
Joshua A. Horton
d01dbd93ae chore(common/models): minor dependency reorder 2023-01-20 13:37:44 +07:00
Joshua A. Horton
87f6f57848 feat(common/models): adds models/templates build.sh 2023-01-20 13:37:43 +07:00