Commit graph

643 commits

Author SHA1 Message Date
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
Joshua A. Horton
b433f0e358 change(common/models): model-template declaration bundling 2023-01-31 12:28:06 +07:00
Joshua A. Horton
93fb518a8f chore(common/models): Merge branch 'change/common/models/wordbreaker-modularization' into change/common/models/template-modularization 2023-01-31 12:25:56 +07:00
Joshua A. Horton
3c5c7b21bc change(common/models): wordbreaker .d.ts bundling 2023-01-31 12:24:04 +07:00
Joshua A. Horton
bc3f32f90d chore(common/models): Merge branch 'change/common/models/lm-worker-modularization' into feat/common/models/lm-worker-sourcemapping 2023-01-27 12:28:00 +07:00
Joshua A. Horton
1b4f1b7a7e chore(common/models): extra-minor cleanup 2023-01-27 12:24:05 +07:00
Joshua A. Horton
0141c65f42 chore(common/models): Merge branch 'change/common/models/template-modularization' into change/common/models/lm-worker-modularization 2023-01-27 12:18:16 +07:00
Joshua A. Horton
39fde64d34 chore(common/models): some cleanup, reference-types, better import pathing 2023-01-27 12:17:31 +07:00
Joshua A. Horton
66f6381f87 feat(common/models): functional lm-worker sourcemaps 2023-01-20 14:01:11 +07:00
Joshua A. Horton
5f9aa60019 fix(common/models): lm-layer module objs build 2023-01-20 13:43:28 +07:00
Joshua A. Horton
6a72fd09c3 fix(common/models): describe_outputs fix 2023-01-20 13:37:44 +07:00
Joshua A. Horton
87f6f57848 feat(common/models): adds models/templates build.sh 2023-01-20 13:37:43 +07:00
Joshua A. Horton
2d8d6718b4 change(web): templates incremental-build wordbreakers 2023-01-20 13:37:43 +07:00
Joshua A. Horton
90a7af27bd fix(common/models): models-templates unit test conversion, patchup 2023-01-20 13:37:42 +07:00
Joshua A. Horton
679652d7f3 change(common/models): templates submodule conversion 2023-01-20 13:37:42 +07:00
Joshua A. Horton
97a49dbeab chore(web): adds test action to build.sh 2023-01-20 13:29:43 +07:00
Joshua A. Horton
126f7ec35c fix(common/models): fixes wordbreaker describe_outputs 2023-01-20 13:26:12 +07:00
Joshua A. Horton
06e01213e1 feat(web): adds word-breaker build.sh 2023-01-20 13:26:11 +07:00
Joshua A. Horton
20fd783614 fix(common/models): wordbreaker unit tests now es-module compatible 2023-01-20 13:26:11 +07:00
Joshua A. Horton
3f4a7b22cd feat(common/models): adds .cjs bundle, .d.ts bundle 2023-01-20 13:26:10 +07:00
Joshua A. Horton
b773cc852d change(common/models): wordbreakers -> ES modules 2023-01-20 13:26:09 +07:00
Marc Durdin
5da24ff279
Merge pull request #7307 from keymanapp/dependabot/npm_and_yarn/nanoid-and-mocha--removed
chore(deps): bump nanoid and mocha
2022-09-19 15:34:19 +10:00
dependabot[bot]
93ec6106e1
chore(deps): bump nanoid and mocha
Bumps [nanoid](https://github.com/ai/nanoid) and [mocha](https://github.com/mochajs/mocha). These dependencies needed to be updated together.

Removes `nanoid`

Updates `mocha` from 8.4.0 to 10.0.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v10.0.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 21:06:23 +00:00
Joshua A. Horton
26fb6da3ab feat(common/models): adds tokenization tests for wordbreaks near the caret 2022-09-15 13:23:21 +07:00
Joshua A. Horton
94face23d0 chore(common/models): minor cleanup 2022-09-13 11:06:54 +07:00
Joshua A. Horton
261e252026 docs(common/models): adds minor doc re 'sot', 'eot' 2022-09-13 10:38:34 +07:00
Joshua A. Horton
8e076fe3fd feat(common/models): actual wordbreaker customization 2022-09-13 10:18:24 +07:00
Joshua A. Horton
51caf533a8 feat(common/models): interface for custom breaker rules 2022-09-12 15:14:28 +07:00
Joshua A. Horton
991a5bc271 feat(common/models): wordbreaker context .match method 2022-09-12 15:14:27 +07:00
Joshua A. Horton
5bad267e11 refactor(common/models): default wordbreaker state tracking 2022-09-12 15:14:26 +07:00
Joshua A. Horton
3f36a07abb change(common/models): tweak to flag-emoji test for clarity 2022-09-08 09:11:26 +07:00
Joshua A. Horton
91448c344f feat(web): more default-breaker unit tests 2022-09-06 14:52:16 +07:00