diff --git a/developer/src/vscode-plugin/build.sh b/developer/src/vscode-plugin/build.sh index 5d8298e014f..84824e51bae 100755 --- a/developer/src/vscode-plugin/build.sh +++ b/developer/src/vscode-plugin/build.sh @@ -11,10 +11,12 @@ THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")" . "$KEYMAN_ROOT/resources/shellHelperFunctions.sh" builder_describe "Keyman Developer for VSCode module" \ + "clean" \ "configure" \ "build" \ - "clean" \ - "test" + "test" \ + "api" \ + "publish" builder_describe_outputs \ configure /node_modules \ @@ -22,26 +24,10 @@ builder_describe_outputs \ builder_parse "$@" -function do_clean() { - rm -rf ./out/ ./tsconfig.tsbuildinfo .vscode-test -} - -function do_configure() { - verify_npm_setup -} - -function do_build() { - npm run compile -} - -function do_test() { - npm test -} - -builder_run_action clean do_clean -builder_run_action configure do_configure -builder_run_action build do_build -builder_run_action test do_test +builder_run_action clean rm -rf ./out/ ./tsconfig.tsbuildinfo .vscode-test +builder_run_action configure verify_npm_setup +builder_run_action build npm run compile +builder_run_action test npm test #------------------------------------------------------------------------------------------------------------------- diff --git a/developer/src/vscode-plugin/package.json b/developer/src/vscode-plugin/package.json index cc5bf860502..cabf5921e45 100644 --- a/developer/src/vscode-plugin/package.json +++ b/developer/src/vscode-plugin/package.json @@ -51,10 +51,10 @@ }, "license": "MIT", "dependencies": { - "@keymanapp/common-types": "file:../../../common/web/types", - "@keymanapp/developer-utils": "file:../common/web/utils", - "@keymanapp/kmc-kmn": "file:../kmc-kmn", - "@keymanapp/kmc-ldml": "file:../kmc-ldml", - "@keymanapp/kmc-package": "file:../kmc-package" + "@keymanapp/common-types": "*", + "@keymanapp/developer-utils": "*", + "@keymanapp/kmc-kmn": "*", + "@keymanapp/kmc-ldml": "*", + "@keymanapp/kmc-package": "*" } }