-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy pathsnap.txt
More file actions
60 lines (55 loc) · 1.5 KB
/
snap.txt
File metadata and controls
60 lines (55 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
> vp migrate --no-interactive # migration should skip typeAware/typeCheck when tsconfig has baseUrl
VITE+ - The Unified Toolchain for the Web
◇ Migrated . to Vite+<repeat>
• Node <semver> pnpm <semver>
• 3 config updates applied
! Warnings:
- Skipped typeAware/typeCheck: tsconfig.json contains baseUrl which is not yet supported by the oxlint type checker.
Run `npx @andrewbranch/ts5to6 --fixBaseUrl .` to remove baseUrl from your tsconfig.
> cat vite.config.ts # check vite.config.ts — should NOT have typeAware or typeCheck
import { defineConfig } from 'vite-plus';
export default defineConfig({
staged: {
"*": "vp check --fix"
},
fmt: {},
lint: {
"rules": {
"no-unused-vars": "error",
"vite-plus/prefer-vite-plus-imports": "error"
},
"options": {},
"jsPlugins": [
{
"name": "vite-plus",
"specifier": "vite-plus/oxlint-plugin"
}
]
},
});
> test ! -f .oxlintrc.json # check .oxlintrc.json is removed
> cat package.json # check package.json
{
"devDependencies": {
"vite-plus": "catalog:"
},
"packageManager": "pnpm@<semver>",
"scripts": {
"prepare": "vp config"
}
}
> cat pnpm-workspace.yaml # check pnpm-workspace.yaml has overrides and catalog
catalog:
vite: npm:@voidzero-dev/vite-plus-core@latest
vitest: npm:@voidzero-dev/vite-plus-test@latest
vite-plus: latest
overrides:
vite: 'catalog:'
vitest: 'catalog:'
peerDependencyRules:
allowAny:
- vite
- vitest
allowedVersions:
vite: '*'
vitest: '*'