Skip to content

Commit

Permalink
chore: clean up dependencies (#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 29, 2024
1 parent 7962af3 commit 896ade4
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 839 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
# Ensure the repository is clean after build
- run: pnpm clean-build

# test TypeScript build
- run: |
cd action-src
pnpm build:tsc
- run: git --no-pager diff --compact-summary --exit-code

coverage: # run coverage and unit tests
Expand Down
11 changes: 5 additions & 6 deletions action-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@cspell/cspell-bundled-dicts": "^8.4.1",
"@octokit/core": "^6.0.1",
"@octokit/plugin-rest-endpoint-methods": "^11.0.1",
"@octokit/rest": "^20.0.2",
"@octokit/webhooks-schemas": "^7.3.2",
"@cspell/cspell-types": "^8.4.1",
"@octokit/webhooks-types": "^7.3.2",
"@types/node": "^20.11.23",
"cspell": "^8.4.1",
Expand All @@ -42,5 +38,8 @@
},
"files": [
"lib"
]
],
"engines": {
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion action-src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"noUnusedParameters": true,
Expand Down
5 changes: 4 additions & 1 deletion action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
},
"files": [
"lib"
]
],
"engines": {
"node": ">=20"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
},
"homepage": "https://github.com/streetsidesoftware/cspell-action#readme",
"devDependencies": {
"@pollyjs/adapter-node-http": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node20": "^20.1.2",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitest/coverage-istanbul": "^1.3.1",
Expand All @@ -52,5 +49,8 @@
"shx": "^0.3.4",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
"engines": {
"node": ">=20"
}
}
Loading

0 comments on commit 896ade4

Please sign in to comment.