Skip to content

Commit 9738161

Browse files
authored
2.0.0-beta (#1142)
1 parent d027aa4 commit 9738161

File tree

257 files changed

+11669
-2611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+11669
-2611
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-24.04-arm
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Setup node@23
17+
- name: Setup node@24
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 23
20+
node-version: 24
2121
- name: Enable Corepack
2222
run: corepack enable
2323
- name: Install front-end dependencies

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# - https://gh.io/supported-runners-and-hardware-resources
2828
# - https://gh.io/using-larger-runners (GitHub.com only)
2929
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
30+
runs-on: ${{ (matrix.language == 'swift' && 'ubuntu-24.04-arm') || 'ubuntu-latest' }}
3131
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
3232
permissions:
3333
# required for all workflows

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
id-token: write
2323
steps:
2424
- uses: actions/checkout@v4
25-
- name: Setup node@23
25+
- name: Setup node@24
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 23
28+
node-version: 24
2929
registry-url: "https://registry.npmjs.org"
3030
- name: Enable Corepack
3131
run: corepack enable

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ jobs:
1515
runs-on: ubuntu-24.04-arm
1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Setup node@23
18+
- name: Setup node@24
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 23
21+
node-version: 24
2222
- name: Enable Corepack
2323
run: corepack enable
2424
- name: Install front-end dependencies
2525
run: pnpm install
2626
- name: Build front-end assets
2727
run: pnpm run build
28-
- name: Test on node@23
28+
- name: Test on node@24
2929
run: pnpm run test
30-
- name: Setup node@18
30+
- name: Setup node@20
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 18
33+
node-version: 20
3434
- name: Enable Corepack
3535
run: corepack enable
36-
- name: Test on node@18
36+
- name: Test on node@20
3737
run: pnpm run test

.pkgs/configs/eslint.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const templateIndentTags = [
1313
"ts",
1414
"tsx",
1515
"html",
16+
"glsl",
1617
"dedent",
1718
"outdent",
1819
];
@@ -108,7 +109,7 @@ export const typescript = tseslint.config({
108109
"function/function-return-boolean": ["error", { pattern: "/^(is|has|can|should)/" }],
109110
"@stylistic/arrow-parens": ["warn", "always"],
110111
"@stylistic/no-multi-spaces": ["warn"],
111-
"@stylistic/operator-linebreak": ["warn", "before"],
112+
"@stylistic/operator-linebreak": "off",
112113
"@stylistic/quote-props": ["error", "as-needed"],
113114
"perfectionist/sort-exports": ["warn", { type: "natural", order: "asc" }],
114115
"perfectionist/sort-imports": ["warn", {

.pkgs/configs/eslint.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const templateIndentTags = [
1717
"ts",
1818
"tsx",
1919
"html",
20+
"glsl",
2021
"dedent",
2122
"outdent",
2223
];
@@ -121,7 +122,7 @@ export const typescript: ConfigArray = tseslint.config(
121122

122123
"@stylistic/arrow-parens": ["warn", "always"],
123124
"@stylistic/no-multi-spaces": ["warn"],
124-
"@stylistic/operator-linebreak": ["warn", "before"],
125+
"@stylistic/operator-linebreak": "off",
125126
"@stylistic/quote-props": ["error", "as-needed"],
126127

127128
"perfectionist/sort-exports": ["warn", { type: "natural", order: "asc" }],

.pkgs/configs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
},
2121
"dependencies": {
2222
"@eslint/js": "^9.29.0",
23-
"@stylistic/eslint-plugin": "^4.4.1",
23+
"@stylistic/eslint-plugin": "^5.0.0",
2424
"eslint-plugin-de-morgan": "^1.3.0",
2525
"eslint-plugin-function": "^0.0.22",
26-
"eslint-plugin-jsdoc": "^51.0.3",
26+
"eslint-plugin-jsdoc": "^51.2.3",
2727
"eslint-plugin-perfectionist": "^4.15.0",
2828
"eslint-plugin-regexp": "^2.9.0",
2929
"eslint-plugin-unicorn": "^59.0.1",
30-
"typescript-eslint": "^8.34.1"
30+
"typescript-eslint": "^8.35.0"
3131
}
3232
}

.pkgs/eslint-plugin-local/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
"@eslint-react/shared": "workspace:*",
2828
"@eslint-react/var": "workspace:*",
2929
"@eslint/js": "^9.29.0",
30-
"@stylistic/eslint-plugin": "^4.4.1",
31-
"@typescript-eslint/scope-manager": "^8.34.1",
32-
"@typescript-eslint/type-utils": "^8.34.1",
33-
"@typescript-eslint/types": "^8.34.1",
34-
"@typescript-eslint/utils": "^8.34.1",
30+
"@stylistic/eslint-plugin": "^5.0.0",
31+
"@typescript-eslint/scope-manager": "^8.35.0",
32+
"@typescript-eslint/type-utils": "^8.35.0",
33+
"@typescript-eslint/types": "^8.35.0",
34+
"@typescript-eslint/utils": "^8.35.0",
3535
"eslint-plugin-de-morgan": "^1.3.0",
36-
"eslint-plugin-jsdoc": "^51.0.3",
36+
"eslint-plugin-jsdoc": "^51.2.3",
3737
"eslint-plugin-perfectionist": "^4.15.0",
3838
"eslint-plugin-regexp": "^2.9.0",
3939
"eslint-plugin-unicorn": "^59.0.1",
@@ -47,11 +47,11 @@
4747
"tsup": "^8.5.0"
4848
},
4949
"peerDependencies": {
50-
"eslint": "^8.57.0 || ^9.0.0",
51-
"typescript": "^4.9.5 || ^5.3.3"
50+
"eslint": "^9.29.0",
51+
"typescript": "^4.9.5 || ^5.4.5"
5252
},
5353
"engines": {
5454
"bun": ">=1.0.15",
55-
"node": ">=18.18.0"
55+
"node": ">=20.19.0"
5656
}
5757
}

.pkgs/eslint-plugin-local/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export default {
1111
platform: "node",
1212
sourcemap: false,
1313
splitting: false,
14-
target: "node18",
14+
target: "node20",
1515
treeshake: true,
1616
} satisfies Options;

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
> [!NOTE]\
5454
> ESLint React requires the following minimum versions:
5555
>
56-
> - Node.js: 18.18.0
57-
> - ESLint: 8.57.0
56+
> - Node.js: 20.19.0
57+
> - ESLint: 9.24.0
5858
> - TypeScript: 4.9.5
5959
6060
### Install

0 commit comments

Comments
 (0)