Commit graph

145 commits

Author SHA1 Message Date
Joshua A. Horton
d69d67fa03 fix(web): forgot to target es5 when minifying polyfilled worker 2023-08-03 10:00:06 +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
9ae9a5e297 change(common/web): generalizes the entrypoint mapper func 2023-06-16 10:33: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
66002a4128 chore(web): relocates tslib-treeshaker def, consolidates it further 2023-06-15 10:56:44 +07:00
Joshua A. Horton
b4b1c5e2ac chore(web): partial centralization of common/web KMW module bundling config 2023-06-15 10:33:29 +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
4dde7453f5 chore(web): Merge branch 'change/srcmap-cleanup-and-c8-use' into chore/web/centralize-kmw-tsconfigs 2023-06-14 15:15:05 +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
626e1855a3 chore(web): Merge branch 'change/srcmap-cleanup-and-c8-use' into chore/web/centralize-kmw-tsconfigs 2023-06-14 14:59:18 +07:00
Joshua A. Horton
3ce99b9c73 chore(web): cleanup re set_keyman_standard_build_path 2023-06-14 10:00:39 +07:00
Joshua A. Horton
6a30efe60f chore(web): kmw-worker tsconfig -> common/models 2023-06-14 08:16:15 +07:00
Joshua A. Horton
e876229312 chore(common/models): centralizes the worker tsconfig settings 2023-06-13 15:22:39 +07:00
Joshua A. Horton
96224f528a chore(common/models): package.json script use of gosh ./build.sh 2023-06-13 14:31:04 +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
ba48e7c311 chore(web): cleans a double-/ src file ref 2023-06-12 11:26:44 +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
49788c9364 change(web): double-encoded -> single-encoded 2023-06-07 12:39:37 +07:00
Joshua A. Horton
4fb56e150d chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/filesize-fixes 2023-06-07 12:33:49 +07:00
Joshua A. Horton
c95ba9d94d fix(common/models): missing lm-worker dependencies 2023-06-01 14:53:50 +07:00
Joshua A. Horton
c5f527c204 chore(web): cleans up temp time-profiling code for the lm-worker 2023-06-01 08:54:47 +07:00
Joshua A. Horton
5e668e1567 change(web): worker-embedding via JSON.stringify 2023-06-01 08:48:04 +07:00
Joshua A. Horton
fa1d7f723c docs(web): better comments in lm-worker build-bundler 2023-05-31 15:54:12 +07:00
Joshua A. Horton
5e93bb0189 feat(web): writes profile logs to file, outputs within new /web/build/profiling folder 2023-05-31 15:51: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
6d1a0b15ae fix(web): reverts prop name update 2023-05-25 09:10:02 +07:00
Joshua A. Horton
bc51f813e2 fix(common/models): predictive-text sourcemap fix 2023-05-24 15:47:23 +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
89dd8d13ae fix(web): android API 21 compat issues 2023-04-17 10:25:56 +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
173d491d62 feat(web): initial app/webview build product 2023-03-28 12:33:04 +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
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