fix: tsconfig as per https://github.com/vuejs/tsconfig#configuration-for-node-environments
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-04-28 09:16:54 +02:00
parent e5754300de
commit ca9fe6ff21
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 13 additions and 2 deletions

View File

@ -95,6 +95,7 @@
"@histoire/plugin-screenshot": "0.16.1",
"@histoire/plugin-vue": "0.16.1",
"@rushstack/eslint-patch": "1.2.0",
"@tsconfig/node18": "^2.0.0",
"@types/codemirror": "5.60.7",
"@types/dompurify": "3.0.2",
"@types/flexsearch": "0.7.3",

View File

@ -152,6 +152,9 @@ devDependencies:
'@rushstack/eslint-patch':
specifier: 1.2.0
version: 1.2.0
'@tsconfig/node18':
specifier: ^2.0.0
version: 2.0.0
'@types/codemirror':
specifier: 5.60.7
version: 5.60.7
@ -3771,6 +3774,10 @@ packages:
resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==}
dev: true
/@tsconfig/node18@2.0.0:
resolution: {integrity: sha512-uI/B0ShkiEwTk036pncXucVlj4y11EW6mycQvCEzC1PkR2TBvdQZ5Wf96dp+XXWAc70FEDfvwTqanoaDpP6rPw==}
dev: true
/@types/chai-subset@1.3.3:
resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==}
dependencies:

View File

@ -1,5 +1,5 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.json"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {

View File

@ -1,5 +1,8 @@
{
"extends": "@vue/tsconfig/tsconfig.node.json",
"extends": [
"@tsconfig/node18/tsconfig.json",
"@vue/tsconfig/tsconfig.json"
],
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "env.config.d.ts"],
"compilerOptions": {
"composite": true,