Skip to content

Commit 707ac3b

Browse files
committed
fix(ts): fix ci issues
1 parent 4a07b20 commit 707ac3b

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

.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="@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,concurrently,nyc,prettier,typescript,vite-tsconfig-paths"
24+
npx depcheck --skip-missing --ignores="@babel/*,@commitlint/*,concurrently,eslint,eslint-*,husky,mocha,nyc,prettier,ts-mocha,ts-node,tsconfig-paths,tsx,typescript,vite-tsconfig-paths"
2525
echo $?
2626
if [[ $? == 1 ]]; then
2727
echo "Unused dependencies or devDependencies found"

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
},
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES6",
4+
"lib": ["DOM", "ESNext"],
5+
"allowJs": true,
6+
"checkJs": false,
7+
"jsx": "react-jsx",
8+
"moduleResolution": "Node",
9+
"strict": true,
10+
"noEmit": true,
11+
"skipLibCheck": true,
12+
"isolatedModules": true,
13+
"module": "CommonJS",
14+
"esModuleInterop": true,
15+
"allowSyntheticDefaultImports": true
16+
},
17+
"include": ["index.js", "test", "coverage"]
18+
}

0 commit comments

Comments
 (0)