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

[ts] Missing types pulled from npm #1609

Merged
merged 3 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions org.lflang/src/lib/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions test/TypeScript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down