Skip to content

Commit aad378e

Browse files
authored
chore: remove unused deps (#575)
1 parent 4a03d51 commit aad378e

File tree

6 files changed

+17
-99
lines changed

6 files changed

+17
-99
lines changed

eslint.config.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,6 @@ export default tseslint.config(
101101
'no-restricted-globals': ['error', 'require', '__dirname', '__filename'],
102102
},
103103
},
104-
{
105-
files: ['*.spec.ts'],
106-
rules: {
107-
'n/no-extraneous-import': 'off',
108-
},
109-
},
110104
{
111105
files: ['**/build.config.ts'],
112106
rules: {
@@ -148,6 +142,20 @@ export default tseslint.config(
148142
'@typescript-eslint/no-empty-function': 'off',
149143
},
150144
},
145+
{
146+
name: 'tests',
147+
files: ['**/__tests__/**/*'],
148+
rules: {
149+
'n/no-extraneous-import': 'off',
150+
'n/no-unsupported-features/node-builtins': [
151+
'error',
152+
{
153+
version: '^18.0.0 || >=20.0.0',
154+
allowExperimental: true,
155+
},
156+
],
157+
},
158+
},
151159
{
152160
files: ['*.js', '*.mjs', '*.cjs'],
153161
rules: {

playground/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"@types/node": "^22.14.1",
88
"convert-source-map": "^2.0.0",
99
"css-color-names": "^1.0.1",
10-
"kill-port": "^1.6.1",
11-
"node-fetch": "^3.3.2",
12-
"sirv": "^3.0.1"
10+
"kill-port": "^1.6.1"
1311
}
1412
}

playground/ssr-vue/__tests__/ssr-vue.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { resolve } from 'node:path'
22
import { fileURLToPath } from 'node:url'
3-
import fetch from 'node-fetch'
43
import { expect, test, vi } from 'vitest'
54
import { port } from './serve'
65
import {

playground/tailwind-v3/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"dependencies": {
1313
"autoprefixer": "^10.4.21",
1414
"tailwindcss": "^3.4.17",
15-
"vue": "catalog:",
16-
"vue-router": "catalog:"
15+
"vue": "catalog:"
1716
},
1817
"devDependencies": {
1918
"@types/node": "^22.14.1",

playground/tailwind/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"dependencies": {
1313
"@tailwindcss/vite": "^4.1.4",
1414
"tailwindcss": "^4.1.4",
15-
"vue": "catalog:",
16-
"vue-router": "catalog:"
15+
"vue": "catalog:"
1716
},
1817
"devDependencies": {
1918
"@types/node": "^22.14.1",

pnpm-lock.yaml

Lines changed: 0 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)