Skip to content

Commit d74aded

Browse files
fix: remove unused dependencies (#16969)
* fix(frontend): remove unused dependencies * fix(backend): remove unused dependencies
1 parent d605680 commit d74aded

5 files changed

Lines changed: 30 additions & 152 deletions

File tree

packages/backend/package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"@aws-sdk/lib-storage": "3.940.0",
7676
"@discordapp/twemoji": "16.0.1",
7777
"@fastify/accepts": "5.0.3",
78-
"@fastify/cookie": "11.0.2",
7978
"@fastify/cors": "11.1.0",
8079
"@fastify/express": "4.0.2",
8180
"@fastify/http-proxy": "11.3.0",
@@ -107,7 +106,6 @@
107106
"body-parser": "2.2.1",
108107
"bullmq": "5.65.0",
109108
"cacheable-lookup": "7.0.0",
110-
"cbor": "10.0.11",
111109
"chalk": "5.6.2",
112110
"chalk-template": "1.1.2",
113111
"chokidar": "4.0.3",
@@ -131,7 +129,6 @@
131129
"is-svg": "6.1.0",
132130
"json5": "2.2.3",
133131
"jsonld": "9.0.0",
134-
"jsrsasign": "11.1.0",
135132
"juice": "11.0.3",
136133
"meilisearch": "0.54.0",
137134
"mfm-js": "0.25.0",
@@ -145,7 +142,6 @@
145142
"node-html-parser": "7.0.1",
146143
"nodemailer": "7.0.11",
147144
"nsfwjs": "4.2.0",
148-
"oauth": "0.10.2",
149145
"oauth2orize": "1.12.0",
150146
"oauth2orize-pkce": "0.1.2",
151147
"os-utils": "0.0.14",
@@ -174,7 +170,6 @@
174170
"tinycolor2": "1.6.0",
175171
"tmp": "0.2.5",
176172
"tsc-alias": "1.8.16",
177-
"tsconfig-paths": "4.2.0",
178173
"typeorm": "0.3.27",
179174
"typescript": "5.9.3",
180175
"ulid": "3.0.1",
@@ -199,12 +194,10 @@
199194
"@types/http-link-header": "1.0.7",
200195
"@types/jest": "29.5.14",
201196
"@types/jsonld": "1.5.15",
202-
"@types/jsrsasign": "10.5.15",
203197
"@types/mime-types": "3.0.1",
204198
"@types/ms": "2.1.0",
205199
"@types/node": "24.10.1",
206200
"@types/nodemailer": "7.0.4",
207-
"@types/oauth": "0.9.6",
208201
"@types/oauth2orize": "1.11.5",
209202
"@types/oauth2orize-pkce": "0.1.2",
210203
"@types/pg": "8.15.6",
@@ -225,13 +218,13 @@
225218
"@typescript-eslint/eslint-plugin": "8.48.0",
226219
"@typescript-eslint/parser": "8.48.0",
227220
"aws-sdk-client-mock": "4.1.0",
221+
"cbor": "10.0.11",
228222
"cross-env": "10.1.0",
229223
"eslint-plugin-import": "2.32.0",
230224
"execa": "9.6.0",
231225
"fkill": "10.0.1",
232226
"jest": "29.7.0",
233227
"jest-mock": "29.7.0",
234-
"jest-util": "29.7.0",
235228
"js-yaml": "4.1.1",
236229
"nodemon": "3.1.11",
237230
"pid-port": "2.0.0",

packages/frontend-embed/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"@rollup/pluginutils": "5.3.0",
1818
"@twemoji/parser": "16.0.0",
1919
"@vitejs/plugin-vue": "6.0.2",
20-
"@vue/compiler-sfc": "3.5.25",
21-
"astring": "1.9.0",
2220
"buraha": "0.0.1",
2321
"estree-walker": "3.0.3",
2422
"frontend-shared": "workspace:*",
@@ -31,9 +29,6 @@
3129
"sass": "1.94.2",
3230
"shiki": "3.17.0",
3331
"tinycolor2": "1.6.0",
34-
"tsc-alias": "1.8.16",
35-
"tsconfig-paths": "4.2.0",
36-
"typescript": "5.9.3",
3732
"uuid": "13.0.0",
3833
"vite": "7.2.4",
3934
"vue": "3.5.25"
@@ -64,6 +59,7 @@
6459
"prettier": "3.7.1",
6560
"start-server-and-test": "2.1.3",
6661
"tsx": "4.20.6",
62+
"typescript": "5.9.3",
6763
"vite-plugin-turbosnap": "1.0.3",
6864
"vue-component-type-helpers": "3.1.5",
6965
"vue-eslint-parser": "10.2.0",

packages/frontend/package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@
3030
"@syuilo/aiscript-0-19-0": "npm:@syuilo/aiscript@^0.19.0",
3131
"@twemoji/parser": "16.0.0",
3232
"@vitejs/plugin-vue": "6.0.2",
33-
"@vue/compiler-sfc": "3.5.25",
3433
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.15",
3534
"analytics": "0.8.19",
36-
"astring": "1.9.0",
3735
"broadcast-channel": "7.2.0",
3836
"buraha": "0.0.1",
3937
"canvas-confetti": "1.9.4",
@@ -46,7 +44,6 @@
4644
"compare-versions": "6.1.1",
4745
"cropperjs": "2.1.0",
4846
"date-fns": "4.1.0",
49-
"estree-walker": "3.0.3",
5047
"eventemitter3": "5.0.1",
5148
"execa": "9.6.0",
5249
"exifreader": "4.32.0",
@@ -57,7 +54,6 @@
5754
"ios-haptics": "0.1.4",
5855
"is-file-animated": "1.0.2",
5956
"json5": "2.2.3",
60-
"magic-string": "0.30.21",
6157
"matter-js": "0.20.0",
6258
"mediabunny": "1.25.3",
6359
"mfm-js": "0.25.0",
@@ -72,14 +68,10 @@
7268
"sanitize-html": "2.17.0",
7369
"sass": "1.94.2",
7470
"shiki": "3.17.0",
75-
"strict-event-emitter-types": "2.0.0",
7671
"textarea-caret": "3.1.0",
7772
"three": "0.181.2",
7873
"throttle-debounce": "5.0.2",
7974
"tinycolor2": "1.6.0",
80-
"tsc-alias": "1.8.16",
81-
"tsconfig-paths": "4.2.0",
82-
"typescript": "5.9.3",
8375
"v-code-diff": "1.13.1",
8476
"vite": "7.2.4",
8577
"vue": "3.5.25",
@@ -117,19 +109,20 @@
117109
"@types/seedrandom": "3.0.8",
118110
"@types/throttle-debounce": "5.0.2",
119111
"@types/tinycolor2": "1.4.6",
120-
"@types/ws": "8.18.1",
121112
"@typescript-eslint/eslint-plugin": "8.48.0",
122113
"@typescript-eslint/parser": "8.48.0",
123114
"@vitest/coverage-v8": "4.0.14",
124115
"@vue/compiler-core": "3.5.25",
125-
"@vue/runtime-core": "3.5.25",
126116
"acorn": "8.15.0",
117+
"astring": "1.9.0",
127118
"cross-env": "10.1.0",
128119
"cypress": "15.7.0",
129120
"eslint-plugin-import": "2.32.0",
130121
"eslint-plugin-vue": "10.6.2",
122+
"estree-walker": "3.0.3",
131123
"happy-dom": "20.0.11",
132124
"intersection-observer": "0.12.2",
125+
"magic-string": "0.30.21",
133126
"micromatch": "4.0.8",
134127
"minimatch": "10.1.1",
135128
"msw": "2.12.3",
@@ -143,6 +136,7 @@
143136
"storybook": "10.1.0",
144137
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
145138
"tsx": "4.20.6",
139+
"typescript": "5.9.3",
146140
"vite-plugin-glsl": "1.5.4",
147141
"vite-plugin-turbosnap": "1.0.3",
148142
"vitest": "4.0.14",

packages/frontend/src/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const components = {
7777
SearchIcon: SearchIcon,
7878
};
7979

80-
declare module '@vue/runtime-core' {
80+
declare module 'vue' {
8181
export interface GlobalComponents {
8282
I18n: typeof I18n;
8383
RouterView: typeof RouterView;

0 commit comments

Comments
 (0)