Commit graph

696 commits

Author SHA1 Message Date
Joshua A. Horton
7bda1e5d93 feat(web): determine suggestion to use for auto-correct 2024-06-27 09:51:30 +07:00
Joshua A. Horton
3423c63bc0 change(web): avoid use of Array.from with iterators (in TrieModel.predict) 2024-06-26 11:48:20 +07:00
Joshua A. Horton
fe31917bb5 change(common/models/templates): predict methods now utilize traversals 2024-06-21 15:15:15 +07:00
Joshua A. Horton
aef1dacc59 fix(common/models): traverse by key, not true wordform 2024-06-21 15:12:37 +07:00
Joshua A. Horton
e0892deccf fix(common/models/templates): unit test patchup post maxP -> p 2024-06-21 15:12:37 +07:00
Joshua A. Horton
6de595394b docs(common/models/templates): a bit more for traversal child method 2024-06-21 15:12:36 +07:00
Joshua A. Horton
64efabbc49 change(common/models/templates): traversal on Trie 2024-06-21 15:12:36 +07:00
Joshua A. Horton
b58945e255 feat(common/models/templates): unit test for new feature 2024-06-21 15:12:35 +07:00
Joshua A. Horton
15f49f2551 feat(common/models): direct, non-iterative traversal to specific children 2024-06-21 15:12:34 +07:00
Joshua A. Horton
27bc02137c fix(common/models/templates): unit test patchup after maxP -> p 2024-06-21 15:04:17 +07:00
Joshua A. Horton
0c47fcdbe6 change(web): maxP -> p, to ensure common field name for node and entry 2024-06-21 15:04:17 +07:00
Joshua A. Horton
17fefaa86f feat(common/models/templates): unit test enhancements for new feature 2024-06-21 15:04:16 +07:00
Joshua A. Horton
8e058a5078 fix(common/models): basic unit test patchup 2024-06-21 15:04:16 +07:00
Joshua A. Horton
abb326490f feat(common/models): lexicon traversals - probability access 2024-06-21 15:04:15 +07:00
Joshua A. Horton
ef7d87ace1 refactor(common/models): moves TS priority-queue implementation to web-utils 2024-06-21 15:02:52 +07:00
Joshua Horton
020bdb4231
Merge pull request #11732 from keymanapp/fix/web/array-from-polyfill
fix(web): add limited Array.from polyfill for lm-worker use
2024-06-14 15:39:30 +07:00
Joshua A. Horton
d07fa7e953 chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
Joshua A. Horton
e527317d3a fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
Joshua A. Horton
d66d474f64 fix(web): add limited Array.from polyfill for lm-worker use
Fixes: #11502
Fixes: KEYMAN-WEB-K4
2024-06-07 11:56:18 +07:00
Joshua A. Horton
2c79db4cb5 chore(web): Merge branch 'master' into chore/web/update-typescript 2024-05-27 09:20:01 +07:00
Marc Durdin
ee0fc0ce14 chore(developer): cleanup npm publish
Use a new flag `--npm-publish` in conjunction with `publish` action,
so that the default will always be to `npm pack` if the new flag is not
specified. This flag is also guarded in the actual npm publish code to
ensure that it can only run in the appropriate CI alpha/beta/stable
environment, and not in local or test.

This then also removes the separate `pack` action.

Also removes legacy boilerplate from a number of build scripts.
2024-05-20 06:34:57 +07:00
Joshua A. Horton
70d06d7cd1 chore(web): updates all KMW-related projects to TS 5.4.5 2024-05-15 16:00:34 +07:00
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Joshua Horton
87acd6a2cf
Merge pull request #10274 from keymanapp/feat/web/webview-es6-target-artifact
feat(web): es6 artifact for app/webview 📜
2024-01-08 15:54:12 +07:00
Joshua Horton
8a7394dd23
Merge pull request #10257 from keymanapp/feat/web/es6-target-artifact
feat(web): alternate artifact - es6-bundled Web 📜
2024-01-08 15:53:43 +07:00
Joshua A. Horton
23d6dda22c feat(web): es6 artifact for app/webview - required extra changes to do well 2023-12-18 15:41:16 +07:00
Joshua A. Horton
99481d64ed feat(web): lm-worker es6-bundling 2023-12-18 10:32:36 +07:00
Joshua A. Horton
6887ca3053 chore(web): drops a worker polyfill, makes another conditional 2023-12-13 09:05:38 +07:00
Joshua A. Horton
06d4a76989 fix(web): second pass - search space cloning for calc reuse 2023-10-26 09:32:48 +07:00
Marc Durdin
d4e4992714 chore(common): cleanup final Typescript non-ESM metadata
Fixes #9262.
2023-10-04 12:55:51 +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
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
0ca8e34424 chore(web): resolves centralization b/t the worker & main kmw tsconfigs 2023-06-14 09:26:27 +07:00
Joshua A. Horton
095bf97626 chore(web): kmw-main tsconfig -> /web, redirect in /common/web 2023-06-14 08:22:05 +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
c14240de74 feat(common/models): c8 for models/templates 2023-06-12 13:10:59 +07:00
Joshua A. Horton
649bc9b3ef feat(common/models): c8 for the wordbreaker package 2023-06-12 12:57:37 +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
b39011be73 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-02 16:03:40 +07:00