Joshua Horton
6717c3cdab
Merge pull request #11948 from keymanapp/feat/web/extend-dummy-model
...
feat(web): extend unit-test oriented dummy model 📚
2024-07-25 13:00:44 +07:00
Joshua A. Horton
dfda3107f7
fix(common/models): use explicit undefined check for transformId copy op
2024-07-11 10:12:49 +07:00
Joshua A. Horton
dc80b1c2df
feat(web): extend unit-test oriented dummy model
2024-07-11 09:44:13 +07:00
Joshua A. Horton
946ec38ad4
chore(web): incorporate suggestions, address concerns from PR review
2024-07-08 10:43:40 +07:00
Joshua A. Horton
067d033d0d
chore(web): Merge branch 'change/common/models/templates/trie-results-through-traversal' into fix/web/low-probability-exact-matching
2024-07-08 10:29:35 +07:00
Joshua A. Horton
a7365abd66
docs(common/models): comment format adjustment per PR review
2024-07-08 10:26:40 +07:00
Joshua A. Horton
9e2f0b16a4
chore(common/models/templates): Merge branch 'feat/common/models/direct-lexicon-traversal' into change/common/models/templates/trie-results-through-traversal
2024-07-08 10:25:35 +07:00
Joshua A. Horton
dc7c1f1923
chore(common/models): makes minor adjustments per review
2024-07-08 10:15:57 +07:00
Joshua A. Horton
211c04a83e
chore(common/models): Merge branch 'feat/common/models/lexicon-traversal-probs' into feat/common/models/direct-lexicon-traversal
2024-07-08 10:15:08 +07:00
Joshua A. Horton
14b453c2a6
change(common/models): enact changes per PR review
2024-07-08 09:39:54 +07:00
Joshua A. Horton
b473ada3d3
change(common/models): directly return predictions that match keyed prefix for Trie models
2024-06-28 12:51:14 +07:00
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