Skip to content

Commit

Permalink
Merge pull request #12 from alismx/alis/pnpm
Browse files Browse the repository at this point in the history
chore: upgrade node version and dependencies
  • Loading branch information
alismx authored Feb 1, 2025
2 parents 016ea0a + 6d6e570 commit 7dc5094
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Set up Node.js 20.x (GitHub npm registry)
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x
registry-url: https://npm.pkg.github.com/
scope: "@alismx"
- name: Install dependencies
run: npm ci
run: pnpm install --prod
- name: Generate client
run: npm run build
run: pnpm run build
- name: Publish package
run: npm publish
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@alismx/gitmsg",
"version": "0.0.1",
"version": "0.0.2",
"description": "Use openai to generate commit messages from a diff",
"main": "index.js",
"devDependencies": {
"@types/minimist": "^1.2.2",
"@types/node": "^18.16.3",
"minimist": "^1.2.8",
"prettier": "^2.8.8",
"typescript": "^5.7.3"
"@types/node": "^18.19.74",
"prettier": "^2.8.8"
},
"dependencies": {
"openai": "^4.80.0"
"openai": "^4.82.0",
"minimist": "^1.2.8",
"typescript": "^5.7.3",
"@types/minimist": "^1.2.5"
},
"scripts": {
"build": "npx tsc",
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7dc5094

Please sign in to comment.