Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(developer): move osk.ts from developer-utils to kmc-kmn #10903

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Mar 1, 2024

Fixes #10872. Modifies #10845.

developer-utils is also used by server. Because osk.ts depends on common-types, this introduced a transitive dependency for server. Packaging server for deployment as part of Keyman Developer is fragile and we need to hand-code our internal dependencies, as npm bundling struggles with in-repo dependencies. So we need to avoid introducing extra dependencies into developer-utils at this time.

It turns out that osk.ts is used by kmc-kmn and kmc-analyze. kmc-analyze already has a dependency on kmc-kmn, so it makes sense to put it there.

User Testing

  • TEST_DEVELOPER_SERVER: Verify that the Keyman Developer Server component starts successfully, and that you are able to test a keyboard in the web host.

Fixes #10872. Modifies #10845.

developer-utils is also used by server. Because osk.ts depends on
common-types, this introduced a transitive dependency for
developer-utils. Packaging server for deployment as part of Keyman
Developer is fragile and we need to hand-code our internal dependencies,
as npm bundling struggles with in-repo dependencies. So we need to avoid
introducing extra dependencies into developer-utils at this time.

It turns out that osk.ts is used by kmc-kmn and kmc-analyze. kmc-analyze
already has a dependency on kmc-kmn, so it makes sense to put it there.
@mcdurdin mcdurdin requested a review from darcywong00 as a code owner March 1, 2024 01:51
@keymanapp-test-bot keymanapp-test-bot bot added has-user-test user-test-required User tests have not been completed labels Mar 1, 2024
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Mar 1, 2024

User Test Results

Test specification and instructions

  • TEST_DEVELOPER_SERVER (PASSED): Tested with the attached PR build Keyman Developer Version 17.0.280-beta-test-10903 on Windows 10 OS and here is my observation: 1. Opened the Keyman Developer and verified that the Keyman Developer Server component started successfully. 2. Created a custom (Tamil) keyboard and tested that keyboard in the web host. Seems to be working as expected. (notes)

Test Artifacts

Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

api-extractor returned the following error:
```
ERROR: The "export * as ___" syntax is not supported yet; as a workaround, use "import * as ___" with a separate "export { ___ }" declaration
```
@mcdurdin mcdurdin modified the milestones: B17S2, B17S3 Mar 3, 2024
@bharanidharanj
Copy link

Test Results

  • TEST_DEVELOPER_SERVER (PASSED): Tested with the attached PR build Keyman Developer Version 17.0.280-beta-test-10903 on Windows 10 OS and here is my observation: 1. Opened the Keyman Developer and verified that the Keyman Developer Server component started successfully. 2. Created a custom (Tamil) keyboard and tested that keyboard in the web host. Seems to be working as expected.

@keymanapp-test-bot keymanapp-test-bot bot removed the user-test-required User tests have not been completed label Mar 5, 2024
@mcdurdin mcdurdin merged commit 7ddc7e3 into beta Mar 5, 2024
4 checks passed
@mcdurdin mcdurdin deleted the fix/developer/10872-move-osk-dep-into-kmc-kmn branch March 5, 2024 06:47
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.282-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(developer): Web testing server fails to launch
4 participants