Skip to content

Commit

Permalink
refactor(tsconfig): remove composite option (#121)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 17, 2024
1 parent 5dc019a commit 8518ced
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface UserConfig extends Options {
/**
* Define an Semantic Release config.
*
* @param {object} config Semantic Release config.
* @param {object} config Semantic Release.
*
* @returns Semantic Release config.
*/
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
// Type Checking
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"disableReferencedProjectLoad": true,
"exactOptionalPropertyTypes": true,
"noImplicitAny": true,
"noImplicitReturns": true,
Expand Down
21 changes: 15 additions & 6 deletions tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
{
"compilerOptions": {
"allowImportingTsExtensions": true,
"composite": true,
// Completeness
"skipLibCheck": true,
// Emit
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "",
// Language and Environment
"lib": ["ESNext"],
"target": "ESNext",
// Modules
"allowImportingTsExtensions": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "",
"paths": {
"#types": ["./src/types/index.d.ts"]
},
"rootDir": "src",
"skipLibCheck": true,
"target": "ESNext",
"types": ["vitest"]
"types": ["vitest"],
// Projects
"disableReferencedProjectLoad": true
}
}

0 comments on commit 8518ced

Please sign in to comment.