Skip to content

Commit 028aeec

Browse files
committed
chore: update deps
1 parent fb4634c commit 028aeec

File tree

10 files changed

+346
-234
lines changed

10 files changed

+346
-234
lines changed

configs/eslint-config-custom/eslint.config.typescript.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export function eslintConfig(userConfigs = []) {
3030
{
3131
languageOptions: {
3232
parserOptions: {
33-
project: ["tsconfig.json"],
3433
tsconfigRootDir: cwd(),
3534
projectService: true,
3635

configs/eslint-config-custom/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
}
1818
},
1919
"devDependencies": {
20-
"@eslint/js": "^9.38.0",
21-
"@types/node": "^25.0.5",
22-
"@typescript-eslint/parser": "^8.46.2",
23-
"eslint": "^9.38.0",
20+
"@eslint/js": "^9.39.2",
21+
"@types/node": "^25.0.6",
22+
"@typescript-eslint/parser": "^8.52.0",
23+
"eslint": "^9.39.2",
2424
"eslint-config-prettier": "^10.1.8",
2525
"eslint-plugin-prettier": "^5.5.4",
26-
"eslint-plugin-yml": "^1.19.0",
26+
"eslint-plugin-yml": "^1.19.1",
2727
"globals": "^17.0.0",
2828
"prettier": "^3.7.4",
2929
"prettier-config-custom": "workspace:^",
3030
"typescript": "^5.9.3",
31-
"typescript-eslint": "^8.46.2",
31+
"typescript-eslint": "^8.52.0",
3232
"yaml-eslint-parser": "^1.3.2"
3333
},
3434
"prettier": "prettier-config-custom"

configs/vite-config-custom/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"vite-config-builder": "^0.1.1",
2828
"vite-plugin-dts-build": "^0.2.2",
2929
"vite-plugin-externalize-deps": "^0.10.0",
30-
"vite-tsconfig-paths": "^5.1.4"
30+
"vite-tsconfig-paths": "^6.0.4"
3131
},
3232
"dependencies": {
3333
"typescript": "^5.9.3",
34-
"vite": "^7.1.12"
34+
"vite": "^7.3.1"
3535
}
3636
}

configs/vite-config-custom/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { resolve, join } from "node:path";
2+
import { existsSync } from "node:fs";
23
import { cwd, env } from "node:process";
34

45
import { initConfigBuilder, ViteEnv, PluginBuilder } from "vite-config-builder";
@@ -161,7 +162,12 @@ function initCommonBuilder(viteConfigEnv: ConfigEnv) {
161162
});
162163
}
163164

164-
const plugins = new PluginBuilder([tsconfigPaths()]);
165+
const tsconfigPath = resolve(cwd(), "tsconfig.lib.json");
166+
const plugins = new PluginBuilder([
167+
tsconfigPaths({
168+
projects: existsSync(tsconfigPath) ? [tsconfigPath] : undefined
169+
})
170+
]);
165171

166172
return {
167173
configs,
Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
import { resolve } from "node:path";
22
import { cwd } from "node:process";
3-
import globals from 'globals'
3+
import globals from "globals";
44
import { defineConfig } from "eslint/config";
5-
import eslint from '@eslint/js'
6-
import tseslint from 'typescript-eslint'
5+
import eslint from "@eslint/js";
6+
import tseslint from "typescript-eslint";
77
import tsParser from "@typescript-eslint/parser";
8-
import reactRefreshPlugin from 'eslint-plugin-react-refresh'
9-
import reactHooksPlugin from 'eslint-plugin-react-hooks'
8+
import reactRefreshPlugin from "eslint-plugin-react-refresh";
9+
import reactHooksPlugin from "eslint-plugin-react-hooks";
1010

1111
const PACKAGE_ROOT = resolve(cwd());
1212

1313
export default defineConfig(
14-
eslint.configs.recommended,
15-
...tseslint.configs.recommended,
14+
eslint.configs.recommended,
15+
...tseslint.configs.recommended,
1616
reactHooksPlugin.configs.flat.recommended,
1717
{
1818
languageOptions: {
1919
parserOptions: {
2020
tsconfigRootDir: PACKAGE_ROOT,
2121
projectService: true,
22-
},
23-
},
22+
}
23+
}
2424
},
2525
{
26-
files: ['**/*.{ts,tsx}'],
26+
files: ["**/*.{ts,tsx}"],
2727
languageOptions: {
2828
parser: tsParser,
2929
parserOptions: {
30-
project: ["tsconfig.json"],
3130
tsconfigRootDir: cwd(),
3231
projectService: true,
3332

@@ -37,22 +36,22 @@ export default defineConfig(
3736
}
3837
},
3938
plugins: {
40-
'react-hooks': reactHooksPlugin,
41-
'react-refresh': reactRefreshPlugin,
39+
"react-hooks": reactHooksPlugin,
40+
"react-refresh": reactRefreshPlugin
4241
},
4342
rules: {
4443
...reactHooksPlugin.configs.recommended.rules,
45-
'react-refresh/only-export-components': [
46-
'warn',
47-
{ allowConstantExport: true },
48-
],
49-
},
44+
"react-refresh/only-export-components": [
45+
"warn",
46+
{ allowConstantExport: true }
47+
]
48+
}
5049
},
5150
{
5251
files: ["*.js", "*.cjs", "*.mjs"],
53-
extends: [tseslint.configs.disableTypeChecked],
52+
extends: [tseslint.configs.disableTypeChecked]
5453
},
5554
{
56-
ignores: ["dist/**"],
57-
},
58-
)
55+
ignores: ["dist/**"]
56+
}
57+
);

examples/react-babel/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@
3535
"scheduler": "^0.27.0"
3636
},
3737
"devDependencies": {
38-
"@eslint/js": "^9.38.0",
38+
"@eslint/js": "^9.39.2",
3939
"@types/babel__core": "^7.20.5",
4040
"@types/cssesc": "^3.0.2",
4141
"@types/react": "^19.2.8",
4242
"@types/react-dom": "^19.2.3",
4343
"@types/scheduler": "^0.26.0",
44-
"@typescript-eslint/parser": "^8.46.2",
44+
"@typescript-eslint/parser": "^8.52.0",
4545
"@vitejs/plugin-react": "^5.1.2",
46-
"eslint": "^9.38.0",
47-
"eslint-plugin-react-hooks": "^7.0.0",
48-
"eslint-plugin-react-refresh": "^0.4.24",
46+
"eslint": "^9.39.2",
47+
"eslint-plugin-react-hooks": "^7.0.1",
48+
"eslint-plugin-react-refresh": "^0.4.26",
4949
"globals": "^17.0.0",
5050
"typescript": "~5.9.3",
51-
"typescript-eslint": "^8.46.2",
52-
"vite": "^7.1.12"
51+
"typescript-eslint": "^8.52.0",
52+
"vite": "^7.3.1"
5353
}
5454
}

examples/react-swc/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515
"react-dom": "^19.2.3"
1616
},
1717
"devDependencies": {
18-
"@eslint/js": "^9.38.0",
18+
"@eslint/js": "^9.39.2",
1919
"@mincho-js/css": "workspace:^",
2020
"@types/react": "^19.2.8",
2121
"@types/react-dom": "^19.2.3",
22-
"@typescript-eslint/eslint-plugin": "^8.46.2",
23-
"@typescript-eslint/parser": "^8.46.2",
22+
"@typescript-eslint/eslint-plugin": "^8.52.0",
23+
"@typescript-eslint/parser": "^8.52.0",
2424
"@vanilla-extract/css": "^1.17.4",
2525
"@vanilla-extract/esbuild-plugin": "^2.3.21",
2626
"@vanilla-extract/vite-plugin": "^5.1.4",
2727
"@vitejs/plugin-react-swc": "^4.2.2",
28-
"eslint": "^9.38.0",
29-
"eslint-plugin-react-hooks": "^7.0.0",
30-
"eslint-plugin-react-refresh": "^0.4.24",
28+
"eslint": "^9.39.2",
29+
"eslint-plugin-react-hooks": "^7.0.1",
30+
"eslint-plugin-react-refresh": "^0.4.26",
3131
"globals": "^17.0.0",
3232
"typescript": "^5.9.3",
33-
"typescript-eslint": "^8.46.2",
34-
"vite": "^7.1.12"
33+
"typescript-eslint": "^8.52.0",
34+
"vite": "^7.3.1"
3535
}
3636
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@
5252
"@mincho-js/debug-log": "workspace:^",
5353
"@monorepo-utils/workspaces-to-typescript-project-references": "^2.11.0",
5454
"@types/eslint": "^9.6.1",
55-
"@types/node": "^25.0.5",
55+
"@types/node": "^25.0.6",
5656
"@typescript/analyze-trace": "^0.10.1",
5757
"@vanilla-extract/vite-plugin": "^5.1.4",
5858
"@vitest/coverage-v8": "^4.0.16",
5959
"@yarnpkg/types": "^4.0.1",
6060
"c8": "^10.1.3",
61-
"eslint": "^9.38.0",
61+
"eslint": "^9.39.2",
6262
"eslint-config-custom": "workspace:^",
6363
"prettier": "^3.7.4",
6464
"prettier-config-custom": "workspace:^",
@@ -68,8 +68,8 @@
6868
"tsconfig-custom": "workspace:^",
6969
"turbo": "^2.7.3",
7070
"typescript": "^5.9.3",
71-
"vite": "^7.1.12",
72-
"vite-node": "^3.2.4",
71+
"vite": "^7.3.1",
72+
"vite-node": "^5.2.0",
7373
"vitest": "^4.0.16",
7474
"yarn-constraints-rules": "^0.1.0"
7575
},

packages/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
},
6363
"devDependencies": {
6464
"@types/babel__core": "^7.20.5",
65-
"@types/node": "^25.0.5",
65+
"@types/node": "^25.0.6",
6666
"@vanilla-extract/css": "^1.17.4",
6767
"@vanilla-extract/recipes": "^0.5.7",
6868
"eslint-config-custom": "workspace:^",

0 commit comments

Comments
 (0)