Skip to content

Commit b26ee22

Browse files
committed
fix(ts): add ts-mocha, ts-node to ignored dependencies
1 parent 12f1d16 commit b26ee22

File tree

4 files changed

+104
-14
lines changed

4 files changed

+104
-14
lines changed

.github/workflows/unused-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
node-version: '18.x'
2222
- name: 'Run depcheck'
2323
run: |
24-
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,concurrently,nyc,prettier,typescript,vite-tsconfig-paths"
24+
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,ts-mocha,ts-node,concurrently,nyc,prettier,typescript,tsconfig-paths,vite-tsconfig-paths"
2525
echo $?
2626
if [[ $? == 1 ]]; then
2727
echo "Unused dependencies or devDependencies found"

package-lock.json

Lines changed: 102 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
"@babel/preset-react": "^7.22.5",
8282
"@commitlint/cli": "^19.0.0",
8383
"@commitlint/config-conventional": "^19.0.0",
84-
"@types/expect": "^1.20.4",
8584
"@types/lodash": "^4.17.15",
8685
"@types/mocha": "^10.0.10",
8786
"@types/node": "^22.13.5",
@@ -106,7 +105,6 @@
106105
"sinon": "^19.0.2",
107106
"ts-mocha": "^11.1.0",
108107
"ts-node": "^10.9.2",
109-
"tsconfig-paths": "^4.2.0",
110108
"tsx": "^4.19.3",
111109
"typescript": "^5.7.3",
112110
"vite": "^4.4.2",

packages/git-proxy-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"scripts": {
1515
"lint": "eslint --fix . --ext .js,.jsx",
16-
"test": "NODE_ENV=test mocha --exit --timeout 10000",
16+
"test": "NODE_ENV=test ts-mocha --exit --timeout 10000",
1717
"test-coverage": "nyc npm run test",
1818
"test-coverage-ci": "nyc --reporter=lcovonly --reporter=text --reporter=html npm run test"
1919
},

0 commit comments

Comments
 (0)