Skip to content

Commit

Permalink
Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 9, 2024
1 parent b870d4d commit f923d69
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 18,888 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-ts-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install -D typescript@latest @types/node@20
- run: npm install typescript@latest @types/node@20 --ignore-scripts
- name: Build knip
run: npm run build
working-directory: packages/knip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install typescript@5.0.4 @types/node@18
run: npm install typescript@5.0.4 @types/node@18 --ignore-scripts
- name: Build knip
run: npm run build
working-directory: packages/knip
Expand Down
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"formatter": {
"enabled": true,
"lineWidth": 120,
"indentStyle": "space"
"indentStyle": "space",
"formatWithErrors": true
},
"javascript": {
"formatter": {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
26 changes: 26 additions & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"include": ["classMembers"],
"ignore": ["templates/**"],
"workspaces": {
".": {
"ignoreBinaries": ["knip"]
},
"packages/knip": {
"project": ["src/**/*.ts!"],
"ignore": ["**/fixtures/**", "**/_template/**", "**/dist/**"],
"ignoreBinaries": ["tsx"],
"node-test-runner": {
"entry": ["test/**/*.test.ts"],
"project": ["test/**/*.ts"]
}
},
"packages/docs": {
"entry": [
"{remark,scripts}/*.ts",
"src/components/{Head,Header,Footer}.astro!"
],
"ignore": "config.ts"
}
}
}
28 changes: 0 additions & 28 deletions knip.ts

This file was deleted.

Loading

0 comments on commit f923d69

Please sign in to comment.