Commit graph

3423 commits

Author SHA1 Message Date
Joshua A. Horton
60a7373046 fix(web): forgot to adjust calling script to changes 2023-04-19 15:19:52 +07:00
Marc Durdin
c18ef54029 refactor(common): move core baseline tests into common
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).

* Moves .kmn files, add `&NAME` line (don't use meson templating for
  these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
  kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
  (this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00
Darcy Wong
87cd20e664
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-16 10:27:35 +07:00
Darcy Wong
201fd26bb7 chore(web): Cleanup build echo 2023-03-16 10:07:59 +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
23151c1248 fix(web): --no-minify, not --skip-minify 2023-03-09 07:28:50 +07:00
Marc Durdin
8251ec861a chore: cleanup additional --debug references 2023-03-08 05:46:32 +07:00
Darcy Wong
e7d2029b65 fix(web): Add check on compile 2023-02-28 10:49:49 +07:00
Darcy Wong
5c80648758 chore(web): fixup dependencies in web build script
* Additional module outputs (from 244962bf09)
2023-02-28 10:30:17 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
3fe89ee508
Merge branch 'master' into chore/cleanup-fail-warn-log_warning-log_error-echo_heading 2023-02-20 16:27:17 +11:00
Marc Durdin
f290175bc4
Merge pull request #8260 from keymanapp/chore/cleanup-shell-helper-functions
chore: cleanup some of shellHelperFunctions.sh
2023-02-20 16:26:01 +11:00
Marc Durdin
320d20b651
chore(web): Actually skip browser-stack for non-web builds
@keymanapp-test-bot skip
2023-02-20 16:24:01 +11:00
Marc Durdin
0c00eaf8cb fix(web): --no-minify, not --skip-minify 2023-02-20 09:54:15 +07:00
Marc Durdin
501c317b24 chore: use builder_warn, remove log_warning 2023-02-20 09:18:26 +07:00
Marc Durdin
4d53a277f3 chore: use builder_die, remove fail 2023-02-20 09:15:38 +07:00
Marc Durdin
c475188c6b chore: use builder_die, remove die 2023-02-20 09:03:37 +07:00
Marc Durdin
8f5997a3e6 chore: rename os_id to BUILDER_OS 2023-02-20 08:44:03 +07:00
Marc Durdin
c62349d071 chore(web): minor cleanup of web/build.sh 2023-02-18 15:37:59 +07:00
Joshua A. Horton
889d347c02 chore(common): Merge branch 'master' into chore/common/js-ts-dependency-updates 2023-02-16 13:51:31 +07:00
Joshua A. Horton
a3752dd9ff chore(common): full-repo ts-node update 2023-02-09 12:39:15 +07:00
Marc Durdin
4598f13ba8 chore(common): automatically apply _builder_check_color 2023-02-09 12:12:18 +07:00
Joshua A. Horton
24d3f35cc7 fix(developer): drops implicit 'dom' library from server tsconfig 2023-02-09 10:32:02 +07:00
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Marc Durdin
983ae43357 chore(common): add builder_term function 2023-02-08 12:49:54 +07:00
Joshua Horton
157b5aa49e
Merge pull request #8001 from keymanapp/feat/web/ci-release
feat(web): implements shell scripting for CI release-build configurations 📜
2023-02-02 09:33:29 +07:00
Joshua Horton
1b220db622
Merge pull request #7894 from keymanapp/feat/common/srcmap-remap-module
feat(common): TS-based sourcemap remapping tool 📜
2023-02-02 09:21:08 +07:00
Joshua Horton
73be1a1af0
Merge pull request #7831 from keymanapp/chore/web/ci-step-extraction
chore(web): updates build product references, extracts CI test-build scripts 📜
2023-02-02 09:20:53 +07:00
Joshua A. Horton
fcd381e5b8 chore(web): Merge branch 'master' into change/web/reorg-tools 2023-02-02 09:20:04 +07:00
Joshua Horton
3fb4cdd005
Merge pull request #7515 from keymanapp/change/web/reorg-test-pages-cases
change(web): conversion to standard filesystem layout:  testing -> src/test/manual, unit_tests -> src/test/auto 📜
2023-02-02 09:19:30 +07:00
Joshua A. Horton
ede1068d51 chore(web): Merge branch 'master' into change/web/reorg-source-src-reorg 2023-02-02 09:18:46 +07:00
Joshua A. Horton
f8b58424de chore(web): even more requested changes 2023-02-01 14:05:01 +07:00
Joshua A. Horton
e2d1b17dec fix(common): some nits 2023-02-01 13:08:26 +07:00
Joshua A. Horton
a3cadbabeb chore(web): more tweaks per review 2023-02-01 13:02:07 +07:00
Joshua A. Horton
ee2b47dff2 chore(web): changes per review concerns 2023-02-01 12:44:31 +07:00
Joshua A. Horton
1020c0688c chore(web): Merge branch 'master' into chore/web/top-level-build-script-rework 2023-01-18 08:24:10 +07:00
Joshua A. Horton
1151d67480 chore(web): avoid merge conflict with Sentry semver id update 2023-01-18 08:21:25 +07:00
Marc Durdin
34ece2182d fix(common): update sentry release identifiers to support semver
Fixes #7895.

This should mean that Sentry reports start to track semantic versions. I
have reviewed each project and I _think_ I've captured all the locations
where we need to construct release identifiers. Note that one of them
was fixed from a plain version number.

Docs on release format: https://docs.sentry.io/platforms/node/guides/serverless-cloud/configuration/releases/#bind-the-version
2023-01-17 17:04:24 +07:00
Joshua A. Horton
61a4a3af0d fix(web): changed the docs in advance; forgot to change implementation 2023-01-10 10:09:18 +07:00
Joshua A. Horton
906c9800df change(web): improved debug path for publish-s.keyman 2023-01-10 09:45:43 +07:00
Joshua A. Horton
5b265a1321 change(web): build counter unused in current implementation 2023-01-10 09:33:26 +07:00
Joshua A. Horton
6ffbb2a551 feat(web): implements publish-downloads action 2023-01-10 09:17:03 +07:00
Joshua A. Horton
f39616c824 feat(web): finishes implementation of ci.sh publish-s.keyman action 2023-01-09 13:58:21 +07:00
Joshua A. Horton
f1e85f50d7 feat(web): starts implementation of CI publish-s.keyman action 2023-01-09 13:54:12 +07:00
Joshua A. Horton
df3670deb8 change(web): param name tweak 2023-01-09 13:53:55 +07:00
Joshua A. Horton
e5738667b4 change(web): main web's source cleaner tool now based on new common tool 2023-01-09 13:45:32 +07:00
Joshua A. Horton
c75b9a5775 chore(web): whoops, accidentally committed old location 2022-12-01 10:52:58 +07:00
Joshua A. Horton
26bddf133a chore(web): Merge branch 'change/web/reorg-tools' into chore/web/ci-step-extraction 2022-12-01 10:51:49 +07:00
Joshua A. Horton
2abec678eb chore(web): Merge branch 'change/web/reorg-source-src-reorg' into change/web/reorg-test-pages-cases 2022-12-01 10:48:27 +07:00