diff --git a/org.lflang/src/lib/ts/package.json b/org.lflang/src/lib/ts/package.json index 34e171c54d..47dfa5153f 100644 --- a/org.lflang/src/lib/ts/package.json +++ b/org.lflang/src/lib/ts/package.json @@ -2,7 +2,7 @@ "name": "LinguaFrancaDefault", "type": "commonjs", "dependencies": { - "@lf-lang/reactor-ts": "0.3.0", + "@lf-lang/reactor-ts": "0.3.1", "@babel/cli": "^7.8.4", "@babel/core": "^7.8.7", "@babel/node": "^7.8.7", @@ -17,8 +17,12 @@ "rimraf": "^3.0.2" }, "devDependencies": { + "@types/command-line-args": "^5.2.0", + "@types/command-line-usage": "^5.0.2", + "@types/jest": "^27.0.0", + "@types/microtime": "^2.1.0", + "@types/node": "^16.3.3", "@types/google-protobuf": "^3.7.4", - "@types/node": "^13.9.2", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "5.33.0", "@typescript-eslint/parser": "^5.8.1", diff --git a/test/TypeScript/README.md b/test/TypeScript/README.md index c2e04e2efd..c865f31894 100644 --- a/test/TypeScript/README.md +++ b/test/TypeScript/README.md @@ -9,6 +9,11 @@ To run the tests with an alternative runtime, use the `-Druntime` flag to specif ``` ./gradlew test --tests org.lflang.tests.runtime.TypeScriptTest.* -Druntime="~/lf-lang/reactor-ts" ``` +- To point to a branch of a remote repository, use: +``` +-Druntime="git://github.com/lf-lang/reactor-ts.git#branch-name +``` + - Note that `lfc` can be pointed to an alternative runtime as well, using the `external-runtime-path` switch: ``` lfc test/TypeScript/src/Minimal.lf --external-runtime-path ~/lf-lang/reactor-ts