Skip to content

Commit

Permalink
[add] Election Voter model & controller
Browse files Browse the repository at this point in the history
[optimize] upgrade to Node.js 22 & other latest Upstream packages

Signed-off-by: South Drifter <shiy2008@gmail.com>
  • Loading branch information
TechQuery committed Jan 20, 2025
1 parent 93451bb commit a12466c
Show file tree
Hide file tree
Showing 10 changed files with 737 additions and 534 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://npm.pkg.github.com
cache: pnpm
- name: Install, Build & Publish
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"ms-azuretools.vscode-docker",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"github.vscode-github-actions"
"github.vscode-github-actions",
"github.copilot"
]
}
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@
"url": "https://github.com/kaiyuanshe/KYS-service/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">=22"
},
"dependencies": {
"@azure/storage-blob": "^12.26.0",
"@koa/cors": "^5.0.0",
"@koa/multer": "^3.0.2",
"@koa/router": "^13.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"dotenv": "^16.4.5",
"ethers": "^6.13.4",
"dotenv": "^16.4.7",
"ethers": "^6.13.5",
"file-type": "^16.5.4",
"iterator-helpers-polyfill": "^3.0.1",
"jsonwebtoken": "^9.0.2",
Expand All @@ -31,8 +34,8 @@
"koa-logger": "^3.2.1",
"koa2-swagger-ui": "^5.11.0",
"koagger": "^0.3.0",
"koajax": "^3.0.3",
"marked": "^15.0.2",
"koajax": "^3.1.1",
"marked": "^15.0.6",
"mobx": "^6.13.5",
"mobx-lark": "^2.0.0",
"mobx-restful": "^2.0.0",
Expand All @@ -52,13 +55,13 @@
"@types/koa": "^2.15.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-logger": "^3.1.5",
"@types/node": "^20.17.7",
"@types/node": "^22.10.7",
"get-git-folder": "^0.1.2",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"lint-staged": "^15.4.1",
"prettier": "^3.4.2",
"ts-node-dev": "^2.0.0",
"typescript": "~5.7.2"
"typescript": "~5.7.3"
},
"resolutions": {
"mobx-restful": "$mobx-restful"
Expand Down
Loading

0 comments on commit a12466c

Please sign in to comment.