diff --git a/.github/workflows/ts-tests.yml b/.github/workflows/ts-tests.yml index 79d2e895d3..5e110e9253 100644 --- a/.github/workflows/ts-tests.yml +++ b/.github/workflows/ts-tests.yml @@ -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) diff --git a/core/src/main/resources/lib/ts/package.json b/core/src/main/resources/lib/ts/package.json index fc063d791e..eec471ab6d 100644 --- a/core/src/main/resources/lib/ts/package.json +++ b/core/src/main/resources/lib/ts/package.json @@ -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" }, @@ -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" diff --git a/core/src/main/resources/lib/ts/tsconfig.json b/core/src/main/resources/lib/ts/tsconfig.json index ae7bb7804a..bd1f323b67 100644 --- a/core/src/main/resources/lib/ts/tsconfig.json +++ b/core/src/main/resources/lib/ts/tsconfig.json @@ -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"],