Commit graph

2072 commits

Author SHA1 Message Date
Marc Durdin
d7f73f3078 chore: workaround npm/cli#3466 when bundling internal deps
Works around npm/cli#3466 when bundling internal dependencies using the
bundleDependencies package.json property.

This change works in tandem with the npm pack/publish process -- when we
run `developer/src/kmc/build.sh publish` (or `pack`), we end up with
`npm version` stomping on all our package.json files, so the repo is
dirty after this. We need a copy of the top-level package.json before
this stomping happens, in order to get a simple map of the location of
each of our internal dependencies, from the `dependencies` property (it
would be possible to figure this out with a lot more parsing of
our package.json files, but this is simpler).

This means, in future, we should avoid publishing our internal
dependencies such as those under common/ to npm, as they serve no
practical purpose there.
2023-09-01 20:30:43 +08:00
Marc Durdin
79641fab79
Merge pull request #9489 from keymanapp/fix/common/builder-parse-bug
fix(common): builder_parse broke on option parameters
2023-08-31 11:08:22 +10:00
Steven R. Loomis
c7b6787e67 feat(resources): add pcm keyboard 🙀
- simplify, drop normalization entries
- update test
2023-08-24 14:40:37 -05:00
Steven R. Loomis
4c9c7e49cd feat(resources): add pcm keyboard 🙀
- keyman side of https://github.com/unicode-org/cldr/pull/3123
- validating that tests pass

#7042
2023-08-24 14:11:50 -05:00
Marc Durdin
7fcf9a4d5e fix(common): builder_parse broke on option parameters
If you had an option with a parameter, e.g. "--outfile c,b", then the
"c,b" was being treated as a parameter for expansion, which caused it
to expand to e.g. "configure,build". Oops.
2023-08-18 14:35:28 +07:00
Steven R. Loomis
6e7be27a51 chore(resources): ldml update 🙀
- roughly 43 alpha0 plus a correction to French.
- for #7042  also neded for #8717
2023-08-17 14:15:43 -05:00
Marc Durdin
efe3c707d8
chore: Apply suggestions from code review 2023-08-09 18:28:41 +10:00
Marc Durdin
d4c7486662 chore: stats script parameters 2023-08-08 13:07:16 +07:00
Eberhard Beilharz
1289a54691
chore(linux): Properly treat test builds with packaging GHA
Previously GHA builds always used the "local" environment. This
change now detects test builds as well as release builds and properly
sets the environment.
2023-08-02 12:12:26 +02:00
Eberhard Beilharz
b8d0777800
chore(linux): Remove package build on Jenkins for Keyman 17 2023-08-01 15:03:47 +02:00
Steven R. Loomis
2f381279af chore(developer): make unknown vkey a hint, not error 🙀
Note that feat(core): ldml vkey support 🙀 #7135 is future,
in the future this may be an Error again.

- also, add an internal error to the visual-keyboard-compiler on missing keys
- also, update fr-t-k0-azerty to fix a missing key (simultaneous fix has been made in CLDR)
- also, reinstate CLDR's fr-t-k0-azerty - now all 'stock' keyboards build in keyman!
- keep the 'internal' azerty as k_020 - it has some additional transform goodies

Fixes: #9236
2023-07-25 17:52:19 -05:00
Eberhard Beilharz
b328d82145
Merge pull request #9221 from keymanapp/chore/linux/tests
chore(linux): Trigger Linux integration tests
2023-07-11 10:50:30 +02:00
Eberhard Beilharz
847556b176
Merge pull request #9193 from keymanapp/chore/update-data
chore: Update standards data
2023-07-11 08:59:25 +02:00
Eberhard Beilharz
4f686e3fb4
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-11 08:58:44 +02:00
Marc Durdin
2d8fb8cda9 chore: authenticate github request when triggering test builds 2023-07-10 09:10:04 +07:00
Eberhard Beilharz
94c0681078
chore(linux): Trigger Linux integration tests 2023-07-07 18:46:16 +02:00
Eberhard Beilharz
12378de02c
chore: Consolidated readme
This change adds a consolidated readme for the standards-data that
lists the sources (with commands how to update) and the current
versions.
2023-07-07 16:46:37 +02:00
Eberhard Beilharz
6f6a2e9269
chore: Update standards data 2023-07-05 18:16:58 +02:00
Joshua Horton
2ac8a4503b
Merge branch 'master' into feature-esmodule-web-engine 2023-06-26 09:09:43 +07:00
dependabot[bot]
7d08b08fb2
chore(deps): bump semver from 7.3.8 to 7.5.2
Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-24 12:37:06 +00:00
Marc Durdin
27ee66b1e8 chore: enable common ci for web 2023-06-20 15:32:26 +07:00
Eberhard Beilharz
e0ec56aa12
fix(linux): Fix creation of markdown help files for Linux
Fixes [help.keyman.com #725](https://github.com/keymanapp/help.keyman.com/issues/725).
2023-06-13 08:41:13 +02:00
Joshua A. Horton
718ca50b23 chore(web): Merge branch 'master' into chore/web/feature-esmodule-a17s14-mid-update 2023-06-06 12:37:15 +07:00
Marc Durdin
044a14f1d9 chore(core): look for emcc.py, not emcc
Relates to #8913.
2023-06-06 07:07:07 +07:00
Marc Durdin
4b0f4e9c51
chore: Update resources/build/build-utils-ci.inc.sh 2023-05-31 19:12:20 +10:00
Marc Durdin
bb675730a2 fix(common): tweak pack/publish support for npm 9.5.1 and node 18.16.0
The npm version command started failing when we updated to node 18.16.0,
and it looks like it is related to the version numbers. This makes the
pack file mangling idempotent and applies it to all package.json files
in the repository.
2023-05-31 15:59:56 +07:00
Eberhard Beilharz
c61535d56a
fix(android): Fix build-utils.sh 2023-05-25 12:44:03 +02:00
Joshua A. Horton
ca894d0991 chore(web): Merge branch 'master' into chore/web/merge-master-esmodule-a17s13-mid 2023-05-22 13:49:45 +07:00
Marc Durdin
f8535c469e
chore: Update resources/builder.inc.sh 2023-05-22 11:32:45 +10:00
Marc Durdin
be2c0ccf45 fix(common): cleanup logging in builder 2023-05-19 16:36:05 +07:00
Joshua A. Horton
d9425bb1ff chore: Merge branch 'master' into feature-esmodule-as17s12-end-update 2023-05-12 11:53:12 +07:00
Marc Durdin
97837d2021 feat(common): add builder_run_action shorthand function 2023-05-10 12:50:39 +07:00
Marc Durdin
292886479f
Merge pull request #8698 from keymanapp/chore/common/8693-set-eu-all-build-scripts
chore(common): `set -eu` in build-utils.sh
2023-05-05 13:18:52 +10:00
Joshua A. Horton
e42fa70aa8 chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/update-feature-esmodule-a17s12-start 2023-05-02 12:59:35 +07:00
Marc Durdin
4eca9c3ecf
Merge pull request #8692 from keymanapp/chore/common/8485-common-and-resources-tests
chore(common): run common and resources tests
2023-05-02 15:17:38 +10:00
Marc Durdin
a1326ad47b chore(common): set -eu in build-utils.sh
Enforces -e (abort script on error) and -u (error on unset variable use)
on all scripts that source build-utils.sh. This may result in some
downstream build failures which we'll need to address before merge to
master.
2023-05-02 12:14:05 +07:00
Marc Durdin
8499956754
Update resources/build/test/test.sh 2023-04-29 12:58:39 +10:00
Marc Durdin
8da501c359
Update resources/build.sh 2023-04-29 12:58:32 +10:00
Marc Durdin
e22cb1b577
Update resources/build.sh 2023-04-29 12:58:26 +10:00
Marc Durdin
5a6caf8508 chore: move set -eu change to #8693 2023-04-28 14:48:30 +07:00
Marc Durdin
9f74e735de chore(common): fixup build scripts 2023-04-28 14:30:52 +07:00
Marc Durdin
74f9276695 chore(common): run common and resources tests
This sets us up to run all common/ and resources/ tests from a single
script, common/build.sh. This test will be run on each platform for all
changes made in common/ or resources/.

Also renamed files and paths for consistency in resources/ and updated
tests accordingly.
2023-04-28 14:07:34 +07:00
Steven R. Loomis
41cf277c1c feat(core): fix core side build 🙀
- fix updated standard ldml file
- hotfix for incorrectly named ldml test file
- don't test transforms in k_003 for now

for #7377
2023-04-27 12:37:56 -05:00
Steven R. Loomis
4a55a5aba4 fix(resources): workaround schema issue 🙀
- <string> element was getting aliased to primitive type 'string'
- rename to stringVariable in the schema, keep properties the same

for #7377
2023-04-27 12:21:03 -05:00
Steven R. Loomis
d053183c2a chore(resources): ldml update 🙀
- from latest cldr:keyboard-preview b3da9e80354a83b5ff29690e9f0ce4a0f5d3b7d2

for #7377
2023-04-27 12:21:03 -05:00
Marc Durdin
a90b045016 fix(common): builder parse multi-param order
If a build script specified, e.g. :kmc-keyboard, :kmc-package, :kmc as
three targets, in that order, then passing :kmc as a parameter would
fail, because :kmc-keyboard, :kmc-package would be emitted to the match
result before finding :kmc.
2023-04-25 14:50:24 +07:00
Steven R. Loomis
4247cad312
Merge branch 'master' into feat/core-8435-repertoire-test-epic-ldml 2023-04-24 09:19:30 -05:00
Marc Durdin
cb0c39f1aa fix(common): builder - pass deps flags to child scripts 2023-04-24 09:52:22 +07:00
Steven R. Loomis
ee0c660c5a
Merge branch 'master' into feat/core-8435-repertoire-test-epic-ldml 2023-04-14 08:57:18 -05:00
Marc Durdin
57087e4cca
Merge pull request #8587 from keymanapp/fix/common/7310-npm-publish-needs-to-hardcode-dep-versions
fix(common): consolidate npm publishing
2023-04-13 18:08:30 +10:00