Skip to content

Commit

Permalink
Attempt to fix Windows/TypeScript issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Oct 14, 2024
1 parent bb350dc commit 3da4aae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ts-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- name: Prepare build environment
uses: ./.github/actions/prepare-build-env
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
- name: Install pnpm
run: npm i -g pnpm
- name: Install coreutils (macOS)
Expand Down
13 changes: 6 additions & 7 deletions core/src/main/resources/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": "git://github.com/lf-lang/reactor-ts.git#master",
"@lf-lang/reactor-ts": "^0.6.1",
"command-line-args": "^5.1.1",
"command-line-usage": "^6.1.3"
},
Expand All @@ -11,13 +11,12 @@
"@types/command-line-usage": "^5.0.2",
"@types/google-protobuf": "^3.7.4",
"@types/microtime": "^2.1.0",
"@types/node": "^18.14.2",
"@typescript-eslint/eslint-plugin": "5.33.0",
"@typescript-eslint/parser": "^5.8.1",
"eslint": "^8.5.0",
"typescript": "~4.8.2",
"@types/node": "^22.5.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"typescript": "^5.1.6",
"ts-protoc-gen": "^0.15.0",
"rimraf": "^3.0.2"
"rimraf": "^6.0.1"
},
"scripts": {
"build": "npx rimraf dist && npx tsc --outDir dist"
Expand Down
1 change: 0 additions & 1 deletion core/src/main/resources/lib/ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"target": "esnext",
"module": "CommonJS",
"types": ["node", "@lf-lang/reactor-ts", "microtime", "command-line-args", "command-line-usage"],
"typeRoots": ["./node_modules/@types/", "./node_modules/@lf-lang/reactor-ts/src/core/@types/"],
"esModuleInterop": true,
"isolatedModules": true,
"lib": ["esnext", "dom"],
Expand Down

0 comments on commit 3da4aae

Please sign in to comment.