Commit graph

674 commits

Author SHA1 Message Date
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Joshua Horton
87acd6a2cf
Merge pull request #10274 from keymanapp/feat/web/webview-es6-target-artifact
feat(web): es6 artifact for app/webview 📜
2024-01-08 15:54:12 +07:00
Joshua Horton
8a7394dd23
Merge pull request #10257 from keymanapp/feat/web/es6-target-artifact
feat(web): alternate artifact - es6-bundled Web 📜
2024-01-08 15:53:43 +07:00
Joshua A. Horton
23d6dda22c feat(web): es6 artifact for app/webview - required extra changes to do well 2023-12-18 15:41:16 +07:00
Joshua A. Horton
99481d64ed feat(web): lm-worker es6-bundling 2023-12-18 10:32:36 +07:00
Joshua A. Horton
6887ca3053 chore(web): drops a worker polyfill, makes another conditional 2023-12-13 09:05:38 +07:00
Joshua A. Horton
06d4a76989 fix(web): second pass - search space cloning for calc reuse 2023-10-26 09:32:48 +07:00
Marc Durdin
d4e4992714 chore(common): cleanup final Typescript non-ESM metadata
Fixes #9262.
2023-10-04 12:55:51 +07:00
Joshua A. Horton
a92f915e60 chore(web): Merge branch 'chore/web/cleanup-kmw-headless-module-builds' into chore/web/esbuild-config-cleanup 2023-06-16 12:47:20 +07:00
Joshua A. Horton
569662237e fix(web): build.sh dependency on the centralized bundling stuff 2023-06-16 11:36:03 +07:00
Joshua A. Horton
194139be03 chore(web): paren spacing cleanup 2023-06-15 15:49:38 +07:00
Joshua A. Horton
6e8432383b chore(web): applies bulk of review suggestions 2023-06-15 15:48:53 +07:00
Joshua A. Horton
b65df8243b chore(web): cleanup of lm-worker & related build scripts, removal of lower-level bundles 2023-06-14 15:51:09 +07:00
Joshua A. Horton
626e1855a3 chore(web): Merge branch 'change/srcmap-cleanup-and-c8-use' into chore/web/centralize-kmw-tsconfigs 2023-06-14 14:59:18 +07:00
Joshua A. Horton
3ce99b9c73 chore(web): cleanup re set_keyman_standard_build_path 2023-06-14 10:00:39 +07:00
Joshua A. Horton
0ca8e34424 chore(web): resolves centralization b/t the worker & main kmw tsconfigs 2023-06-14 09:26:27 +07:00
Joshua A. Horton
095bf97626 chore(web): kmw-main tsconfig -> /web, redirect in /common/web 2023-06-14 08:22:05 +07:00
Joshua A. Horton
6a30efe60f chore(web): kmw-worker tsconfig -> common/models 2023-06-14 08:16:15 +07:00
Joshua A. Horton
e876229312 chore(common/models): centralizes the worker tsconfig settings 2023-06-13 15:22:39 +07:00
Joshua A. Horton
96224f528a chore(common/models): package.json script use of gosh ./build.sh 2023-06-13 14:31:04 +07:00
Joshua A. Horton
84553d11f9 fix(common/web): fixed sourcemap path rooting issues, dropped unused worker products 2023-06-12 14:45:48 +07:00
Joshua A. Horton
c14240de74 feat(common/models): c8 for models/templates 2023-06-12 13:10:59 +07:00
Joshua A. Horton
649bc9b3ef feat(common/models): c8 for the wordbreaker package 2023-06-12 12:57:37 +07:00
Joshua A. Horton
fed4618d02 feat(common/models): tslib use, treeshaking in lm-worker 2023-06-08 14:39:55 +07:00
Joshua A. Horton
b39011be73 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-02 16:03:40 +07: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
Joshua A. Horton
ab7c4b5e9e fix(common/models): build script fix for models/templates ci test 2023-04-18 08:26:19 +07:00
Joshua A. Horton
30da35c5a2 fix(common): CI test-build issues for lm-layer config, other configs 2023-04-17 12:24:37 +07:00
Marc Durdin
3265a714f2 chore(common): add missing deps and files for npm publish
The build/ folder for most packages was missing due to being listed in
.gitignore.

Also, @keymanapp/ldml-keyboard-constants package was not being published
despite being a dependency of @keymanapp/kmc-keyboard.

Instead of relying on npm's use of .gitignore / .npmignore (which has
seriously wonky behaviours), we list the files that should be included
in package.json.

NPM Wonky behaviours: it seems that .npmignore causes .gitignore in the
same folder to be ignored. But, higher level .gitignore files still
affect the files included in the package, which makes
specification-by-exclusion painful (negating exclusions, etc). We do not
recommend use of .npmignore anywhere for this reason.
2023-04-12 14:05:05 +07: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
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua A. Horton
f5e64a10a5 chore: Merge branch 'chore/common/ldml-ts-and-node-updates' into chore/feature-esmodule-master-update 2023-03-14 09:23:39 +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
4d53a277f3 chore: use builder_die, remove fail 2023-02-20 09:15:38 +07:00
Joshua A. Horton
58d2c3ba66 chore(common/web): TS import cleanup via subpaths 2023-02-16 16:05:45 +07:00
Joshua A. Horton
8fb5b42818 chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-16 15:52:25 +07:00
Joshua A. Horton
6af1e4890e chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/feature-esmodule-update 2023-02-16 15:18:50 +07:00
Joshua A. Horton
a3752dd9ff chore(common): full-repo ts-node update 2023-02-09 12:39:15 +07:00
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Joshua A. Horton
dce763600e chore(common/models): lm-worker import path cleanup 2023-02-03 14:52:12 +07:00
Joshua A. Horton
ab4a897b7f chore(common/models): models-templates import pathing cleanup 2023-02-03 14:15:16 +07:00
Joshua A. Horton
1186d500ea chore(common/models): models-wordbreakers import pathing 2023-02-03 14:03:30 +07:00
Joshua A. Horton
7eb34cbb37 chore(common/web): keyboard-processor + recorder-core import pathing cleanup 2023-02-03 14:01:24 +07:00
Joshua A. Horton
b943b5a80b chore(common/models): Merge branch 'feature-esmodule-web-engine' into feat/common/models/lm-worker-sourcemapping 2023-02-02 15:29:04 +07:00
Joshua A. Horton
65f7064368 chore(common/models): cleanup in branch-introduced ./build.sh scripts 2023-02-02 14:10:59 +07:00
Joshua A. Horton
aad447cdd0 chore(common/models): minor cleanup 2023-02-02 13:21:28 +07:00