From 9f9e4737696b14903f4c737169f8070ac44371d2 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 21 Jul 2023 14:53:37 +0800 Subject: [PATCH] style: remove baseUrl in frontend plugin --- client/web/plugins/README.md | 3 +-- client/web/plugins/com.msgbyte.bbcode/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.draw/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.genshin/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.integration/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.intro/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.miaolang/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.notify/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.openapi/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.snapdrop/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.theme.genshin/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.theme.miku/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.toolwa/tsconfig.json | 3 +-- client/web/plugins/com.msgbyte.webview/tsconfig.json | 3 +-- 14 files changed, 14 insertions(+), 28 deletions(-) diff --git a/client/web/plugins/README.md b/client/web/plugins/README.md index 6488a797..612805d3 100644 --- a/client/web/plugins/README.md +++ b/client/web/plugins/README.md @@ -16,11 +16,10 @@ pnpm ministar createPlugin ```json { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.bbcode/tsconfig.json b/client/web/plugins/com.msgbyte.bbcode/tsconfig.json index 2c0a0cf2..b6f63a69 100644 --- a/client/web/plugins/com.msgbyte.bbcode/tsconfig.json +++ b/client/web/plugins/com.msgbyte.bbcode/tsconfig.json @@ -1,11 +1,10 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "allowSyntheticDefaultImports": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.draw/tsconfig.json b/client/web/plugins/com.msgbyte.draw/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.draw/tsconfig.json +++ b/client/web/plugins/com.msgbyte.draw/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.genshin/tsconfig.json b/client/web/plugins/com.msgbyte.genshin/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.genshin/tsconfig.json +++ b/client/web/plugins/com.msgbyte.genshin/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.integration/tsconfig.json b/client/web/plugins/com.msgbyte.integration/tsconfig.json index bf45bec1..efb75ed0 100644 --- a/client/web/plugins/com.msgbyte.integration/tsconfig.json +++ b/client/web/plugins/com.msgbyte.integration/tsconfig.json @@ -1,11 +1,10 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "importsNotUsedAsValues": "error", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.intro/tsconfig.json b/client/web/plugins/com.msgbyte.intro/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.intro/tsconfig.json +++ b/client/web/plugins/com.msgbyte.intro/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.miaolang/tsconfig.json b/client/web/plugins/com.msgbyte.miaolang/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.miaolang/tsconfig.json +++ b/client/web/plugins/com.msgbyte.miaolang/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.notify/tsconfig.json b/client/web/plugins/com.msgbyte.notify/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.notify/tsconfig.json +++ b/client/web/plugins/com.msgbyte.notify/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.openapi/tsconfig.json b/client/web/plugins/com.msgbyte.openapi/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.openapi/tsconfig.json +++ b/client/web/plugins/com.msgbyte.openapi/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.snapdrop/tsconfig.json b/client/web/plugins/com.msgbyte.snapdrop/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.snapdrop/tsconfig.json +++ b/client/web/plugins/com.msgbyte.snapdrop/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.theme.genshin/tsconfig.json b/client/web/plugins/com.msgbyte.theme.genshin/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.theme.genshin/tsconfig.json +++ b/client/web/plugins/com.msgbyte.theme.genshin/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.theme.miku/tsconfig.json b/client/web/plugins/com.msgbyte.theme.miku/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.theme.miku/tsconfig.json +++ b/client/web/plugins/com.msgbyte.theme.miku/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.toolwa/tsconfig.json b/client/web/plugins/com.msgbyte.toolwa/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.toolwa/tsconfig.json +++ b/client/web/plugins/com.msgbyte.toolwa/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } } diff --git a/client/web/plugins/com.msgbyte.webview/tsconfig.json b/client/web/plugins/com.msgbyte.webview/tsconfig.json index 465a28b5..4fb56fb6 100644 --- a/client/web/plugins/com.msgbyte.webview/tsconfig.json +++ b/client/web/plugins/com.msgbyte.webview/tsconfig.json @@ -1,10 +1,9 @@ { "compilerOptions": { - "baseUrl": "./src", "esModuleInterop": true, "jsx": "react", "paths": { - "@capital/*": ["../../../src/plugin/*"], + "@capital/*": ["../../src/plugin/*"], } } }