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/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- run: yarn install
- run: yarn lint
- run: yarn fmt:check
- run: yarn knip

build:
runs-on: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions .lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ pre-commit:
- run: mise exec -- yarn build
- run: mise exec -- yarn install --mode=update-lockfile && git add yarn.lock
- run: mise exec -- yarn test/ install --mode=update-lockfile && git add test/yarn.lock
- run: mise exec -- yarn knip
7 changes: 7 additions & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"tags": ["-lintignore"],
"entry": ["test/config.ts", "test/prepare.mjs", "test/tests/**/*.test.ts"],
"ignoreDependencies": ["@types/ts-expose-internals"],
"ignore": ["examples/**/*", "test/projects/**/*"]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"clean:all": "yarn clean && rm -rf node_modules \"**/node_modules\" \"**/yarn.lock\" yarn.lock",
"reset": "yarn clean:all && yarn install && yarn build",
"-------------- ": "",
"prepack": "yarn build"
"prepack": "yarn build",
"knip": "knip"
},
"keywords": [
"typescript",
Expand Down Expand Up @@ -57,10 +58,10 @@
],
"devDependencies": {
"@tsconfig/bases": "^1.0.16",
"@types/minimatch": "^5.1.2",
"@types/node": "^25.0.3",
"@types/ts-expose-internals": "npm:ts-expose-internals@4.9.5",
"changelogen": "^0.6.2",
"knip": "^6.29.0",
"oxfmt": "^0.60.0",
"oxlint": "^1.75.0",
"ts-patch": "^3.3.0",
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import type { CompilerOptions, EmitHost, Pattern, SourceFile } from "typescript"
/* ****************************************************************************************************************** */

export type ImportOrExportDeclaration = ts.ImportDeclaration | ts.ExportDeclaration;
export type ImportOrExportClause = ts.ImportDeclaration["importClause"] | ts.ExportDeclaration["exportClause"];

// endregion

Expand Down
1 change: 0 additions & 1 deletion test/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./helpers.ts";
export * from "./module-not-found-error.ts";
8 changes: 0 additions & 8 deletions test/utils/module-not-found-error.ts

This file was deleted.

Loading
Loading