-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Adjust webpack and Typescript config
Signed-off-by: Ferdinand Thiessen <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"include": ["./**/*.ts"], | ||
"include": ["../*.ts", "."], | ||
"compilerOptions": { | ||
"rootDir": "..", | ||
"types": [ | ||
"cypress", | ||
"dockerode", | ||
"node" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
{ | ||
"extends": "@vue/tsconfig/tsconfig.json", | ||
"include": ["./src/**/*.ts"], | ||
"include": ["./src"], | ||
"compilerOptions": { | ||
"types": ["cypress", "cypress-visual-regression", "node", "dockerode", "@nextcloud/typings"], | ||
"target": "ESNext", | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
// Allow ts to import js files | ||
"allowJs": true, | ||
"allowSyntheticDefaultImports": true, | ||
"declaration": false, | ||
"lib": [ | ||
"DOM", | ||
"ESNext" | ||
], | ||
"rootDir": "src", | ||
"noImplicitAny": false, | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
}, | ||
"ts-node": { | ||
// these options are overrides used only by ts-node | ||
// same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"module": "CommonJS", | ||
"target": "ES2015", | ||
"verbatimModuleSyntax": false | ||
} | ||
}, | ||
"vueCompilerOptions": { | ||
"target": 2.7 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters