Skip to content

Commit 9ebfe68

Browse files
authored
chore: bump deps (#318)
1 parent 814ed80 commit 9ebfe68

File tree

15 files changed

+954
-789
lines changed

15 files changed

+954
-789
lines changed

.eslintrc.cjs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = defineConfig({
99
root: true,
1010
extends: [
1111
'eslint:recommended',
12-
'plugin:node/recommended',
12+
'plugin:n/recommended',
1313
'plugin:@typescript-eslint/recommended',
1414
'plugin:regexp/recommended',
1515
],
@@ -23,7 +23,6 @@ module.exports = defineConfig({
2323
eqeqeq: ['warn', 'always', { null: 'never' }],
2424
'no-debugger': ['error'],
2525
'no-empty': ['warn', { allowEmptyCatch: true }],
26-
'no-process-exit': 'off',
2726
'no-useless-escape': 'off',
2827
'prefer-const': [
2928
'warn',
@@ -32,37 +31,38 @@ module.exports = defineConfig({
3231
},
3332
],
3433

35-
'node/no-missing-import': [
34+
'n/no-process-exit': 'off',
35+
'n/no-missing-import': [
3636
'error',
3737
{
3838
allowModules: ['types', 'estree', 'less', 'sass', 'stylus'],
3939
tryExtensions: ['.ts', '.js', '.jsx', '.tsx', '.d.ts'],
4040
},
4141
],
42-
'node/no-missing-require': [
42+
'n/no-missing-require': [
4343
'error',
4444
{
4545
// for try-catching yarn pnp
4646
allowModules: ['pnpapi', 'vite'],
4747
tryExtensions: ['.ts', '.js', '.jsx', '.tsx', '.d.ts'],
4848
},
4949
],
50-
'node/no-extraneous-import': [
50+
'n/no-extraneous-import': [
5151
'error',
5252
{
5353
allowModules: ['vite', 'less', 'sass', 'vitest'],
5454
},
5555
],
56-
'node/no-extraneous-require': [
56+
'n/no-extraneous-require': [
5757
'error',
5858
{
5959
allowModules: ['vite'],
6060
},
6161
],
62-
'node/no-deprecated-api': 'off',
63-
'node/no-unpublished-import': 'off',
64-
'node/no-unpublished-require': 'off',
65-
'node/no-unsupported-features/es-syntax': 'off',
62+
'n/no-deprecated-api': 'off',
63+
'n/no-unpublished-import': 'off',
64+
'n/no-unpublished-require': 'off',
65+
'n/no-unsupported-features/es-syntax': 'off',
6666

6767
'@typescript-eslint/ban-ts-comment': 'off', // TODO: we should turn this on in a new PR
6868
'@typescript-eslint/ban-types': 'off', // TODO: we should turn this on in a new PR
@@ -122,25 +122,25 @@ module.exports = defineConfig({
122122
files: ['**/build.config.ts'],
123123
rules: {
124124
'no-undef': 'off',
125-
'node/no-missing-import': 'off',
125+
'n/no-missing-import': 'off',
126126
'@typescript-eslint/explicit-module-boundary-types': 'off',
127127
},
128128
},
129129
{
130130
files: ['playground/**'],
131131
rules: {
132-
'node/no-extraneous-import': 'off',
133-
'node/no-extraneous-require': 'off',
134-
'node/no-missing-import': 'off',
135-
'node/no-missing-require': 'off',
132+
'n/no-extraneous-import': 'off',
133+
'n/no-extraneous-require': 'off',
134+
'n/no-missing-import': 'off',
135+
'n/no-missing-require': 'off',
136136
// engine field doesn't exist in playgrounds
137-
'node/no-unsupported-features/es-builtins': [
137+
'n/no-unsupported-features/es-builtins': [
138138
'error',
139139
{
140140
version: '^14.18.0 || >=16.0.0',
141141
},
142142
],
143-
'node/no-unsupported-features/node-builtins': [
143+
'n/no-unsupported-features/node-builtins': [
144144
'error',
145145
{
146146
version: '^14.18.0 || >=16.0.0',

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/checkout@v4
5151

5252
- name: Install pnpm
53-
uses: pnpm/action-setup@v3.0.0
53+
uses: pnpm/action-setup@v4.0.0
5454

5555
- name: Set node version to ${{ matrix.node_version }}
5656
uses: actions/setup-node@v4
@@ -101,7 +101,7 @@ jobs:
101101
fetch-depth: 0
102102

103103
- name: Install pnpm
104-
uses: pnpm/action-setup@v3.0.0
104+
uses: pnpm/action-setup@v4.0.0
105105

106106
- name: Set node version to 18
107107
uses: actions/setup-node@v4

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v4
1515

1616
- name: Install pnpm
17-
uses: pnpm/action-setup@v3.0.0
17+
uses: pnpm/action-setup@v4.0.0
1818

1919
- name: Set node version to 16.x
2020
uses: actions/setup-node@v4

package.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,30 +31,29 @@
3131
"ci-publish": "tsx scripts/publishCI.ts"
3232
},
3333
"devDependencies": {
34-
"@eslint-types/typescript-eslint": "^6.12.0",
35-
"@eslint-types/import": "^2.29.0-1",
34+
"@eslint-types/typescript-eslint": "^7.5.0",
35+
"@eslint-types/import": "^2.29.1",
3636
"@types/fs-extra": "^11.0.4",
37-
"@types/node": "^20.10.3",
38-
"@typescript-eslint/eslint-plugin": "^6.13.1",
39-
"@typescript-eslint/parser": "^6.13.1",
37+
"@types/node": "^20.12.12",
38+
"@typescript-eslint/eslint-plugin": "^7.9.0",
39+
"@typescript-eslint/parser": "^7.9.0",
4040
"@vitejs/release-scripts": "^1.3.1",
41-
"eslint": "^8.55.0",
42-
"eslint-define-config": "^2.0.0",
43-
"eslint-plugin-import": "^2.29.0",
44-
"eslint-plugin-node": "^11.1.0",
45-
"eslint-plugin-regexp": "^2.1.2",
41+
"eslint": "^8.57.0",
42+
"eslint-define-config": "^2.1.0",
43+
"eslint-plugin-import": "^2.29.1",
44+
"eslint-plugin-n": "^17.7.0",
45+
"eslint-plugin-regexp": "^2.5.0",
4646
"fs-extra": "^11.2.0",
47-
"lint-staged": "^15.2.0",
47+
"lint-staged": "^15.2.2",
4848
"npm-run-all": "^4.1.5",
49-
"picocolors": "^1.0.0",
50-
"playwright-chromium": "^1.40.1",
49+
"picocolors": "^1.0.1",
50+
"playwright-chromium": "^1.44.0",
5151
"prettier": "^3.0.3",
52-
"simple-git-hooks": "^2.9.0",
53-
"tsx": "^4.6.2",
54-
"typescript": "^5.3.2",
55-
"unbuild": "^2.0.0",
56-
"vite": "^5.0.5",
57-
"vitest": "^1.0.4"
52+
"simple-git-hooks": "^2.11.1",
53+
"tsx": "^4.10.5",
54+
"typescript": "^5.4.5",
55+
"vite": "^5.2.11",
56+
"vitest": "^1.6.0"
5857
},
5958
"simple-git-hooks": {
6059
"pre-commit": "pnpm exec lint-staged --concurrent false"

packages/plugin-react/package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,16 @@
3838
},
3939
"homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
4040
"dependencies": {
41-
"@babel/core": "^7.23.5",
42-
"@babel/plugin-transform-react-jsx-self": "^7.23.3",
43-
"@babel/plugin-transform-react-jsx-source": "^7.23.3",
41+
"@babel/core": "^7.24.5",
42+
"@babel/plugin-transform-react-jsx-self": "^7.24.5",
43+
"@babel/plugin-transform-react-jsx-source": "^7.24.1",
4444
"@types/babel__core": "^7.20.5",
45-
"react-refresh": "^0.14.0"
45+
"react-refresh": "^0.14.2"
4646
},
4747
"peerDependencies": {
4848
"vite": "^4.2.0 || ^5.0.0"
49+
},
50+
"devDependencies": {
51+
"unbuild": "^2.0.0"
4952
}
5053
}

playground/mdx/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"react": "^18.2.0",
12-
"react-dom": "^18.2.0"
11+
"react": "^18.3.1",
12+
"react-dom": "^18.3.1"
1313
},
1414
"devDependencies": {
15-
"@mdx-js/rollup": "^3.0.0",
16-
"@types/react": "^18.2.41",
17-
"@types/react-dom": "^18.2.17",
15+
"@mdx-js/rollup": "^3.0.1",
16+
"@types/react": "^18.3.2",
17+
"@types/react-dom": "^18.3.0",
1818
"@vitejs/plugin-react": "workspace:*"
1919
}
2020
}

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vitejs/vite-plugin-react-playground",
33
"private": true,
4-
"version": "1.0.0",
4+
"type": "module",
55
"devDependencies": {
66
"kill-port": "^1.6.1",
77
"node-fetch": "^3.3.2"

playground/react-classic/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@vitejs/test-react-classic",
33
"private": true,
4-
"version": "0.0.0",
4+
"type": "module",
55
"scripts": {
66
"dev": "vite",
77
"build": "vite build",
88
"debug": "node --inspect-brk vite",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
12+
"react": "^18.3.1",
13+
"react-dom": "^18.3.1"
1414
},
1515
"devDependencies": {
1616
"@vitejs/plugin-react": "workspace:*"

playground/react-emotion/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"name": "@vitejs/test-react-emotion",
33
"private": true,
4-
"version": "0.0.0",
4+
"type": "module",
55
"scripts": {
66
"dev": "vite",
77
"build": "vite build",
88
"debug": "node --inspect-brk vite",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@emotion/react": "^11.11.1",
13-
"@emotion/styled": "^11.11.0",
14-
"react": "^18.2.0",
15-
"react-dom": "^18.2.0",
12+
"@emotion/react": "^11.11.4",
13+
"@emotion/styled": "^11.11.5",
14+
"react": "^18.3.1",
15+
"react-dom": "^18.3.1",
1616
"react-switch": "^7.0.0"
1717
},
1818
"devDependencies": {
19-
"@babel/plugin-proposal-pipeline-operator": "^7.23.3",
19+
"@babel/plugin-proposal-pipeline-operator": "^7.24.1",
2020
"@emotion/babel-plugin": "^11.11.0",
2121
"@vitejs/plugin-react": "workspace:*"
2222
},

playground/react-env/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@vitejs/test-react-env",
33
"private": true,
4-
"version": "0.0.0",
4+
"type": "module",
55
"scripts": {
66
"dev": "vite",
77
"build": "vite build",
88
"debug": "node --inspect-brk vite",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
12+
"react": "^18.3.1",
13+
"react-dom": "^18.3.1"
1414
},
1515
"devDependencies": {
1616
"@vitejs/plugin-react": "workspace:*"

0 commit comments

Comments
 (0)