spiegel-keyman/common/web
Marc Durdin e56472d9b2 fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info
This updates the calculation of the lastModifiedDate property of the
.keyboard_info and .model_info file. It now looks for the most recent
commit to HISTORY.md, and then falls back to the project folder for
.keyboard_info and .model_info.

getLastGitCommitDate now also returns UTC date (it was giving TZ=0
which is affected by daylight saving), and works for a file rather than
just for a folder, and a corresponding unit test has been added.

The date strings returned will now always include '.000' msec suffix. I
have manually verified that the import into the api.keyman.com database
copes with this, and that this change still conforms to the expected
schema for .keyboard_info and .model_info files.

Last, but important, it turned out that the unit tests for kmc were not
running. This has been resolved in kmc/build.sh.

Fixes: #11793
Cherry-pick-of: #11805
2024-06-18 07:38:04 +10:00
..
es-bundling Merge pull request #10257 from keymanapp/feat/web/es6-target-artifact 2024-01-08 15:53:43 +07:00
eslint chore(developer): add eslint devDependency for kmc 2023-04-25 13:44:56 +07:00
gesture-recognizer Merge pull request #11321 from keymanapp/fix/web/gesture-model-failure-handling 2024-05-01 07:52:15 +07:00
input-processor fix(web): Don't apply suggestion unless fully configured 2024-05-31 11:16:59 +02:00
keyboard-processor fix(web): more robustness in case of deadkeys 2024-04-17 10:33:16 +07:00
keyman-version feat(web): alternate artifact - es6-bundled Web 2023-12-18 10:32:35 +07:00
lm-message-types chore(common): cleanup final Typescript non-ESM metadata 2023-10-04 12:55:51 +07:00
lm-worker change(android): removes unneeded conditionals 2024-06-07 14:25:30 +07:00
recorder chore(web): sets up app/browser test suite, ensures Web TS test sets can be isolated 2024-01-22 13:12:40 +07:00
sentry-manager fix(web): null guard missing debug info when reporting to Sentry 2024-05-30 13:55:20 +07:00
tslib chore(web): relocates tslib-treeshaker def, consolidates it further 2023-06-15 10:56:44 +07:00
types fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 2024-06-18 07:38:04 +10:00
utils fix(web): fixes kbd-help documentation for help.keyman.com 2024-05-30 13:28:54 +07:00
.gitignore chore(web): move lm-worker into its own folder 2022-04-14 15:33:23 +10:00
build.sh chore(common): add common/web/build.sh, small cleanup 2023-03-14 13:05:27 +07:00
tsconfig.kmw-main-base.json chore(web): kmw-main tsconfig -> /web, redirect in /common/web 2023-06-14 08:22:05 +07:00