Skip to content

Commit

Permalink
refactor(web): Move common/web/recorder → `web/src/tools/testing/re…
Browse files Browse the repository at this point in the history
…corder-core`

Fixes: #12091
  • Loading branch information
ermshiperete committed Aug 6, 2024
1 parent 1d27a10 commit 820aaca
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion common/web/keyboard-processor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BUNDLE_CMD="node ${KEYMAN_ROOT}/common/web/es-bundling/build/common-bundle.mjs"

builder_describe \
"Compiles the web-oriented utility function module." \
"@/common/web/recorder test" \
"@/web/src/tools/testing/recorder-core test" \
"@/common/web/keyman-version" \
"@/common/web/es-bundling" \
"@/common/web/types" \
Expand Down
22 changes: 0 additions & 22 deletions common/web/recorder/tsconfig.json

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## START STANDARD BUILD SCRIPT INCLUDE
# adjust relative paths as necessary
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
. "${THIS_SCRIPT%/*}/../../../resources/build/builder.inc.sh"
. "${THIS_SCRIPT%/*}/../../../../../resources/build/builder.inc.sh"
## END STANDARD BUILD SCRIPT INCLUDE

. "$KEYMAN_ROOT/resources/shellHelperFunctions.sh"
Expand All @@ -24,7 +24,7 @@ builder_describe \

builder_describe_outputs \
configure "/node_modules" \
build "/common/web/recorder/build/obj/index.js"
build "/web/src/tools/testing/recorder-core/build/obj/index.js"

builder_parse "$@"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions web/src/tools/testing/recorder-core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": "../../../../tsconfig.base.json",

"compilerOptions": {
"types": ["node"],
"baseUrl": "./",
"outDir": "./build/obj/",
"tsBuildInfoFile": "./build/obj/tsconfig.tsbuildinfo",
"rootDir": "./src"
},

"include": [
"src/**/*.ts"
],

"references": [
{ "path": "../../../../../common/web/keyman-version" },
{ "path": "../../../../../common/web/utils/" },
{ "path": "../../../../../common/web/keyboard-processor/" },
{ "path": "../../../../../common/web/lm-message-types" }
],
}
2 changes: 1 addition & 1 deletion web/src/tools/testing/recorder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SUBPROJECT_NAME=tools/testing/recorder
builder_describe "Builds the Keyman Engine for Web's test-sequence recording tool" \
"@/common/web/keyman-version" \
"@/common/web/keyboard-processor" \
"@/common/web/recorder" \
"@../recorder-core" \
"clean" \
"configure" \
"build"
Expand Down
4 changes: 2 additions & 2 deletions web/src/tools/testing/recorder/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
{ "path": "../../../../../common/web/keyman-version" },
{ "path": "../../../../../common/web/utils" },
{ "path": "../../../../../common/web/keyboard-processor" },
{ "path": "../../../../../common/web/recorder" },
{ "path": "../../../../../common/web/lm-message-types" },
{ "path": "../../../../../web/src/app/browser" }
{ "path": "../../../../../web/src/app/browser" },
{ "path": "../recorder-core" },
]
}

0 comments on commit 820aaca

Please sign in to comment.