dependabot[bot]
957d26e28f
chore(deps): bump lodash and @microsoft/api-extractor
...
Bumps [lodash](https://github.com/lodash/lodash ) to 4.18.1 and updates ancestor dependency [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor ). These dependencies need to be updated together.
Updates `lodash` from 4.17.23 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1 )
Updates `@microsoft/api-extractor` from 7.57.6 to 7.58.1
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.58.1/apps/api-extractor )
---
updated-dependencies:
- dependency-name: lodash
dependency-version: 4.18.1
dependency-type: indirect
- dependency-name: "@microsoft/api-extractor"
dependency-version: 7.58.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-04-08 17:07:46 +00:00
Marc Durdin
659e85033a
Merge pull request #15665 from keymanapp/maint/developer/test-callbacks-cleanup
...
maint(developer): make `TestCompilerCallbacks` usage more consistent and simplify
2026-03-06 21:00:39 +07:00
Marc Durdin
0ce96dbdcc
maint(common): rollback from Typescript 5.8.2 to 5.4.x
...
Pull request #15647 bumped our version of tsc from 5.4.5 to 5.8.2,
because api-extractor wanted it. We have not tested yet with 5.8.2 and
there are some incompatibility warnings and a new error that was patched
in #15689 .
We will upgrade to a later version of Typescript in due course, but now
is not the time.
With this patch, we rollback our Typescript version to 5.4.x.
Sample warning from build:
```
[web/src/engine/osk/gesture-processor/src/tools] ## build:test-module starting...
=============
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.5.0
YOUR TYPESCRIPT VERSION: 5.8.2
Please only submit bug reports when using the officially supported version.
=============
```
Report of typescript version usage with this patch:
```
$ npm ls typescript
root@ D:\Projects\keyman\app
├─┬ @keymanapp/auto-history-action@ -> .\resources\build\version
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/common-test-resources@ -> .\common\test\resources
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/common-types@ -> .\common\web\types
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/developer-server@ -> .\developer\src\server
│ ├─┬ tsc-watch@4.6.2
│ │ └── typescript@5.4.5 deduped
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/developer-test-helpers@ -> .\developer\src\common\web\test-helpers
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/developer-utils@ -> .\developer\src\common\web\utils
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/gesture-recognizer@ -> .\web\src\engine\osk\gesture-processor
│ ├─┬ @keymanapp/web-utils@ -> .\web\src\engine\common\web-utils
│ │ └── typescript@5.4.5 deduped
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/keyman-version@ -> .\common\web\keyman-version
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-analyze@ -> .\developer\src\kmc-analyze
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-copy@ -> .\developer\src\kmc-copy
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-generate@ -> .\developer\src\kmc-generate
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-keyboard-info@ -> .\developer\src\kmc-keyboard-info
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-kmn@ -> .\developer\src\kmc-kmn
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-ldml@ -> .\developer\src\kmc-ldml
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-model-info@ -> .\developer\src\kmc-model-info
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-model@ -> .\developer\src\kmc-model
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc-package@ -> .\developer\src\kmc-package
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/kmc@ -> .\developer\src\kmc
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/langtags@ -> .\common\web\langtags
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/lexical-model-layer@ -> .\web\src\engine\predictive-text\worker-main
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/lm-message-types@ -> .\web\src\engine\predictive-text\types
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/lm-worker@ -> .\web\src\engine\predictive-text\worker-thread
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/models-templates@ -> .\web\src\engine\predictive-text\templates
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/models-wordbreakers@ -> .\web\src\engine\predictive-text\wordbreakers
│ └── typescript@5.4.5 deduped
├─┬ @keymanapp/sourcemap-path-remapper@ -> .\common\tools\sourcemap-path-remapper
│ └── typescript@5.4.5 deduped
├─┬ @microsoft/api-extractor@7.57.6
│ └── typescript@5.8.2
├─┬ @typescript-eslint/eslint-plugin@7.13.1
│ └─┬ ts-api-utils@1.3.0
│ └── typescript@5.4.5 deduped
├─┬ eslint-config-love@53.0.0
│ └── typescript@5.4.5 deduped
├─┬ keyman@ -> .\web
│ ├─┬ @keymanapp/recorder-core@ -> .\web\src\tools\testing\recorder-core
│ │ └── typescript@5.4.5 deduped
│ └─┬ @keymanapp/web-sentry-manager@ -> .\web\src\engine\sentry-manager
│ └── typescript@5.4.5 deduped
└── typescript@5.4.5
```
Test-bot: skip
2026-03-06 09:57:36 +01:00
Marc Durdin
529a49431e
maint(developer): make TestCompilerCallbacks usage more consistent and simplify
...
Simplify usage of `TestCompilerCallbacks` by making it responsible for
the `beforeEach` and `afterEach` incantations itself. There are a couple
of more complex usages of `TestCompilerCallbacks` which have been
excluded from this change on purpose.
Renamed `testCallbacks` to `callbacks` in the one place where it was
different.
Hoist @types/node and @types/mocha because inconsistent versions of
@types/mocha were causing compiler errors with this change.
Also added a cast to `fs.readFileSync` to `Uint8Array` to eliminate
compiler warnings/errors in test files.
Fixes : #15654
Test-bot: skip
2026-03-03 16:44:06 +01:00
dependabot[bot]
5d2f9bd65e
chore(deps): bump minimatch and @microsoft/api-extractor
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) to 3.1.5 and updates ancestor dependencies [minimatch](https://github.com/isaacs/minimatch ) and [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor ). These dependencies need to be updated together.
Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `minimatch` from 9.0.4 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `minimatch` from 9.0.5 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `minimatch` from 5.1.6 to 5.1.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `@microsoft/api-extractor` from 7.47.3 to 7.57.6
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.57.6/apps/api-extractor )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
- dependency-name: minimatch
dependency-version: 9.0.9
dependency-type: indirect
- dependency-name: minimatch
dependency-version: 9.0.9
dependency-type: indirect
- dependency-name: minimatch
dependency-version: 5.1.9
dependency-type: indirect
- dependency-name: "@microsoft/api-extractor"
dependency-version: 7.57.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-28 02:58:16 +00:00
dependabot[bot]
cec4bfce89
chore(deps): bump js-yaml and @microsoft/api-documenter
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) to 4.1.1 and updates ancestor dependencies [js-yaml](https://github.com/nodeca/js-yaml ) and [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter ). These dependencies need to be updated together.
Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1 )
Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1 )
Updates `@microsoft/api-documenter` from 7.23.31 to 7.28.0
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-documenter_v7.28.0/apps/api-documenter )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 4.1.1
dependency-type: indirect
- dependency-name: js-yaml
dependency-version: 3.14.2
dependency-type: indirect
- dependency-name: "@microsoft/api-documenter"
dependency-version: 7.28.0
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 22:23:18 +00:00
Marc Durdin
df212364a2
maint(resources): add repository record for all published packages
...
While not documented as such, it appears that the repository record is
required with trusted publishing of npm packages.
Test-bot: skip
Build-bot: skip
2025-10-29 14:35:31 +01:00
Marc Durdin
58b56f7ed1
Revert "chore(deps-dev): bump playwright from 1.46.1 to 1.56.1"
2025-10-23 11:02:53 +02:00
dependabot[bot]
006f0a57cf
chore(deps-dev): bump playwright from 1.46.1 to 1.56.1
...
Bumps [playwright](https://github.com/microsoft/playwright ) from 1.46.1 to 1.56.1.
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.46.1...v1.56.1 )
---
updated-dependencies:
- dependency-name: playwright
dependency-version: 1.56.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 18:55:50 +00:00
Eberhard Beilharz
229bdf8270
maint(resources): nest unit tests under parent block
...
This adds a modified `mocha-teamcity-reporter` that allows to nest the
unit tests under the parent block.
Fixes : #14839
Test-bot: skip
2025-10-06 16:09:47 +02:00
Joshua Horton
8991df3865
maint: update fast-json-parser
...
The `fast-json-parser` package is needed by `ajv-cli`, which is used during common/web/types/build.sh configure.
Test-bot: skip
2025-05-13 14:46:32 +07:00
Joshua Horton
155c1a2b12
maint: update mocha
...
Some of the npm audit warnings left after #13897 require an updated `mocha` version to remedy. As we only really use `mocha` to do unit-testing, it should be safe to update if all of our existing tests pass with the new version.
Test-bot: skip
2025-05-13 14:02:02 +07:00
dependabot[bot]
4abc1b3d2b
chore(deps-dev): bump esbuild from 0.18.20 to 0.25.0
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.18.20 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.18.20...v0.25.0 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 11:17:53 +00:00
Marc Durdin
50097802ba
chore: include sourcemap-path-remapper tool in package.json
2025-01-27 10:22:28 +07:00
Marc Durdin
75d77704a2
refactor: move langtags to @keymanapp/langtags npm module
...
We want to use langtags in several modules, so it makes sense to make it
into its own NPM module.
Relates-to: #13045
2025-01-27 09:59:38 +07:00
Marc Durdin
7d17913e18
feat(developer): seed kmc-copy
2024-10-22 10:28:00 +07:00
Marc Durdin
0d9688451d
Merge branch 'master' into feat/developer/kmc-generate
2024-10-11 03:26:54 +02:00
Marc Durdin
640d3e5096
test(developer): add markdown link check test for product documentation
...
Adds check-markdown package that parses .md files, looks for links and
images, and verifies that they are valid links (for internal links).
2024-09-25 15:51:32 -07:00
Marc Durdin
8424cb9349
Merge branch 'master' into feat/developer/kmc-generate
2024-09-12 08:18:37 +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
Marc Durdin
939134a9a3
feat(developer): kmc-generate module
...
Plenty of todo items left but this is a mostly-functional module for the
kmc generate command for automatically creating keyboard and model
projects.
2024-09-03 06:15:33 +07: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
7dabd30cae
refactor(web): move gesture-recognizer → gesture-processor
...
Moves `common/web/gesture-recognizer/` →
`web/src/engine/osk/gesture-processor`.
Fixes : #12151
2024-08-26 15:29:21 +07:00
Eberhard Beilharz
b9aa9ccd8c
refactor(web): move predictive-text → worker-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
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
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
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 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
Joshua A. Horton
b682f896ec
change(common): match original version from package-lock
2024-06-10 11:43:23 +07:00
Joshua A. Horton
99ef7a8dec
chore(common): restore source-map-support package
...
It's in use in a number of mocha "register" configs but was only ever installed b/c ts-node had it as a dependency.
2024-06-10 11:40:59 +07:00
Joshua A. Horton
1e757c0821
chore(common): fully removes ts-node
...
Fixes : #11736
2024-06-10 11:06:13 +07:00
Joshua A. Horton
cb0a60165c
change(common): updates esbuild to 0.18.9
2024-06-05 12:09:53 +07:00
Joshua A. Horton
01fa0675ef
chore(web): centralizes on a single @types/node, as it caused a TS typing conflict
2024-05-15 16:00:35 +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
8d7721545a
chore(web): updates sinon to a version with fully-ESM artifact
2024-05-09 08:49:51 +07:00
Joshua A. Horton
dd87a65f49
chore(web): adds test-runner esbuild plugin package
2024-05-07 14:50:53 +07:00
Joshua A. Horton
48db58c82e
chore(web): adds '@web/test-runner' and related packages
2024-05-07 14:42:39 +07:00
Joshua A. Horton
ec35fbb061
chore(web): @types/node update - version should match node version
...
Also updates @types/chai, given that chai was updated. No ^5.x yet, though.
2024-05-07 14:38:40 +07:00
Joshua A. Horton
5574b9418f
chore(web): chai dependency updates
...
Updates 'chai' assertion library to latest; old version used CommonJS imports
2024-05-07 14:35:08 +07:00
Marc Durdin
db514e0dc5
fix(common): update emoji stripping for Unicode 15.1
...
Fixes #11220 .
Replaces the sed script for matching emoji in ios prepRelease with a
tiny node project that uses emoji-regex package, to reduce future
maintenance.
Also strips lingering emoji and :xxx: emoji shortcut strings from
HISTORY.md. Note that :xxx: are not stripped programatically at this
time.
2024-04-18 09:05:30 +07:00
Marc Durdin
661069c0c3
feat(developer): add api-extractor and api-documenter and config
...
Relates to #10207 .
Adds @microsoft/api-extractor and @microsoft/api-documenter NPM
packages for validating and generating API documentation from Typescript
modules.
Adds basic configuration for each module that we will be publishing at
this time.
api-extractor's output will be emitted to /developer/docs/api/etc/, for
future release comparisons. A baseline output will be committed
separately.
The build outputs will be in /developer/build/docs and the intermediate
files will be in /developer/build/api.
Note that at this time, we will not enable the checks and validations.
That is a task for alpha rather than beta. The primary intent at this
time is to select a solid, well-supported toolchain for generating the
API documentation for kmc.
2024-02-26 11:37:32 +07:00
Marc Durdin
662ed0e50c
fix(common): publish @keymanapp/developer-utils as npm module
...
Fixes #10111 .
2023-12-01 14:05:51 +07:00
Marc Durdin
225877f57a
feat(common): precompile json schemas to improve performance
...
Fixes #9640 .
This ended up being somewhat more fragile than originally anticipated.
For the `ajv` cli call to get the right versions, we needed to install
ajv as a dev dependency in the top-level package.json as well as at the
common/web/types level.
Ajv does not do all that well with ESM yet, either, so we use esbuild to
transform the compiled validators before building in typescript.
2023-10-05 13:56:53 +07:00
Marc Durdin
7f76de4781
chore(developer): add developer-utils as workspace
2023-09-01 10:11:15 +07:00
Marc Durdin
232c918c31
feat(developer): support isRTL and license fields in .model_info
...
Adds support for calculating isRTL and license fields in .model_info
compiler.
Also:
* establishes @keymanapp/developer-utils shared module
* moves license validation into @keymanapp/developer-utils
* refactors kmc-model-info to a class and general cleanup
2023-08-29 16:37:37 +10:00