Skip to content

Commit

Permalink
build: disable reading Cypress config
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Dec 20, 2024
1 parent 6310072 commit ef9a1ff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@
},
"./projects/ngx-meta/e2e": {
"project": ["**/*.ts"],
"entry": [
//👇 Due to Cypress config not read (see below)
"cypress.config.ts",
"cypress/support/coverage.ts",
],
// 👇 Disable reading config to avoid installing Cypress when running knip in CI/CD
"cypress": {
"config": [],
},
"ignoreBinaries": [
// 👇 Unlisted in CI/CD: because Cypress not installed
"cypress",
],
"ignoreDependencies": [
// 👇 Used in homonym shell script
"start-server-and-test",
Expand Down

0 comments on commit ef9a1ff

Please sign in to comment.