Commit graph

1368 commits

Author SHA1 Message Date
Darcy Wong
6b0d8ddec1
Merge pull request #12393 from keymanapp/chore/common/unicode-16
chore(common): Update to Unicode 16.0
2024-09-12 11:25:07 +07:00
Darcy Wong
e966a8af3c chore(common): Download Unicode 16.0 characters 2024-09-11 09:34:57 +07:00
Darcy Wong
5bfb93e618 chore(common): Update KEYMAN_VERSION_UNICODE to 16.0.0 2024-09-11 09:33:30 +07: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
52486e32c2
Merge pull request #12286 from keymanapp/chore/windows/support-typo
chore(windows): fix typo in environment.inc.sh
2024-08-29 09:47:01 +02:00
Marc Durdin
f3461b3307 chore(windows): fix typo in environment.inc.sh
Co-authored-by: 58423624+rc-swag@users.noreply.github.com
2024-08-26 12:59:57 +07:00
Joshua A. Horton
ad91f6394b chore(web): Merge branch 'master' into feat/web/wordbreaker-property-data-gen 2024-08-26 08:46:09 +07:00
Marc Durdin
9a8b6d1279 chore(windows): remove remaining unused Makefiles
Fixes: #12247
2024-08-23 18:12:06 +02:00
Marc Durdin
47b952f960 chore(common): npm install should be in emscripten folder 2024-08-23 07:10:48 +02:00
Marc Durdin
d461c4872a chore(common): use npm install in emsdk update 2024-08-23 07:04:54 +02:00
Joshua A. Horton
8737709b40 chore(web): Merge branch 'master' into feat/web/wordbreaker-property-data-gen 2024-08-23 08:29:20 +07:00
Marc Durdin
b0bd95d276 chore(common): allow build agents to automatically select emsdk version
The build agents will now automatically install and activate the
Emscripten version found in minimum-versions.inc.sh when configuring
WASM projects. For developer machines, this behaviour can be enabled by
setting the environment variable `KEYMAN_USE_EMSDK` (recommended).

This will be back-ported to 17.0 so that we can ensure that all builds
use a consistent Emscripten version.
2024-08-21 15:02:18 +02:00
Eberhard Beilharz
ab3722ecfa
fix(core): look for emcc instead of emcc.py on Linux and Mac
`emcc.py` is not marked as executable in emcripten's git repo so the
build failed when trying to locate emscripten. However, it turns out
that `emcc` is marked as executable, so we use that instead.

On Windows however, we still need to use `emcc.py` because otherwise
Meson won't detect it as valid compiler.
2024-08-20 15:52:52 +02:00
dependabot[bot]
6fad148466
chore(deps): bump semver from 7.5.4 to 7.6.0
Bumps [semver](https://github.com/npm/node-semver) from 7.5.4 to 7.6.0.
- [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.5.4...v7.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 11:22:58 +00:00
Eberhard Beilharz
196300a418
fix(common): show description even if child projects specifies path
Previously we didn't show the description for the target if the target
definition specified a an alternate folder, e.g. `:app=src/app`. This
change fixes this.
2024-08-09 12:20:36 +02:00
Marc Durdin
86fd36a713
Merge pull request #12117 from keymanapp/chore/developer/build-ci-linux-mac
chore(developer): start building Developer on linux,mac
2024-08-09 18:57:38 +10:00
Joshua A. Horton
e5387f0947 change(web): Unicode data-fetcher build.sh -> download.sh 2024-08-08 13:07:56 +07:00
Marc Durdin
52288e247b chore(developer): add build triggers for Linux, macOS 2024-08-08 05:25:25 +07:00
Marc Durdin
57d4aeef97 feat(common): add top-level build.sh
This top-level builder script will build as many projects as are
possible to build on the current platform. For example, iOS and macOS
projects can only be built on macOS; Windows and parts of Developer can
only be built on Windows.

Relates-to: #6268
2024-08-07 10:46:39 +07:00
Marc Durdin
67cff9c878 chore(common): sort bash arrays before asserts in unit tests 2024-08-07 10:09:05 +07:00
Marc Durdin
118a947882 chore(common): add support for build target platform exclusions
Add `builder_describe_platform` function to builder.inc.sh, associated
documentation and unit test, and use it in Developer and Common build
scripts.

Relates-to: #11755
2024-08-07 09:25:56 +07:00
Joshua A. Horton
242eb6c0ad fix(common): restore, preserve unicode-copyright.txt 2024-08-06 14:55:30 +07:00
Joshua A. Horton
fd8b260865 change(common/models): adds unicode-data downloader 2024-08-06 14:46:13 +07:00
Marc Durdin
5abb28e29b chore(common): add data versions to minimum-versions.inc.sh
This adds references to various data sources such as Unicode. At
present, this is informational only, not used by any scripts, but the
intent is that in the future we reference this for any scripted data
updates.
2024-08-06 13:26:39 +07:00
Marc Durdin
86d0224d7a docs(common): minimum versions 2024-08-01 06:20:46 +07:00
Marc Durdin
12ee391895 chore(common): use node v22.5.1 2024-08-01 05:10:41 +07:00
Marc Durdin
fc4df037bb chore(common): use nvm to select version of node for builds
Used by default only on build agents. See docs/build/node.md and
resources/build/_builder_nvm.sh for documentation of this change.

Fixes: #11376
2024-08-01 05:09:08 +07:00
Marc Durdin
04037e0225 chore(common): updated stats script to support end date/sprint 2024-07-25 08:47:50 +07:00
Joshua A. Horton
d07fa7e953 chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
Joshua A. Horton
e527317d3a fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
Marc Durdin
466edc30fc chore: add cherry-pick information in commit messages
Fixes: #11702
2024-06-06 08:56:42 +07:00
Joshua Horton
e9ccd6fb4b
Merge pull request #11451 from keymanapp/chore/common/retry-npm-ci
chore(common): adds retry mechanism for build script npm ci calls
2024-06-06 08:10:04 +07:00
Joshua A. Horton
c91ffb95cd fix(common): better error-code capture 2024-06-05 13:03:13 +07:00
Joshua Horton
e2e8ed3491
change(common): emit error-code on retry fail
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-05 12:46:14 +07:00
Eberhard Beilharz
0de84b69c1
fix(common): output correct parameter values
Previously with the right number of parameters that take values and the
right order it could happen that a parameter value got replaced by an
action when the script output the parameters. This change fixes this.

Fixes: #11676
2024-06-04 16:34:03 +02:00
Eberhard Beilharz
4190510c65
fix(common): output actual script name instead of build.sh
Until now we always output `build.sh` as script name even when the
actual script was named differently. This change improves this.
2024-06-04 16:33:57 +02:00
Joshua Horton
66bdc29f6e fix(common): revert accidental test-code inclusion 2024-05-31 15:08:36 +07:00
Joshua Horton
b6a06c6626 change(common): simplifies retry command-execution syntax 2024-05-31 15:01:33 +07:00
Joshua Horton
27a959dce8 Merge branch 'master' into chore/common/retry-npm-ci 2024-05-31 14:54:24 +07:00
Joshua Horton
6251faa23d fix(common): only retry the npm ci call itself 2024-05-31 14:52:31 +07:00
Marc Durdin
b3385e4d69
chore: Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-30 12:30:33 +10:00
Marc Durdin
222ff6a182 change(common): add extra commit message hints
These changes come out of discussion in the team; we want to make use of
git trailers and improve the quality of our commit messages. Starting by
adding more hints to the commit suggestions. Includes some minor cleanup
of the hooks, and hopefully also improves tests so that they don't
interfere with interactions with non-Keyman repos.

Note: the scopes list may need maintenance as the list still includes
sub-scopes and 'oem'.
2024-05-28 10:57:46 +07:00
Marc Durdin
0404aa5db2 chore(common): update labels to include change, style
* Updates supported labels and documentation relating to `change` and
`style` commit types
* Adds `core/` label
* Reorders various lists alphabetically
2024-05-24 09:43:10 +07:00
Eberhard Beilharz
315c60afdd
Merge pull request #11003 from keymanapp/chore/standards-data
chore(common): Update standards data
2024-05-23 09:45:29 +02:00
Marc Durdin
02595229b2
Merge pull request #11461 from keymanapp/chore/windows/11316-build.sh
chore(windows): move from Makefile to build.sh
2024-05-23 14:23:05 +07:00
Marc Durdin
1e66b6ed0e
Merge pull request #11421 from keymanapp/chore/developer/11317-build.sh
chore(developer): build.sh for developer
2024-05-23 14:22:54 +07:00
Joshua Horton
92b22b1fd0
Merge pull request #11404 from keymanapp/chore/web/lm-worker-test-migration
chore(web): conversion of lm-worker browser-test for @web/test-runner use 🏃
2024-05-22 21:51:12 +07:00
Eberhard Beilharz
b208edc2ba
chore: Update standards data
`langtags.json` is directly downloaded from master branch at the GitHub repo
68cf82943c
because the version served at ldml.api.sil.org still has a duplicate.
2024-05-22 14:53:59 +02:00
Eberhard Beilharz
2dfec17102
chore(linux): Trigger GHA packaging for stable builds
(cherry picked from commit 3b3fef0e96)
2024-05-21 17:04:14 +02:00
Marc Durdin
d43b9316dd fix(windows): use run_in_vs_env to ensure signtool.exe is on path
The build agents use a fixed location for signtool.exe, but this is not
the case for other devs, so we need to grab our VS environment in order
to locate it.
2024-05-21 14:12:44 +07:00