Skip to content

Commit

Permalink
Merge pull request #12813 from keymanapp/chore/common/web/types/remov…
Browse files Browse the repository at this point in the history
…e-c8rc-json-and-merge-exclusions-into-package-json

chore(common/web): remove .c8rc.json from types and merge exclusions into package.json
  • Loading branch information
markcsinclair authored Dec 16, 2024
2 parents faf2a5b + c9da863 commit 09f0614
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
12 changes: 0 additions & 12 deletions common/web/types/.c8rc.json

This file was deleted.

2 changes: 1 addition & 1 deletion common/web/types/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function do_test() {

readonly C8_THRESHOLD=60

# Excludes are defined in .c8rc.json
# Excludes are defined in package.json
c8 -skip-full --reporter=lcov --reporter=text --lines $C8_THRESHOLD --statements $C8_THRESHOLD --branches $C8_THRESHOLD --functions $C8_THRESHOLD mocha ${MOCHA_FLAGS} "${builder_extra_params[@]}"
builder_echo warning "Coverage thresholds are currently $C8_THRESHOLD%, which is lower than ideal."
builder_echo warning "Please increase threshold in build.sh as test coverage improves."
Expand Down
8 changes: 7 additions & 1 deletion common/web/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@
"src/keyman-touch-layout/keyman-touch-layout-file-writer.ts",
"src/osk/osk.ts",
"src/schemas/*",
"tests/"
"tests/",
"src/keyboard-object.ts",
"src/outputTarget.interface.ts",
"src/*.d.ts",
"src/main.ts",
"src/schema-validators.ts",
"src/schemas.ts"
]
},
"sideEffects": false
Expand Down

0 comments on commit 09f0614

Please sign in to comment.