Commit graph

19 commits

Author SHA1 Message Date
jahorton
858f9bc8fa chore(web): roots out many IE-related blocks 2022-05-31 09:11:17 +07:00
Marc Durdin
e0b308b983 chore(web): cleanup for ts projects 2022-04-13 15:19:55 +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
jahorton
0a33ed863d chore(web): addresses review comments 2021-07-23 11:48:51 +07:00
jahorton
8b8c32cf6d chore(web): nixes moved uitoggle commented-code 2021-07-07 11:47:12 +07:00
jahorton
7d08b2795f feat(web): delayed keyman.osk initialization 2021-07-07 11:45:27 +07:00
jahorton
0093c8b991 fix(web): default kbd ui name is now generic 2021-01-19 13:35:39 +07:00
jahorton
b448dbf32e change(web): cleans up web UI module dependencies 2020-05-15 13:52:23 +07:00
jahorton
d2b6a1bec8 refactor(web): full KMW now uses web-utils package 2020-05-15 13:34:31 +07:00
jahorton
1eed004296 change(web): package rename + patchup 2020-04-24 13:53:39 +07:00
jahorton
6d9c9bc510 fix(web): fixes UI modules' compilation 2020-04-24 13:45:16 +07:00
jahorton
30d688521b fix(web): fixes design-mode iframe UI/OSK positioning 2020-03-17 08:38:50 +07:00
jahorton
74353e43f5 fix(web): patches Float and Toggle UI issues. Fixes #2595 2020-02-11 08:47:36 +07:00
Joshua A. Horton
62bdfc6674 KeymanWeb - versioning update for beta. 2019-01-15 08:52:43 +07:00
Joshua A. Horton
2b6ce9bb18 Fixed a shutdown bug that was the source of IE troubles. 2018-03-08 14:02:30 +07:00
Joshua A. Horton
5798e3dd2e OK, for real, the file this time. 2018-02-02 13:37:53 +07:00
Joshua A. Horton
c6358e473d More legacy cruft removal. 2018-01-26 13:27:51 +07:00
Joshua A. Horton
beadfc30ef Deals (partly?) with IE's .parentWindow property. 2018-01-26 08:32:41 +07:00
Joshua A. Horton
3a3c91515f Refactors TS compile defs, converts the UI element sources. 2017-12-15 10:19:53 +07:00
Renamed from web/source/kmwuitoggle.js (Browse further)