Add tsconfig.json to fix vite-plugin-dts crash during config load
Lint info.xml / xml-lint (push) Successful in 14s
Lint PHP / php-lint (8.2) (push) Successful in 47s
Lint PHP / php-lint (8.3) (push) Successful in 49s
Lint PHP / php-lint (8.4) (push) Successful in 40s
PHPUnit / unit-tests (push) Successful in 43s
Build release artifact / package (push) Failing after 1m30s

@nextcloud/vite-config's index.js barrel statically re-exports
createLibConfig from libConfig.js, which imports vite-plugin-dts at
module scope. That import chain runs even though we only use
createAppConfig, and vite-plugin-dts crashes while resolving a
tsconfig that did not exist in this (plain JS/Vue) project.
This commit is contained in:
Patrick Niebeling
2026-08-13 11:05:37 +02:00
parent c081b00205
commit e18df52792
+16
View File
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"lib": ["ES2022", "DOM"],
"allowJs": true,
"checkJs": false,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"strict": false
},
"include": ["src/**/*.js", "src/**/*.vue", "vite.config.js"]
}