forked from BigfootDev/flatbuffers
[TS] Upgrade deps (#8620)
This commit is contained in:
13
.eslintrc.js
13
.eslintrc.js
@@ -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',
|
|
||||||
]
|
|
||||||
};
|
|
||||||
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -394,7 +394,7 @@ jobs:
|
|||||||
# Force Xcode 14.3 since Xcode 15 doesnt support older versions of
|
# Force Xcode 14.3 since Xcode 15 doesnt support older versions of
|
||||||
# kotlin. For Xcode 15, kotlin should be bumpped to 1.9.10
|
# kotlin. For Xcode 15, kotlin should be bumpped to 1.9.10
|
||||||
# https://stackoverflow.com/a/77150623
|
# https://stackoverflow.com/a/77150623
|
||||||
# For now, run with macos-13 which has this 14.3 installed:
|
# For now, run with macos-13 which has this 14.3 installed:
|
||||||
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
|
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
|
||||||
- name: Set up Xcode version
|
- name: Set up Xcode version
|
||||||
run: sudo xcode-select -s /Applications/Xcode_14.3.app/Contents/Developer
|
run: sudo xcode-select -s /Applications/Xcode_14.3.app/Contents/Developer
|
||||||
@@ -534,14 +534,15 @@ jobs:
|
|||||||
- name: flatc
|
- name: flatc
|
||||||
# FIXME: make test script not rely on 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
|
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
|
- name: deps
|
||||||
run: yarn
|
run: pnpm i
|
||||||
- name: compile
|
- name: compile
|
||||||
run: yarn compile
|
run: pnpm compile
|
||||||
- name: test
|
- name: test
|
||||||
working-directory: tests/ts
|
working-directory: tests/ts
|
||||||
run: |
|
run: |
|
||||||
yarn global add esbuild
|
|
||||||
python3 TypeScriptTest.py
|
python3 TypeScriptTest.py
|
||||||
|
|
||||||
build-dart:
|
build-dart:
|
||||||
@@ -582,12 +583,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: bazel build
|
- name: bazel build
|
||||||
run: >
|
run: >
|
||||||
bazel build
|
bazel build
|
||||||
//:flatc
|
//:flatc
|
||||||
//:flatbuffers
|
//:flatbuffers
|
||||||
- name: bazel test
|
- name: bazel test
|
||||||
run: >
|
run: >
|
||||||
bazel test
|
bazel test
|
||||||
//tests:flatbuffers_test
|
//tests:flatbuffers_test
|
||||||
|
|
||||||
release-digests:
|
release-digests:
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ bazel_dep(
|
|||||||
)
|
)
|
||||||
bazel_dep(
|
bazel_dep(
|
||||||
name = "aspect_rules_js",
|
name = "aspect_rules_js",
|
||||||
version = "2.1.3",
|
version = "2.3.8",
|
||||||
)
|
)
|
||||||
bazel_dep(
|
bazel_dep(
|
||||||
name = "aspect_rules_ts",
|
name = "aspect_rules_ts",
|
||||||
version = "3.4.0",
|
version = "3.6.0",
|
||||||
)
|
)
|
||||||
bazel_dep(
|
bazel_dep(
|
||||||
name = "grpc",
|
name = "grpc",
|
||||||
|
|||||||
10
eslint.config.mjs
Normal file
10
eslint.config.mjs
Normal 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,
|
||||||
|
];
|
||||||
20
package.json
20
package.json
@@ -35,11 +35,19 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://google.github.io/flatbuffers/",
|
"homepage": "https://google.github.io/flatbuffers/",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.10.4",
|
"@eslint/js": "^9.29.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
"@types/node": "^24.0.3",
|
||||||
"@typescript-eslint/parser": "^6.13.2",
|
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
||||||
"esbuild": "^0.19.8",
|
"@typescript-eslint/parser": "^8.34.1",
|
||||||
"eslint": "^8.55.0",
|
"esbuild": "^0.25.5",
|
||||||
"typescript": "5.3.3"
|
"eslint": "^9.29.0",
|
||||||
|
"typescript": "5.8.3",
|
||||||
|
"typescript-eslint": "^8.34.1"
|
||||||
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"onlyBuiltDependencies": [],
|
||||||
|
"ignoredBuiltDependencies": [
|
||||||
|
"esbuild"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1860
pnpm-lock.yaml
generated
1860
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user