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
Marc Durdin
10a59f789d
fix(common): support npm pack and consolidate npm publishing
...
Fixes #8586 .
All npm publish actions in the repository are now run as part of the
Developer release build, hosted at present by kmc, until we setup a
higher-level build script to do it.
Adds a 'pack' action which mirrors 'publish' for all npm packages.
Removes unnecessary dev dependencies of models-templates and
models-wordbreakers from kmc-model.
Web Release build CI step has been updated to check for presence of
.build-builder.
2023-04-12 11:55:31 +07:00
Marc Durdin
8f48c59bdb
fix(common): set dependency versions when publishing npm packages
...
Fixes #7310 .
2023-04-12 10:59:16 +07:00
jahorton
ccbc1b3b51
fix(ios): fixes xcode-triggered debug, run builds by defining missing env var
2023-04-11 09:05:50 +07:00
Marc Durdin
27ce5a6f83
Merge pull request #8567 from keymanapp/docs/8542-build-utils-dependency-clarification
...
docs: clarify dependency meanings in build-utils
2023-04-10 14:16:56 +10:00
Darcy Wong
d2cacd58f3
Merge pull request #8543 from keymanapp/chore/android/java-11
...
chore(android): Update projects to use Java 11
2023-04-10 09:20:02 +07:00
Marc Durdin
95b7cb62b4
docs: clarify dependency meanings in build-utils
...
Relates to #8542 .
2023-04-10 08:57:48 +07:00
Marc Durdin
c5d79a9fb4
Merge pull request #7330 from keymanapp/feature-kmcompx
...
epic: kmcompx - kmcmpdll cross-platform compiler 🚑
2023-04-10 07:34:04 +10:00
Darcy Wong
c7e65409a3
fix(android): Move set_java_home to build-utils
2023-03-31 13:07:35 +07:00
Marc Durdin
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩 "
2023-03-31 14:17:37 +11:00
Joshua Horton
6df63eddc5
Merge pull request #8549 from keymanapp/chore/master-to-esmodule-merge-a17s9
2023-03-31 08:51:27 +07:00
Joshua A. Horton
376fb0ba1e
chore: Merge branch 'master' into chore/master-to-esmodule-merge-a17s9
2023-03-30 19:12:06 +07:00
Marc Durdin
23aafebfc2
Merge branch 'feature-kmcompx' into chore/master-to-kmcompx-merge-a17s9
2023-03-29 14:47:58 +11:00
Marc Durdin
abeb6a3bec
chore: Merge branch 'feature-kmcompx' into chore/master-to-kmcompx-merge-a17s9
2023-03-29 10:40:04 +07:00
Steven R. Loomis
2c6be3a85d
chore(resources): ldml update for abnt2/iso 🙀
...
- CLDR: 7f3e1b9d6c6c633d921316d2b5bd0aa693dc15e6
- in-progress data from unicode-org/cldr#2802
For: #8161
2023-03-28 16:44:40 -05:00
Steven R. Loomis
d49b1d5dd7
Merge branch 'master' into feat/developer/8161-jis-abnt2-epic-ldml
2023-03-27 16:45:34 -05:00
Marc Durdin
2a871c8165
chore(developer): publish all required npm modules
2023-03-27 11:36:21 +07:00
Steven R. Loomis
3612039d70
chore(resources): ldml update for abnt2/iso 🙀
...
- the test cases found an error in the xml. Fixed.
- added core test cases directly out of resources/standards-data
For: #8161
2023-03-24 13:58:10 -05:00
Steven R. Loomis
3488bdd829
chore(resources): ldml update for abnt2/iso 🙀
...
- uses in-progress data from https://github.com/unicode-org/cldr/pull/2802
For: #8161
2023-03-24 13:01:29 -05:00
Joshua A. Horton
b85087f392
chore(web): Merge branch 'master' into chore/web/update-feature-esmodule-for-configure-fix
2023-03-23 15:15:07 +07:00
Marc Durdin
4cc90f2722
chore(common): use mac /usr/bin/stat rather than homebrew version
2023-03-23 16:53:32 +11:00
Marc Durdin
062b947363
chore: Merge branch 'feature-kmcompx' into chore/merge-master-into-feature-kmcompx-a17s9
2023-03-23 10:08:59 +07:00
Marc Durdin
549a8e009e
chore(common): define BUILDER_CONFIGURATION env var
2023-03-23 09:21:55 +07:00
Marc Durdin
48bc338f26
chore: Merge branch 'feature-kmcompx' into chore/kmcompx-master-merge-a17s9
2023-03-21 13:51:25 +07:00
Marc Durdin
7cd6b00946
chore(common): prevent multiple npm ci runs in child scripts
...
Fixes #8471 .
Ensures that `npm take-forever` (aka `npm ci`, `npm install`) only runs
once during a parent/child build script run.
Note that this also works even where build scripts manually call other
build scripts (e.g. input-processor as it is currently calling kmc
build manually) -- though this is not a recommended practice.
2023-03-21 11:08:22 +07:00
Marc Durdin
d1c8061b5f
chore: Merge branch 'feature-kmcompx' into chore/merge-master-into-kmcompx
2023-03-16 12:29:17 +07:00
Steven R. Loomis
0138b69939
chore(resources): ldml update to latest tech-preview 🙀
...
- No, transforms aren't included here, but everything else is
- dc112dab58 in latest keyboard-preview
#7042
2023-03-14 17:38:30 -05:00
Marc Durdin
958f12386d
chore(common): add win/mac/linux common build.sh parent scripts
...
Currently, there are no tests that will run but these scripts will at
least give us a starting point for future code.
2023-03-14 13:10:06 +07:00
Marc Durdin
0811282ccf
chore(common): add common/web/build.sh, small cleanup
2023-03-14 13:05:27 +07:00
Marc Durdin
5eee05f16f
chore(common): add common test build configurations
2023-03-14 12:40:42 +07:00
Joshua A. Horton
a9f28138a4
chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/child-script-pattern
2023-03-14 12:24:10 +07:00
Marc Durdin
534bd2a54b
Merge pull request #8416 from keymanapp/chore/common/build-script-performance
...
chore(common): build script performance improvements
2023-03-14 15:41:32 +11:00
Marc Durdin
e4ca4aa570
Merge pull request #8415 from keymanapp/chore/common/shorthand-builder
...
chore(common): support shorthand for build.sh
2023-03-14 15:41:25 +11:00
Marc Durdin
3302abaf73
chore(common): use builder_trim instead of trim, _builder_trim
2023-03-13 09:53:43 +07:00
Marc Durdin
350808bd5d
chore(common): fixup tests and various typo tweaks
...
When running tests, discovered a number of typos in builder.inc.sh.
Also fixup pathing for builder include for all scripts under resources/
to ensure that we can maximize performance.
2023-03-13 09:43:09 +07:00
Marc Durdin
fbd41c0a74
chore: fix typo
...
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2023-03-13 12:45:11 +11:00
Marc Durdin
eb344c235f
chore(linux): fixup build-utils ref in gha workflow
2023-03-13 08:43:50 +07:00
Marc Durdin
f41922d749
docs: build-utils standard environment
2023-03-13 08:30:38 +07:00
Marc Durdin
de0580f436
chore(common): fix another typo
2023-03-13 08:16:45 +07:00
Marc Durdin
92ed99c4d6
chore(common): build script performance improvements
...
Improves build script performance by:
* using built-ins wherever possible (e.g. string splitting)
* eliminating redundant code
* using absolute (to $KEYMAN_ROOT) rather than relative paths to avoid realpath
* removing unnecessary `npm run` calls
BEFORE | AFTER
-------------------------------|----------------------
time ./core/build.sh --help |
real 0m2.116s | real 0m0.874s
user 0m0.578s | user 0m0.198s
sys 0m0.984s | sys 0m0.289s
-------------------------------|----------------------
time ./web/build.sh --help |
real 0m3.523s | real 0m0.757s
user 0m1.166s | user 0m0.320s
sys 0m2.273s | sys 0m0.455s
-------------------------------|----------------------
time ./web/build.sh -d |
real 1m34.750s | real 0m59.974s
user 0m9.721s | user 0m6.284s
sys 0m19.652s | sys 0m13.202s
@keymanapp-test-bot skip
2023-03-13 07:18:09 +07:00
Marc Durdin
22930be045
chore(common): minor cleanup
2023-03-13 06:20:28 +07:00
Marc Durdin
339cff11cf
chore(common): support shorthand for build.sh
...
Fixes #8396
2023-03-13 06:15:43 +07:00
Darcy Wong
45c4e6aca9
Merge pull request #8386 from keymanapp/refactor/common/build-help
...
refactor(common): Make build-help into helper functions
2023-03-10 14:41:10 +07:00
Darcy Wong
3ef331a87e
refactor(common): Update to build_help_html params
2023-03-10 12:49:37 +07:00
Darcy Wong
413e77e2ae
fix(common): Start adjusting parameters
2023-03-10 10:07:47 +07:00
Darcy Wong
247dab8fc3
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-10 09:40:28 +07:00
Marc Durdin
660e98a430
feat(common): support single target for a dependency
...
Fixes #8397 .
2023-03-09 14:54:27 +07:00
Marc Durdin
ef80f0f6b5
chore(developer): shared meson config for kmcmplib
2023-03-09 12:14:15 +07:00
Marc Durdin
691dc8e618
chore(core): split flags into standard.meson.build
2023-03-09 11:34:54 +07:00
Darcy Wong
6c2126431f
refactor(common): Make build-help into helper functions
2023-03-08 11:42:13 +07:00