diff --git a/.gitignore b/.gitignore index f7999996c..da4198f2c 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,7 @@ dist # TernJS port file .tern-port + +# IDEs +.vscode +.idea diff --git a/index.ts b/index.ts index f552cfd82..98f4e00f5 100755 --- a/index.ts +++ b/index.ts @@ -445,9 +445,6 @@ async function init() { path: './nightwatch/tsconfig.json' }) } - if (needsNightwatchCT) { - render('tsconfig/nightwatch-ct') - } fs.writeFileSync( path.resolve(root, 'tsconfig.json'), JSON.stringify(rootTsConfig, null, 2) + '\n', diff --git a/template/tsconfig/base/tsconfig.app.json b/template/tsconfig/base/tsconfig.app.json index e14c754d3..6b3d763f4 100644 --- a/template/tsconfig/base/tsconfig.app.json +++ b/template/tsconfig/base/tsconfig.app.json @@ -4,8 +4,9 @@ "exclude": ["src/**/__tests__/*"], "compilerOptions": { "composite": true, - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", - + "noEmit": false, + "emitDeclarationOnly": true, + "outDir": "./node_modules/.tmp/app", "baseUrl": ".", "paths": { "@/*": ["./src/*"] diff --git a/template/tsconfig/base/tsconfig.node.json b/template/tsconfig/base/tsconfig.node.json index f09406303..0ff9dcfc4 100644 --- a/template/tsconfig/base/tsconfig.node.json +++ b/template/tsconfig/base/tsconfig.node.json @@ -9,9 +9,9 @@ ], "compilerOptions": { "composite": true, - "noEmit": true, - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", - + "noEmit": false, + "emitDeclarationOnly": true, + "outDir": "./node_modules/.tmp/node", "module": "ESNext", "moduleResolution": "Bundler", "types": ["node"] diff --git a/template/tsconfig/cypress-ct/tsconfig.cypress-ct.json b/template/tsconfig/cypress-ct/tsconfig.cypress-ct.json index 12833b275..4002dc7d4 100644 --- a/template/tsconfig/cypress-ct/tsconfig.cypress-ct.json +++ b/template/tsconfig/cypress-ct/tsconfig.cypress-ct.json @@ -1,15 +1,21 @@ { - "extends": "./tsconfig.app.json", + "extends": "@vue/tsconfig/tsconfig.dom.json", "include": [ - "env.d.ts", - "src/**/*", - "src/**/*.vue", + "src/**/__tests__/*", "cypress/support/component.*", "cypress/support/commands.ts" ], - "exclude": [], "compilerOptions": { "composite": true, - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.cypress-ct.tsbuildinfo" - } + "noEmit": false, + "emitDeclarationOnly": true, + "outDir": "./node_modules/.tmp/cypress-ct", + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } + }, + "references": [ + { "path": "./tsconfig.app.json" } + ] } diff --git a/template/tsconfig/nightwatch-ct/tsconfig.app.json b/template/tsconfig/nightwatch-ct/tsconfig.app.json deleted file mode 100644 index e14c754d3..000000000 --- a/template/tsconfig/nightwatch-ct/tsconfig.app.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.dom.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], - "exclude": ["src/**/__tests__/*"], - "compilerOptions": { - "composite": true, - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", - - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } - } -} diff --git a/template/tsconfig/vitest/tsconfig.vitest.json b/template/tsconfig/vitest/tsconfig.vitest.json index 571995d11..bbf047c24 100644 --- a/template/tsconfig/vitest/tsconfig.vitest.json +++ b/template/tsconfig/vitest/tsconfig.vitest.json @@ -1,11 +1,19 @@ { - "extends": "./tsconfig.app.json", - "exclude": [], + "extends": "@vue/tsconfig/tsconfig.dom.json", + "include": ["src/**/__tests__/*"], "compilerOptions": { "composite": true, - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo", - + "noEmit": false, + "emitDeclarationOnly": true, + "outDir": "./node_modules/.tmp/vitest", + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + }, "lib": [], "types": ["node", "jsdom"] - } + }, + "references": [ + { "path": "./tsconfig.app.json" } + ] } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy