Commit graph

17 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
a9f28138a4 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/child-script-pattern 2023-03-14 12:24: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
Joshua A. Horton
2f065e0b89 change(common): fixes a builder error 2023-02-22 13:22:30 +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
Joshua A. Horton
f5acaf6e08 fix(web): fixes kbd-script pathing for recorder when TC-served 2022-11-29 15:13:44 +07:00
Joshua A. Horton
a859170f35 fix(web): recorder resource path handling for user-testing artifact 2022-11-29 13:14:26 +07:00
Joshua A. Horton
c91875bbb1 fix(web): recorder test page's recording ability 2022-11-29 12:39:20 +07:00
Joshua A. Horton
e3b70c03d2 chore(web): recorder page path fixup, build retrigger for recorder resources 2022-11-29 12:19:25 +07:00
Joshua A. Horton
a1a5cca79a fix(web): missing -f option on bulk_rendering clean rm cmd 2022-11-29 09:47:35 +07:00
Joshua A. Horton
41729088f8 chore(web): web index page cleanups 2022-11-29 09:47:32 +07:00
Joshua A. Horton
eb9cd0c9e9 chore(web): script patch-up, new tools/testing/recorder script 2022-11-29 09:47:07 +07:00
Joshua A. Horton
9d82125725 change(web): moves bulk_rendering under tools/testing, adds clean action 2022-11-29 09:46:50 +07:00
Joshua A. Horton
6b53dbb4a0 fix(web): restores unit test operation 2022-11-29 09:46:42 +07:00
Joshua A. Horton
a57506a619 change(web): device-detect and element-wrappers as engine/ components 2022-11-29 09:45:53 +07:00
Joshua A. Horton
593fbd248e change(web): moves web/tools to web/src/tools/testing, restores base builds 2022-11-29 09:45:15 +07:00