-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(web): move parts of
keyboard-processor
→ js-processor
Move parts of `common/web/keyboard-processor/` → `web/src/engine/js-processor/`. Note this temporarily disable tests for keyboard-processor which depend on js-processor, until #12110 is fixed. Fixes: #12067
- Loading branch information
1 parent
820aaca
commit 301e182
Showing
22 changed files
with
226 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
common/web/keyboard-processor/tests/dom/web-test-runner.CI.config.mjs
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
common/web/keyboard-processor/tests/dom/web-test-runner.config.mjs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/env bash | ||
|
||
## START STANDARD BUILD SCRIPT INCLUDE | ||
# adjust relative paths as necessary | ||
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")" | ||
. "${THIS_SCRIPT%/*}/../../../../resources/build/builder.inc.sh" | ||
## END STANDARD BUILD SCRIPT INCLUDE | ||
|
||
SUBPROJECT_NAME=engine/js-processor | ||
|
||
. "${KEYMAN_ROOT}/web/common.inc.sh" | ||
. "${KEYMAN_ROOT}/resources/shellHelperFunctions.sh" | ||
|
||
# ################################ Main script ################################ | ||
|
||
builder_describe "Builds configuration subclasses used by the Keyman Engine for Web (KMW)." \ | ||
"clean" \ | ||
"configure" \ | ||
"build" \ | ||
"test" \ | ||
"--ci+ Set to utilize CI-based test configurations & reporting." | ||
|
||
builder_describe_outputs \ | ||
configure "/node_modules" \ | ||
build "/web/build/${SUBPROJECT_NAME}/lib/index.mjs" | ||
|
||
builder_parse "$@" | ||
|
||
#### Build action definitions #### | ||
|
||
do_build () { | ||
compile "${SUBPROJECT_NAME}" | ||
|
||
${BUNDLE_CMD} "${KEYMAN_ROOT}/web/build/${SUBPROJECT_NAME}/obj/index.js" \ | ||
--out "${KEYMAN_ROOT}/web/build/${SUBPROJECT_NAME}/lib/index.mjs" \ | ||
--format esm | ||
} | ||
|
||
builder_run_action configure verify_npm_setup | ||
builder_run_action clean rm -rf "${KEYMAN_ROOT}/web/build/${SUBPROJECT_NAME}" | ||
builder_run_action build do_build | ||
builder_run_action test test-headless "${SUBPROJECT_NAME}" |
Oops, something went wrong.