Skip to content

Commit

Permalink
Remove unused dependencies (#29855)
Browse files Browse the repository at this point in the history
Remove some unused JS dependencies and add knip.

GitOrigin-RevId: 70d9f4c9216d14ec53d19935f465a470c84d7b83
  • Loading branch information
thomasballinger authored and Convex, Inc. committed Sep 14, 2024
1 parent 3d32cfd commit f85ff59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"entry": ["src/*/index.ts", "src/**/*.test.*", "scripts/*.{mjs,js,cjs}"],
"project": ["src/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}", "scripts/**/*.js"]
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@
"@types/adm-zip": "^0.5.5",
"@types/deep-equal": "1.0.1",
"@types/detect-port": "~1.3.5",
"@types/http-proxy": "~1.17.9",
"@types/inquirer": "^8.2.0",
"@types/jwt-encode": "~1.0.0",
"@types/node": "^18.17.0",
Expand All @@ -224,9 +223,7 @@
"depcheck": "~1.4.7",
"detect-port": "^1.5.1",
"dotenv": "^16.0.3",
"dprint": "0.46.1",
"encoding": "^0.1.13",
"envfile": "6.18.0",
"esbuild": "0.23.0",
"esbuild-plugin-external-global": "~1.0.1",
"eslint": "9",
Expand All @@ -238,11 +235,11 @@
"fetch-retry": "~5.0.6",
"find-up": "^6.3.0",
"happy-dom": "~14.12.3",
"http-proxy": "~1.18.1",
"inquirer": "^9.1.4",
"inquirer-search-list": "~1.2.6",
"jsdom": "~24.1.0",
"jwt-encode": "~1.0.1",
"knip": "~5.30.2",
"open": "^8.3.0",
"openid-client": "^5.3.1",
"ora": "^6.1.0",
Expand Down

0 comments on commit f85ff59

Please sign in to comment.