Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ jobs:
- run: npm run check
- run: npm run dry
- run: npm run mutate
- run: npm run slophammer
- run: npx -y @simpledoc/simpledoc check
- run: git diff --check
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
- run: npm run check
- run: npm run dry
- run: npm run mutate
- run: npm run slophammer
- run: npx -y @simpledoc/simpledoc check
- run: git diff --check
- run: npm publish --access public --provenance
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,20 @@
"test": "vitest run",
"coverage": "vitest run --coverage",
"dry": "slophammer-ts dry .",
"slophammer": "slophammer-ts check .",
"mutate": "stryker run --dryRunOnly",
"check": "npm run format && npm run lint && npm run typecheck && npm test && npm run coverage && npm run build"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@stryker-mutator/core": "^9.6.1",
"@stryker-mutator/typescript-checker": "^9.6.1",
"@stryker-mutator/vitest-runner": "^9.6.1",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"slophammer-ts": "^0.1.2",
"@stryker-mutator/core": "^9.6.1",
"@stryker-mutator/typescript-checker": "^9.6.1",
"@stryker-mutator/vitest-runner": "^9.6.1",
"slophammer-ts": "^0.3.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vitest": "^3.0.0"
Expand Down
17 changes: 10 additions & 7 deletions slophammer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
typescript:
coverage_threshold: 85
complexity_max: 8
coverage:
threshold: 85
complexity:
max: 8
dry:
max_findings: 0
paths:
Expand All @@ -11,11 +13,12 @@ typescript:
copied_blocks:
enabled: true
min_tokens: 100
mutation_targets:
- src/app
- src/cli
- src/github/parse.ts
- src/policy
mutation:
targets:
- src/app
- src/cli
- src/github/parse.ts
- src/policy
dependency_boundaries:
- from: src/cli
allow:
Expand Down
Loading