Tests no longer sit next to the implementation. They import the package through ../src, the root tsconfig still type-checks them, and the package build and declarations cover only src/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Faarh2Ts6StJPcz2mRiHiR
31 lines
1017 B
JSON
31 lines
1017 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"types": ["vite/client", "vite-plugin-pwa/client"],
|
|
"allowArbitraryExtensions": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"ignoreDeprecations": "6.0",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./apps/demo/src/*"],
|
|
"@native-vue-router/core": ["./packages/core/src/index.ts"],
|
|
"@native-vue-router/core-v2": ["./packages/core-v2/src/index.ts"],
|
|
"@native-vue-router/preset-native": [
|
|
"./packages/preset-native/src/index.ts"
|
|
],
|
|
"@native-vue-router/capacitor": ["./packages/capacitor/src/index.ts"],
|
|
"@native-vue-router/electron": ["./packages/electron/src/index.ts"]
|
|
}
|
|
},
|
|
"include": [
|
|
"apps/demo/src/**/*.ts",
|
|
"apps/demo/src/**/*.vue",
|
|
"packages/*/src/**/*.ts",
|
|
"packages/*/src/**/*.vue",
|
|
"packages/*/tests/**/*.ts"
|
|
]
|
|
}
|