[TS] Upgrade deps (#8620)

This commit is contained in:
Björn Harrtell
2025-06-22 17:59:42 +02:00
committed by GitHub
parent 5a95b7b6bc
commit a2916d37e7
6 changed files with 1034 additions and 886 deletions

View File

@@ -1,13 +0,0 @@
/* eslint-env node */
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
]
};

View File

@@ -534,14 +534,15 @@ jobs:
- name: flatc
# FIXME: make test script not rely on flatc
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j
- name: pnpm
run: npm install -g pnpm esbuild
- name: deps
run: yarn
run: pnpm i
- name: compile
run: yarn compile
run: pnpm compile
- name: test
working-directory: tests/ts
run: |
yarn global add esbuild
python3 TypeScriptTest.py
build-dart:

View File

@@ -15,11 +15,11 @@ bazel_dep(
)
bazel_dep(
name = "aspect_rules_js",
version = "2.1.3",
version = "2.3.8",
)
bazel_dep(
name = "aspect_rules_ts",
version = "3.4.0",
version = "3.6.0",
)
bazel_dep(
name = "grpc",

10
eslint.config.mjs Normal file
View File

@@ -0,0 +1,10 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: {...globals.browser, ...globals.node} }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];

View File

@@ -35,11 +35,19 @@
},
"homepage": "https://google.github.io/flatbuffers/",
"devDependencies": {
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"esbuild": "^0.19.8",
"eslint": "^8.55.0",
"typescript": "5.3.3"
"@eslint/js": "^9.29.0",
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"esbuild": "^0.25.5",
"eslint": "^9.29.0",
"typescript": "5.8.3",
"typescript-eslint": "^8.34.1"
},
"pnpm": {
"onlyBuiltDependencies": [],
"ignoredBuiltDependencies": [
"esbuild"
]
}
}

1846
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff