Skip to content

Commit

Permalink
[fix] Abort Controller & Signal polyfill
Browse files Browse the repository at this point in the history
[optimize] upgrade to PNPM 9, Husky 9 & other latest Upstream packages
  • Loading branch information
TechQuery committed Apr 30, 2024
1 parent 029e65f commit 72815b1
Show file tree
Hide file tree
Showing 7 changed files with 1,585 additions and 2,405 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm test
4 changes: 0 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm run generate
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
auto-install-peers = false
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-polyfill",
"version": "0.6.7",
"version": "0.6.8",
"license": "AGPL-3.0",
"author": "shiy2008@gmail.com",
"description": "An automatic CDN service for Web polyfills, which is based on TypeScript, Node.js & JSDelivr.",
Expand All @@ -26,19 +26,19 @@
},
"dependencies": {
"@tech_query/node-toolkit": "^1.2.1",
"dotenv": "^16.3.1",
"dotenv": "^16.4.5",
"fs-extra": "^11.2.0",
"koapache": "^2.2.2",
"marked": "^11.1.1"
"marked": "^12.0.2"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^18.19.8",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"tsx": "^4.7.0",
"typescript": "~5.3.3"
"@types/node": "^18.19.31",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"tsx": "^4.7.3",
"typescript": "~5.4.5"
},
"prettier": {
"singleQuote": true,
Expand All @@ -50,7 +50,7 @@
"*.{md,json,yml,ts}": "prettier --write"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test": "lint-staged",
"generate": "rm -rf public/ && tsx source/",
"start": "web-server public/ -p 8080"
Expand Down
Loading

0 comments on commit 72815b1

Please sign in to comment.