1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-29 11:24:38 +02:00

remove vite swc plugin as oxc parser can handle decorators

This commit is contained in:
kakkokari-gtyih
2026-04-19 01:28:51 +09:00
parent fb44951fe0
commit 7c6e969249
3 changed files with 0 additions and 28 deletions

View File

@@ -221,7 +221,6 @@
"rolldown": "1.0.0-rc.15",
"simple-oauth2": "5.1.0",
"supertest": "7.2.2",
"unplugin-swc": "1.5.9",
"vite": "8.0.8",
"vitest": "4.1.4",
"vitest-mock-extended": "3.1.1"

View File

@@ -1,11 +1,7 @@
import { resolve } from 'node:path';
import swc from 'unplugin-swc';
import { defineConfig } from 'vitest/config';
export const baseConfig = defineConfig({
plugins: [
swc.vite(),
],
test: {
exclude: ['node_modules', 'dist'],
coverage: {

23
pnpm-lock.yaml generated
View File

@@ -550,9 +550,6 @@ importers:
supertest:
specifier: 7.2.2
version: 7.2.2
unplugin-swc:
specifier: 1.5.9
version: 1.5.9(@swc/core@1.15.24)(rollup@4.60.1)
vite:
specifier: 8.0.8
version: 8.0.8(@types/node@24.12.2)(esbuild@0.28.0)(sass-embedded@1.99.0)(sass@1.99.0)(terser@5.46.1)(tsx@4.21.0)
@@ -7750,10 +7747,6 @@ packages:
resolution: {integrity: sha512-v5xlu8eHD1+6r8EHTg6hfmO97LN8ugKtiXcy5e6oN72iD2r6u0RPfLl6fxM+7Wnh2ZRq15o0russMst44WauPA==}
engines: {node: '>=13.2.0'}
load-tsconfig@0.2.5:
resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
locate-path@5.0.0:
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
@@ -10499,11 +10492,6 @@ packages:
resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
engines: {node: '>= 0.8'}
unplugin-swc@1.5.9:
resolution: {integrity: sha512-RKwK3yf0M+MN17xZfF14bdKqfx0zMXYdtOdxLiE6jHAoidupKq3jGdJYANyIM1X/VmABhh1WpdO+/f4+Ol89+g==}
peerDependencies:
'@swc/core': ^1.2.108
unplugin@1.16.1:
resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==}
engines: {node: '>=14.0.0'}
@@ -18341,8 +18329,6 @@ snapshots:
load-esm@1.0.3: {}
load-tsconfig@0.2.5: {}
locate-path@5.0.0:
dependencies:
p-locate: 4.1.0
@@ -21371,15 +21357,6 @@ snapshots:
unpipe@1.0.0: {}
unplugin-swc@1.5.9(@swc/core@1.15.24)(rollup@4.60.1):
dependencies:
'@rollup/pluginutils': 5.3.0(rollup@4.60.1)
'@swc/core': 1.15.24
load-tsconfig: 0.2.5
unplugin: 2.3.11
transitivePeerDependencies:
- rollup
unplugin@1.16.1:
dependencies:
acorn: 8.16.0