Commit 08d4e34b778caf6f92f02f038f7230fbfbdea885
1 parent
ba2415c3
chore: config ts-config
Showing
10 changed files
with
63 additions
and
9 deletions
Too many changes to show.
To preserve performance only 10 of 14 files are displayed.
.env.development
... | ... | @@ -9,9 +9,6 @@ VITE_PUBLIC_PATH = / |
9 | 9 | VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]] |
10 | 10 | # VITE_PROXY=[["/api","https://vvbin.cn/test"]] |
11 | 11 | |
12 | -# Delete console | |
13 | -VITE_DROP_CONSOLE = false | |
14 | - | |
15 | 12 | # Basic interface address SPA |
16 | 13 | VITE_GLOB_API_URL=/basic-api |
17 | 14 | ... | ... |
.env.production
... | ... | @@ -4,9 +4,6 @@ VITE_USE_MOCK = true |
4 | 4 | # public path |
5 | 5 | VITE_PUBLIC_PATH = / |
6 | 6 | |
7 | -# Delete console | |
8 | -VITE_DROP_CONSOLE = true | |
9 | - | |
10 | 7 | # Whether to enable gzip or brotli compression |
11 | 8 | # Optional: gzip | brotli | none |
12 | 9 | # If you need multiple forms, you can use `,` to separate | ... | ... |
.env.test
... | ... | @@ -5,9 +5,6 @@ VITE_USE_MOCK = true |
5 | 5 | # public path |
6 | 6 | VITE_PUBLIC_PATH = / |
7 | 7 | |
8 | -# Delete console | |
9 | -VITE_DROP_CONSOLE = true | |
10 | - | |
11 | 8 | # Whether to enable gzip or brotli compression |
12 | 9 | # Optional: gzip | brotli | none |
13 | 10 | # If you need multiple forms, you can use `,` to separate | ... | ... |
internal/eslint-config/tsconfig.json
0 → 100644
internal/stylelint-config/tsconfig.json
0 → 100644
internal/ts-config/base.json
0 → 100644
1 | +{ | |
2 | + "$schema": "https://json.schemastore.org/tsconfig", | |
3 | + "display": "Base", | |
4 | + "compilerOptions": { | |
5 | + "target": "ESNext", | |
6 | + "module": "ESNext", | |
7 | + "moduleResolution": "node", | |
8 | + "strict": true, | |
9 | + "declaration": true, | |
10 | + "noImplicitOverride": true, | |
11 | + "noUnusedLocals": true, | |
12 | + "esModuleInterop": true, | |
13 | + "useUnknownInCatchVariables": false, | |
14 | + "composite": false, | |
15 | + "declarationMap": false, | |
16 | + "forceConsistentCasingInFileNames": true, | |
17 | + "inlineSources": false, | |
18 | + "isolatedModules": true, | |
19 | + "skipLibCheck": true, | |
20 | + "noUnusedParameters": false, | |
21 | + "preserveWatchOutput": true, | |
22 | + "experimentalDecorators": true, | |
23 | + "resolveJsonModule": true, | |
24 | + "removeComments": true | |
25 | + }, | |
26 | + "exclude": ["**/node_modules/**", "**/dist/**"] | |
27 | +} | ... | ... |
internal/ts-config/node.json
0 → 100644
internal/ts-config/package.json
internal/ts-config/vue.json
0 → 100644
package.json
... | ... | @@ -135,6 +135,7 @@ |
135 | 135 | "@types/sortablejs": "^1.15.1", |
136 | 136 | "@vben/eslint-config": "workspace:*", |
137 | 137 | "@vben/stylelint-config": "workspace:*", |
138 | + "@vben/ts-config": "workspace:*", | |
138 | 139 | "@vitejs/plugin-vue": "^4.1.0", |
139 | 140 | "@vitejs/plugin-vue-jsx": "^3.0.1", |
140 | 141 | "@vue/compiler-sfc": "^3.2.47", | ... | ... |