Marc Durdin
6449dfe2bf
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.
Cherry-pick-of: #15049
Build-bot: skip release:developer
2025-10-30 07:10:45 +01:00
Marc Durdin
bb32cecea7
maint(resources): move NPM package publishing to GitHub Actions
...
Due to recent changes in NPM package publishing security requirements,
we have to move from TeamCity build to a GitHub Action to publish our
NPM packages, so we can take advantage of trusted publishing. This
change also consolidates and centralizes the npm publishing into
resources/build/ci/npm-publish.sh, which removes a lot of boilerplate
from each of the build.sh scripts, and ensures consistency.
Packages will be `npm pack`ed on PR and test builds, and published in
release builds.
Ref: https://docs.npmjs.com/trusted-publishers
Ref: https://github.blog/changelog/2025-09-29-strengthening-npm-security-important-changes-to-authentication-and-token-management/
Fixes : #14963
Test-bot: skip
Build-bot: release:developer
Cherry-pick-of: #15029
2025-10-30 07:03:14 +01:00
Dr Mark C. Sinclair
6ead43b899
Merge pull request #13122 from keymanapp/fix/common/web/types/12945-replace-invalid-StrsItem-identity-checks-with-isEqual
...
fix(common/web): replace invalid StrsItem identity checks with isEqual()
2025-02-04 11:20:53 +00:00
Dr Mark C. Sinclair
6d060df601
fix(common/web): add two test cases for Strs.allocString()
2025-02-03 15:02:05 +00:00
Dr Mark C. Sinclair
0fabe6614a
fix(common/web): add test cases for Strs implicit constructor and allocString for a one-character string
2025-02-03 12:47:58 +00:00
Dr Mark C. Sinclair
bdfa21128e
fix(common/web): initial boiler plate for kmx-plus-tests.ts
2025-02-03 11:57:05 +00:00
Marc Durdin
5fea5b32cd
fix(common): handle undefined input in @keymanapp/langtags lookups
...
Matches prior behaviour when langtags was part of kmc-keyboard-info.
Fixes : #13116
2025-02-03 12:40:10 +07:00
Steven R. Loomis
4f6c34de8c
Merge pull request #13099 from keymanapp/feat/developer/12749-ldml-local-import-workaround
...
chore(developer,core,resources): LDML v46 update and remove workaround for import base
2025-01-31 11:16:12 -06:00
Steven R. Loomis
2c32fb7903
chore(resources, developer,core): CLDR 46 and workaround
...
Fixes : #11307
- import from CLDR 46, mostly unchanged
Fixes : #12749
- workaround LDML DTD bug CLDR-18138 where base= does not imply base=cldr
2025-01-30 15:41:34 -06:00
Marc Durdin
ffdbfab775
chore: add copyright and license to langtags readme
2025-01-30 14:04:38 +07:00
Marc Durdin
c74e841ed7
chore(common): add README.md for langtags package
2025-01-27 11:55:10 +07:00
Marc Durdin
b49334d9cf
chore(developer): use langtags.json for kmc-generate language names
...
Also fills out the remaining functionality in @keymanapp/langtags.
Fixes : #13045
2025-01-27 11:47:25 +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
Dr Mark C. Sinclair
d5c3e43f20
Merge pull request #12882 from keymanapp/fix/common/web/types/1288-handle-invalid-order-and-tertiary-arguments-to-ElementString-fromString
...
fix(common/web): handle invalid order and tertiary arguments to ElementString.fromString()
2025-01-18 15:58:55 +00:00
Dr Mark C. Sinclair
d48ccda140
fix(common/web): add test cases for parseIntOrZero()
2025-01-13 12:05:39 +00:00
Dr Mark C. Sinclair
a279767acc
fix(common/web): add ElementString.parseIntOrZero() method to handle invalid order and tertiary params
2025-01-13 11:37:58 +00:00
Dr Mark C. Sinclair
b9c7835fbf
fix(common/web): add isEqual() method to StrsItem and use it in ElemElement.isEqual()
2025-01-09 14:45:35 +00:00
Dr Mark C. Sinclair
9d555a0639
chore(common/web): introduce initElementString() to remove dependency on fromStrings() in isEqual() tests
2025-01-09 14:12:56 +00:00
Dr Mark C. Sinclair
23b3de14d9
chore(common/web): clarify describe strings
2025-01-09 12:08:15 +00:00
Dr Mark C. Sinclair
86095d4b11
chore(common/web): add test case for string ElemElement
2025-01-09 12:03:51 +00:00
Dr Mark C. Sinclair
704486ae2e
chore(common/web): add two more test cases for ElementString.isEqual()
2025-01-09 11:27:52 +00:00
Dr Mark C. Sinclair
c615f82db2
chore(common/web): add test cases for ElemElement.isEqual() and ElementStrings.isEqual()
2025-01-06 16:41:36 +00:00
Dr Mark C. Sinclair
80d2f49824
chore(common/web): add test case for quad string in ElementString.fromStrings()
2025-01-06 15:50:07 +00:00
Dr Mark C. Sinclair
e169ece9a3
chore(common/web): add two test cases for uset parse failures
2024-12-19 17:32:42 +00:00
Dr Mark C. Sinclair
58e5f0fe94
chore(common/web): stub the ElementParser.segment for uset
2024-12-19 17:21:05 +00:00
Dr Mark C. Sinclair
9569ef208c
chore(common/web): corrected nesting error, and moved more code into fixtures
2024-12-19 17:11:15 +00:00
Dr Mark C. Sinclair
7694623fc9
chore(common/web): add first uset test case with supporting stubs and TestUnicodeSetParser class
2024-12-19 16:19:21 +00:00
Dr Mark C. Sinclair
1ae53a042b
chore(common/web): add test cases for non-number in order and tertiary strings
2024-12-19 14:43:15 +00:00
Dr Mark C. Sinclair
0585b3f639
chore(common/web): add four test cases for order etc strings that are too short
2024-12-19 12:13:46 +00:00
Dr Mark C. Sinclair
e6abbf027f
chore(common/web): stub out strs.allocString()
2024-12-19 12:00:33 +00:00
Dr Mark C. Sinclair
aef4ef41f0
chore(common/web): add four test cases for tertiary_base and prebase arguments to fromStrings()
2024-12-16 18:04:43 +00:00
Dr Mark C. Sinclair
5e4d699a72
chore(common/web): add four test cases for order andf tertiary arguments to fromStrings()
2024-12-16 17:51:29 +00:00
Dr Mark C. Sinclair
09168fc083
chore(common/web): remove unneeded local variables
2024-12-16 17:38:32 +00:00
Dr Mark C. Sinclair
76316f1661
chore(common/web): add test case for fromStrings() from string
2024-12-16 17:07:52 +00:00
Dr Mark C. Sinclair
703fd2cbe6
chore(common/web): add use case for string array
2024-12-16 15:41:00 +00:00
Dr Mark C. Sinclair
77076eb9ed
chore(common/web): add first test case for ElementString()
2024-12-16 12:43:53 +00:00
Dr Mark C. Sinclair
ee23da5647
chore(common/web): add five test cases for ElemElement.isEqual()
2024-12-16 12:17:18 +00:00
Dr Mark C. Sinclair
3ad9fd26f7
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-element-string
2024-12-16 11:45:55 +00:00
Dr Mark C. Sinclair
c9da863c42
chore(common/web): Merge branch 'master' into chore/common/web/types/remove-c8rc-json-and-merge-exclusions-into-package-json
2024-12-16 11:39:50 +00:00
Dr Mark C. Sinclair
255e1f5c88
chore(common/web): replace three commented-out test cases with it.skip()
2024-12-10 10:43:57 +00:00
Dr Mark C. Sinclair
2a7ff5c60f
Update common/web/types/tests/kvk/kvk-file-writer.tests.ts
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-12-10 10:33:02 +00:00
Dr Mark C. Sinclair
3289b31b72
chore(common/web): updated comment in build.sh to note excludes are in package.json
2024-12-10 10:14:47 +00:00
Dr Mark C. Sinclair
13b463aedf
chore(common/web): add initElemElement and first true test case for isEqual()
2024-12-09 16:16:31 +00:00
Dr Mark C. Sinclair
69cd317cd8
chore(common/web): remove .c8rc.json from types and merge exclusions into package.json
2024-12-09 14:47:18 +00:00
Dr Mark C. Sinclair
fea40e2689
chore(common/web): initial test boilerplate
2024-12-09 11:47:54 +00:00
Dr Mark C. Sinclair
5f66cf4e6a
chore(common/web): add local variables to test cases for clarity
2024-12-09 10:40:15 +00:00
Dr Mark C. Sinclair
567c3a7e6d
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-kvk-file-writer
2024-12-09 10:19:49 +00:00
Dr Mark C. Sinclair
aad790a42b
chore(common/web): add four additional test cases wrt VisualKeyboard version and null values
2024-12-05 11:57:23 +00:00
Dr Mark C. Sinclair
27b7fc33a2
chore(common/web): add test case for empty string for setString()
2024-12-05 11:02:19 +00:00
Dr Mark C. Sinclair
4b46643a35
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-kvk-file-writer
2024-12-05 10:52:07 +00:00