Commit graph

429 commits

Author SHA1 Message Date
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
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
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
3c5c7b21bc change(common/models): wordbreaker .d.ts bundling 2023-01-31 12:24:04 +07:00
Joshua A. Horton
66f6381f87 feat(common/models): functional lm-worker sourcemaps 2023-01-20 14:01:11 +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
Joshua A. Horton
413e88daa2 chore(web): where'd that extra indentation come from? 2022-09-06 10:10:33 +07:00
Joshua A. Horton
a09cc5d822 fix(common/models): models/templates unit tests 2022-09-06 09:48:52 +07:00
Joshua A. Horton
a6e65333c5 fix(common/models): wordbreaker test require paths 2022-09-06 08:54:56 +07:00
Marc Durdin
833dde0ae4 chore: remove unnecessary package-lock.json files 2022-05-16 14:47:58 +10:00
Marc Durdin
bb07ab7eee chore(web): make build paths consistent 2022-05-04 10:13:44 +10:00
Marc Durdin
0fbf53f8d7 chore(web): move version from package.json to keyman-version package
Starts to resolve the chaos of putting version numbers into every
package.json file.

Adds a new keyman-version package which mimics the
version information in build-utils.sh. This will eventually replace
resources/web-environment.

Fixes the build for the lexical model compiler tools to remove refs to
package.json version and use keyman-version instead.

More fixes coming in a follow-up.
2022-04-17 06:47:39 +10:00
Marc Durdin
e0b308b983 chore(web): cleanup for ts projects 2022-04-13 15:19:55 +10:00
Marc Durdin
0ac04d0530 chore(web): Merge branch 'beta' into chore/web/no-more-lerna 2022-04-12 21:17:15 +10:00
Marc Durdin
4d94786852 chore(web): replace lerna with npm workspaces and ts projects
Fixes #6320.

Part 1 of moving from lerna to a simpler, maintained monorepo solution,
using TypeScript Projects and NPM Workspaces.

There is more work to be done here. At this point, KeymanWeb builds and
runs without errors, but the built file is substantially different,
mostly in include order.

Using TypeScript Projects, we move away from the need to run build
scripts in various locations for almost all the Typescript modules.

TODO: Embedded versions and tests have not been verified.

TODO: developer/server is not yet verified.

TODO: developer/js (needs a rename!) is not yet verified.

TODO: Currently, the predictive-text folder needs refactoring to move
the construction of the worker wrapper out of the Predictive Text build
and into the final assembly of keymanweb.js (as it should be valid to
run it as a separate .js anyway).

TODO: Most of the `<reference>` paths need to be re-verified. Ideally
there should be no references outside the current module for any given
.ts.

TODO: The embedded vs browser vs node (headless) builds should be tidied
up for consistency so that it's obvious what depends on what. This is
currently messiest in the predictive-text folder, where the output names
diverge from the filenames and the various files are mixed in the same
folder (as evidenced by the exclusions listed in each tsconfig.json).

TODO: `npm install` should be removed from most build scripts and
instead `npm ci` (#6196) should be run only once from the top-level
folder for any given build. I've had eliminated side-effects from the
`install` action for npm, which makes it easier to reason about state.

TODO: verify_npm_setup and related functions can probably be eliminated.

TODO: most of the build scripts should be largely eliminated for web.

TODO: several ts projects use inconsistent output folders.

TODO: it may be possible to generate a .d.ts for models/types so that
we can use a consistent reference for those as well.

TODO: build.sh, tsconfig.json should always be in the module's top-level
folder, not in a subfolder such as src (e.g. see input-processor/src,
keyboard-processor/src, web/source).

TODO: resources/web-environment should be in common/web.

TODO: other js node_modules imports should be wrapped like es6-shim.

TODO: fix up the publish code for npm modules

TODO: eliminate version numbers from package.json if possible?

Whew, that's most of the stuff I noticed!
2022-04-12 21:02:33 +10:00
Keyman Build Agent
114f58ee7f auto: increment beta version to 15.0.233 2022-04-11 14:02:20 -04:00
Keyman Build Agent
cdb4680698 auto: increment beta version to 15.0.232 2022-04-09 14:02:21 -04:00
Keyman Build Agent
01c089cf35 auto: increment beta version to 15.0.231 2022-04-08 14:02:37 -04:00
Keyman Build Agent
ef9a9459d2 auto: increment beta version to 15.0.230 2022-04-07 14:02:52 -04:00
Keyman Build Agent
54884ec2ad auto: increment beta version to 15.0.229 2022-04-05 14:02:12 -04:00
Keyman Build Agent
6e8a458c3b auto: increment beta version to 15.0.228 2022-04-04 14:03:57 -04:00
Keyman Build Agent
852754ea40 auto: increment beta version to 15.0.227 2022-04-01 14:02:08 -04:00
Keyman Build Agent
439d00d87b auto: increment beta version to 15.0.226 2022-03-31 22:57:58 -04:00
Marc Durdin
c55e13774e
Merge pull request #6433 from keymanapp/fix/common/6258-wordbreakers-package.json-main
fix(common): wordbreakers package.json main field
2022-03-29 12:36:18 +11:00
Keyman Build Agent
4e1f0432cd auto: increment beta version to 15.0.225 2022-03-28 21:31:48 -04:00
Marc Durdin
77db07f268 fix(common): wordbreakers package.json main field
Fixes #6258.

@keymanapp-test-bot skip
2022-03-28 09:12:20 +11:00