Joshua A. Horton
bbf6ea5b20
chore(web): normalizes worker source paths in srcmap
2024-01-17 11:37:54 +07:00
Joshua Horton
b3b11186ca
chore(web): apply suggestion from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-01-08 13:55:25 +07:00
Joshua A. Horton
d1a6cf3d40
chore(web): cleans lm-worker intermediate/, not just lib/
2023-12-22 14:01:12 +07:00
Joshua A. Horton
ba3dbbea14
feat(web): lm-worker now produces ES5 + ES6 targets
2023-12-18 10:56:13 +07:00
Joshua A. Horton
0b8ee4e6db
refactor(web): drops lm-worker primary bundle script
2023-12-15 11:35:56 +07:00
Joshua A. Horton
17605a405e
change(web): lm-worker build dir constants
2023-12-15 11:34:20 +07:00
Joshua A. Horton
7392fdd572
refactor(web): lm-worker polyfiller rework
2023-12-15 11:04:45 +07:00
Joshua A. Horton
9f2816ca99
change(web): lm-worker wrapper script generalization
2023-12-15 09:47:50 +07:00
Joshua A. Horton
2abf2c0142
change(web): lm-worker wrapper generalization prep
2023-12-14 15:46:48 +07:00
Joshua A. Horton
154cac8bd5
chore(web): drops unused index.js artifact from lm-worker
2023-12-14 15:14:53 +07:00
Joshua A. Horton
093daea59b
chore(web): tweaks per review
2023-06-19 12:18:16 +07:00
Joshua A. Horton
a92f915e60
chore(web): Merge branch 'chore/web/cleanup-kmw-headless-module-builds' into chore/web/esbuild-config-cleanup
2023-06-16 12:47:20 +07:00
Joshua A. Horton
569662237e
fix(web): build.sh dependency on the centralized bundling stuff
2023-06-16 11:36:03 +07:00
Joshua A. Horton
194139be03
chore(web): paren spacing cleanup
2023-06-15 15:49:38 +07:00
Joshua A. Horton
6e8432383b
chore(web): applies bulk of review suggestions
2023-06-15 15:48:53 +07:00
Joshua A. Horton
b65df8243b
chore(web): cleanup of lm-worker & related build scripts, removal of lower-level bundles
2023-06-14 15:51:09 +07:00
Joshua A. Horton
22ae456e0a
fix(common/models): prior commit(s) broke npm run tsc
2023-06-14 15:14:40 +07:00
Joshua A. Horton
84553d11f9
fix(common/web): fixed sourcemap path rooting issues, dropped unused worker products
2023-06-12 14:45:48 +07:00
Joshua A. Horton
3b9b0fbb37
feat(web): c8 for web/lm-worker
2023-06-12 10:59:36 +07:00
Joshua A. Horton
fed4618d02
feat(common/models): tslib use, treeshaking in lm-worker
2023-06-08 14:39:55 +07:00
Joshua A. Horton
c95ba9d94d
fix(common/models): missing lm-worker dependencies
2023-06-01 14:53:50 +07:00
Joshua A. Horton
c7be7a1bcb
feat(common/models): profile for lm-worker pre-polyfill
2023-05-31 15:27:43 +07:00
Joshua A. Horton
7efcda73d7
fix(web): defines --ci for lm-worker test use
2023-04-18 10:41:52 +07:00
Joshua A. Horton
371f967768
fix(common/web): lm-worker --debug build fix
2023-03-30 19:03:30 +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
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
dce763600e
chore(common/models): lm-worker import path cleanup
2023-02-03 14:52:12 +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 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
3c5ed3247a
fix(web): sourcemap-path-remapper needed a build.sh
2023-01-23 08:22:29 +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
6653e21e13
chore(common/models): lm-worker build.sh cleanup
2023-01-20 13:43:32 +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
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
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