-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up shared deps * Set up knip * Clean up imports * Add basic knip config * Improve Knip config * Add some missing deps * Add some missing deps * Lift common to a true workspace * Set up knip * Trigger CodeQL * Trigger CodeQL
- Loading branch information
Showing
28 changed files
with
376 additions
and
506 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 |
---|---|---|
|
@@ -30,3 +30,4 @@ jobs: | |
- run: yarn dedupe --check | ||
- run: yarn build | ||
- run: yarn test | ||
- run: yarn knip |
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,20 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/package", | ||
"private": true, | ||
"name": "common", | ||
"exports": { | ||
"./persist": "./persist.js", | ||
"./persist.js": "./persist.js" | ||
}, | ||
"devDependencies": { | ||
"@siteimprove/alfa-act": "^0.81.0", | ||
"@siteimprove/alfa-assert": "^0.65.2", | ||
"@siteimprove/alfa-formatter": "^0.65.2", | ||
"@siteimprove/alfa-hash": "^0.81.0", | ||
"@siteimprove/alfa-mapper": "^0.81.0" | ||
}, | ||
"dependencies": { | ||
"@siteimprove/alfa-formatter-earl": "^0.65.2", | ||
"@siteimprove/alfa-future": "^0.81.0" | ||
} | ||
} |
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,39 @@ | ||
import type { KnipConfig } from "knip"; | ||
|
||
const entry = ["test/**/*.spec.ts", "test/**/*.spec.tsx"]; | ||
const project = ["**/*.ts", "**/*.tsx"]; | ||
|
||
const config: KnipConfig = { | ||
ignoreDependencies: ["prettier"], | ||
workspaces: { | ||
common: { entry: "persist.ts", project }, | ||
"custom-testing/*": { entry, project }, | ||
"custom-testing/crawling": { entry: ["crawling.ts"], project }, | ||
"custom-testing/measuring-performances": { | ||
entry: ["performance.ts"], | ||
project, | ||
}, | ||
"custom-testing/scraping": { entry: ["scraping.ts"], project }, | ||
"end-to-end-testing/*": { entry, project }, | ||
"end-to-end-testing/cypress": { | ||
cypress: { | ||
config: "cypress.json", | ||
entry: [...entry, "support.ts"], | ||
project, | ||
}, | ||
}, | ||
"end-to-end-testing/webdriver": { | ||
"webdriver-io": { config: ["wdio.conf.ts"], entry, project }, | ||
ignoreDependencies: [ | ||
// imported through the config file | ||
"chromedriver", | ||
], | ||
}, | ||
"unit-testing/*": { entry, project }, | ||
"unit-testing/angular": { entry: ["components/*.ts", "setup.ts"], project }, | ||
"unit-testing/react": { entry: ["components/*.tsx", "setup.ts"], project }, | ||
"unit-testing/vue": { entry: ["components/*.ts", "setup.ts"], project }, | ||
}, | ||
}; | ||
|
||
export default config; |
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
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
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
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
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
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
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
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
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
File renamed without changes.
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.