-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21f07df
commit 1dab4fb
Showing
5 changed files
with
69 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# node modules | ||
/node_modules/ | ||
|
||
# Turborepo files | ||
.turbo/ |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"*.js": [ | ||
"prettier --write" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// @ts-check | ||
/** | ||
* @type {import('@stryker-mutator/api/core').PartialStrykerOptions} | ||
*/ | ||
export default { | ||
checkers: ['typescript'], | ||
cleanTempDir: 'always', | ||
concurrency: 1, | ||
coverageAnalysis: 'perTest', | ||
disableTypeChecks: 'src/**/*.ts', | ||
jest: { | ||
configFile: './jest.config.stryker.mjs', | ||
enableFindRelatedTests: true, | ||
projectType: 'custom', | ||
}, | ||
mutate: [ | ||
'src/**/*.ts', | ||
'!src/**/*.spec.ts', | ||
'!src/**/*{Fixtures,Mocks}.ts', | ||
'!src/**/adapter/nest/modules/*.ts', | ||
'!src/**/adapter/typeorm/migrations/*.ts', | ||
'!src/**/adapter/typeorm/scripts/*.ts', | ||
'!src/**/application/controllers/*.ts', | ||
], | ||
packageManager: 'pnpm', | ||
plugins: [ | ||
'@stryker-mutator/jest-runner', | ||
'@stryker-mutator/typescript-checker', | ||
], | ||
tempDirName: 'stryker-tmp', | ||
testRunner: 'jest', | ||
tsconfigFile: './tsconfig.json', | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"author": "Roberto Pintos López", | ||
"bugs": { | ||
"url": "https://github.com/inversify/monorepo/issues" | ||
}, | ||
"description": "Stryker config for monorepo packages", | ||
"devDependencies": { | ||
"@stryker-mutator/api": "8.6.0" | ||
}, | ||
"exports": "./lib/index.js", | ||
"homepage": "https://github.com/inversify/monorepo#readme", | ||
"license": "MIT", | ||
"name": "@cornie-js/backend-stryker-config", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/inversify/monorepo.git" | ||
}, | ||
"scripts": { | ||
"format": "prettier --write ./lib/**/*.js" | ||
}, | ||
"type": "module" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import config from '@inversifyjs/foundation-prettier-config'; | ||
|
||
export default config; |