Commit graph

283 commits

Author SHA1 Message Date
Eberhard Beilharz
fc32f02dc9
Merge pull request #12400 from keymanapp/chore/web/testexplorer
chore(web): allow to run unit tests in vscode test explorer
2024-09-12 14:07:55 +07:00
Eberhard Beilharz
95f36acb68
chore(web): allow to run unit tests in vscode test explorer
#11746 removed the `ts-node` dependency. Unfortunately that broke running
TypeScript test files with Mocha in VSCode Test Explorer because it no
longer knows what to do with .ts files. This change adds the more modern
`tsx` package as developer dependency, which allows to use Test Explorer
again.

See https://stackoverflow.com/a/77609121.
2024-09-11 19:28:33 +02:00
Eberhard Beilharz
b20d7f1eb4
refactor(web): move sentry-manager → web/src/engine/sentry-manager
Move `common/web/sentry-manager` to `web/src/engine/sentry-manager`.

Fixes: #12387
2024-09-11 15:15:01 +02:00
Eberhard Beilharz
a6d2d02e61
refactor(web): move common/web/utils to web/src/engine/common/web-utils/
Fixes:#12025
2024-09-10 18:12:46 +02:00
Eberhard Beilharz
a9b9c4d016
refactor(web): move common/models to web/src/engine/predictive-text
Fixes: #12133
2024-09-10 17:45:22 +02:00
Eberhard Beilharz
91bbc250a8
refactor(web): move model/templates to web/src/engine/predictive/text
Part-of: #12133
2024-09-10 17:10:12 +02:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
e788bf5077
fix(web): enable tests to run on Ubuntu 24.04 Noble
Previously running the tests failed because it couldn't find ICU 70 when
running webkit. Ubuntu 24.04 Noble comes with ICU 74. Updating
playwright to 1.46 fixes this.
2024-08-26 16:22:15 +07:00
Eberhard Beilharz
b1fb8122c2
refactor(web): move gesture-processor tests under web/src/test
`gesture-processor/src/test/auto/browser/web-test-runner.config.mjs`
run the tests on iOS and Android. However, if we enable these browsers
in `web/src/test/auto/dom/web-test-runner.config.mjs` we get failing
tests in osk, therefore these browsers are commented for now.
2024-08-26 15:29:22 +07:00
Eberhard Beilharz
7dabd30cae
refactor(web): move gesture-recognizergesture-processor
Moves `common/web/gesture-recognizer/` →
`web/src/engine/osk/gesture-processor`.

Fixes: #12151
2024-08-26 15:29:21 +07:00
Eberhard Beilharz
3c14a6ec0a
Merge pull request #12150 from keymanapp/refactor/web/12148_worker-thread
refactor(web): move `lm-worker` → `worker-thread` 🏗️
2024-08-19 10:10:11 +02:00
Eberhard Beilharz
ac0f4f6a83
refactor(web): run npm install
Addresses code review comments
2024-08-19 10:08:36 +02:00
Marc Durdin
40d5cb92c1
Merge pull request #12118 from keymanapp/dependabot/npm_and_yarn/75lb/deep-merge-1.1.2
chore(deps-dev): bump @75lb/deep-merge from 1.1.1 to 1.1.2
2024-08-19 14:07:49 +10:00
Eberhard Beilharz
ea62ac23e7
refactor(web): move lm-workerworker-thread
Move `common/web/lm-worker/` →
`web/src/engine/predictive-text/worker-thread/`.

Fixes: #12148
2024-08-16 08:35:20 +02:00
Eberhard Beilharz
78857d96c9
refactor(web): move lm-message-typespredictive-text/types
Moves `common/web/lm-message-types/` →
`web/src/engine/predictive-text/types/`

Fixes: #12147
2024-08-16 08:31:21 +02:00
Eberhard Beilharz
b9aa9ccd8c
refactor(web): move predictive-textworker-main
This moves `common/predictive-text/` →
`web/src/engine/predictive-text/worker-main/`.

This also moves `common/test/predictive-text/` →
`web/src/test/manual/predictive-text/`. Note though that this testing
tool is still broken.

Fixes: #12134
2024-08-15 12:26:50 +02:00
Eberhard Beilharz
d640dbe6ec
Merge branch 'master' into refactor/web/12110_keyboard
# Conflicts:
#	package-lock.json
2024-08-15 08:30:59 +02:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processorkeyboard
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.

Fixes: #12110
2024-08-12 19:40:15 +02:00
Marc Durdin
c1d3fea8ea chore(developer): add eventemitter3 copy to Server build 2024-08-12 20:17:51 +08:00
Marc Durdin
a887015583 refactor(developer): add extra deps for Server
The way that Server is built for local distribution does not currently
handle transitive dependencies for @keymanapp dependencies well. So,
this adds four dependencies from @keymanapp/developer-utils to Server so
that they will be available in the packaged deployment.

A future improvement could be to package developer-utils using npm
packaging tools, but these struggled with bundling monorepo dependencies
in the past also.
2024-08-12 11:13:22 +07:00
Marc Durdin
2814ac995c chore(developer): include common-types dep in developer-utils 2024-08-12 06:08:56 +07:00
Marc Durdin
d93f10ae3a refactor(developer): use npm or local source for server addons instead of github references
Brings trayicon source into the repository, as the source repo appears
to be dead. Updates console source to latest version on npm.

Fixes: #12077
2024-08-12 06:08:51 +07:00
Eberhard Beilharz
faacf9de8a
refactor(web): Move common/web/recorderweb/src/tools/testing/recorder-core
Fixes: #12091
2024-08-08 16:34:01 +02:00
Marc Durdin
d55558fb31
Merge pull request #12101 from keymanapp/refactor/common/9665-move-xml2js-and-related-deps-to-developer
refactor(common): move xml2js and related deps to @keymanapp/developer-utils 🐉
2024-08-07 15:16:07 +10:00
Marc Durdin
ed143fb333
Merge branch 'master' into refactor/common/9665-move-ldml-keyboard-source-file-to-developer 2024-08-07 15:15:04 +10:00
Marc Durdin
ec72245575
Merge pull request #11765 from keymanapp/refactor/common/9665-move-keyman-touch-layout-file-to-developer
refactor(common): move .keyman-touch-layout reader/writer to @keymanapp/developer-utils 🐉
2024-08-07 15:14:06 +10:00
dependabot[bot]
88c538160a
chore(deps-dev): bump @75lb/deep-merge from 1.1.1 to 1.1.2
Bumps [@75lb/deep-merge](https://github.com/75lb/deep-merge) from 1.1.1 to 1.1.2.
- [Commits](https://github.com/75lb/deep-merge/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: "@75lb/deep-merge"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 05:13:47 +00:00
Marc Durdin
e9d054ab2c
Merge branch 'master' into refactor/common/9665-move-kvk-file-to-developer 2024-08-07 15:13:41 +10:00
Eberhard Beilharz
d608321566
Merge pull request #12066 from keymanapp/chore/web/12054_input-processor
chore(web): move `common/web/input-processor/` → `web/src/engine/main/` 🏗️
2024-08-06 09:05:59 +02:00
Marc Durdin
edf47d7f43 refactor(common): move xml2js and related deps to @keymanapp/developer-utils
Fixes: #9665
2024-08-06 05:19:30 +07:00
Marc Durdin
d7e4c214ff
Merge pull request #12069 from keymanapp/chore/common/11376-use-nvm-in-ci
chore(common): use nvm in builds to select a node version automatically
2024-08-03 11:52:29 +10:00
Marc Durdin
d3d3ac1eec refactor(common): move LDML keyboard .xml reader/writer and kmx-plus builder to @keymanapp/developer-utils
Relates-to: #9665
2024-08-02 10:23:11 +07:00
Eberhard Beilharz
24159d680b
chore(web): move common/web/input-processor/web/src/engine/main/
Also:
- move `modelSpec.ts` and `PredictionContext.ts` →
  `web/src/engine/interfaces`
- move `correction.ts` and `correctionLayout.ts` to `web/src/engine/osk/`

Relates-to: #12035
Fixes: #12054
2024-08-01 20:13:21 +02:00
Marc Durdin
bd070683f4 refactor(developer): move additional references for TouchLayoutFile 2024-08-01 13:18:32 +07:00
Marc Durdin
53551f5662
Merge branch 'refactor/common/9665-move-kps-file-type-to-developer' into refactor/common/9665-move-kvk-file-to-developer 2024-08-01 10:35:33 +10:00
Marc Durdin
d8986be12f refactor(common): merge master into branch 2024-08-01 07:07:07 +07:00
Marc Durdin
37a168ec1a chore(common): back to node 20.16.0
node 22.5.1 (or its corresponding npm version) breaks optional dependencies in
developer/server, so node-windows-trayicon is never installed. Needs investigation
and resolution before we move to that version, so conservatively moving back to
current LTS.
2024-08-01 06:19:02 +07:00
Marc Durdin
12ee391895 chore(common): use node v22.5.1 2024-08-01 05:10:41 +07:00
Eberhard Beilharz
1389d40965
Merge branch 'master' into change/web/11878_remove-es5 2024-07-31 15:28:38 +02:00
Marc Durdin
db904b5617 fix(developer): cleanup package.json and build.sh errant references
During analysis of root causes for #12027, discovered a few package
relationship issues in package.json and build.sh.

analyzer-messages.ts ///<reference> is a mitigation for now.

Relates-to: #12027
2024-07-26 06:57:32 +07:00
Eberhard Beilharz
afe25eda24
change(web): remove support for es5
Fixes: #11878
2024-07-04 20:49:30 +02:00
Steven R. Loomis
dcead98f3e chore(common): deps: update eslint typescript plugins
- replace eslint-config-standard-with-typescript with eslint-config-love (author's recommendation)
- bump to @typescript-eslint/eslint-plugin@7.13.1 which supports Typescript 5.4.x
2024-06-20 16:50:01 -05:00
Marc Durdin
14eeb00405
Revert "chore(common): update base-package node-engine setting" 2024-06-19 15:14:19 +10:00
Joshua Horton
a800c2f969
Merge pull request #11798 from keymanapp/chore/common/update-package-node-reqt
chore(common): update base-package node-engine setting
2024-06-19 08:11:53 +07:00
dependabot[bot]
aca6e1dfcc
chore(deps): bump ws from 8.16.0 to 8.17.1
Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 22:02:42 +00:00
Marc Durdin
0d70b41cb9
Merge pull request #11756 from keymanapp/dependabot/npm_and_yarn/braces-3.0.3
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
2024-06-19 08:01:47 +10:00
Joshua A. Horton
6b565cad93 change(common): set package to node 22 only 2024-06-17 15:11:57 +07:00
Joshua A. Horton
d57022cdc7 change(common): sets a minimum v20 b/c import attributes 2024-06-17 11:51:57 +07:00
Joshua A. Horton
1e13272d1b chore(common): update base-package node-engine setting
Fixes: #11689
2024-06-17 11:45:37 +07:00
Joshua A. Horton
ace4eb25c4 chore(common): Merge branch 'master' into change/common/update-esbuild 2024-06-13 12:47:55 +07:00