8000 Update dependencies and add support for Node v22 by homer0 · Pull Request #111 · homer0/jimpex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update dependencies and add support for Node v22 #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Node.js
uses: actions/setup-node@v3
with:
node-version: '20.8.1'
node-version-file: '.nvmrc'
- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- name: Install dependencies
env:
HUSKY_SKIP_INSTALL: 1
run: pnpm install --frozen-lockfile
- name: Install semantic-release
run: pnpm add -g semantic-release@^23.0.7 @semantic-release/changelog@^6.0.3 @semantic-release/git@^10.0.1
- run: semantic-release
- run: pnpm exec semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18', '20' ]
node: [ '18', '20', '22' ]
name: Run jest and ESLint (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
Expand All @@ -16,12 +16,12 @@ jobs:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- run: pnpm install --frozen-lockfile
- run: pnpm run lint:all
- run: pnpm test
- name: Coveralls
if: ${{ matrix.node == '18' }}
if: ${{ matrix.node == '20' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit $1
pnpm exec commitlint --edit $1
5 changes: 1 addition & 4 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm install

pnpm install --frozen-lockfile
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm run lint
2 changes: 0 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm run types:check && pnpm test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18
20
73 changes: 38 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,60 +7,63 @@
"author": "Leonardo Apiwan (@homer0) <me@homer0.com>",
"license": "MIT",
"dependencies": {
"@homer0/api-utils": "^3.0.4",
"@homer0/deep-assign": "^3.0.4",
"@homer0/deferred": "^3.0.4",
"@homer0/env-utils": "^3.0.4",
"@homer0/events-hub": "^3.0.4",
"@homer0/jimple": "^3.0.4",
"@homer0/object-utils": "^3.0.4",
"@homer0/package-info": "^3.0.4",
"@homer0/path-utils": "^3.0.4",
"@homer0/root-file": "^3.0.4",
"@homer0/simple-config": "^3.0.4",
"@homer0/simple-logger": "^3.0.4",
"@homer0/ts-async-import": "^1.1.3",
"body-parser": "^1.20.2",
"compression": "^1.7.4",
"express": "^4.19.2",
"mime": "^4.0.1",
"@homer0/api-utils": "^3.0.6",
"@homer0/deep-assign": "^3.0.6",
"@homer0/deferred": "^3.0.6",
"@homer0/env-utils": "^3.0.6",
"@homer0/events-hub": "^3.0.6",
"@homer0/jimple": "^3.0.6",
"@homer0/object-utils": "^3.0.6",
"@homer0/package-info": "^3.0.6",
"@homer0/path-utils": "^3.0.6",
"@homer0/root-file": "^3.0.6",
"@homer0/simple-config": "^3.0.6",
"@homer0/simple-logger": "^3.0.6",
"@homer0/ts-async-import": "^1.1.5",
"body-parser": "^1.20.3",
"compression": "^1.7.5",
"express": "^4.21.1",
"mime": "^4.0.4",
"multer": "1.4.5-lts.1",
"node-fetch": "^3.3.2",
"spdy": "^4.0.2",
"statuses": "^2.0.1",
"urijs": "^1.19.11"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@homer0/eslint-plugin": "^12.0.4",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@homer0/eslint-plugin": "^12.0.6",
"@homer0/prettier-config": "^1.1.3",
"@homer0/prettier-plugin-jsdoc": "^8.0.0",
"@homer0/tsconfig": "^1.0.15",
"@homer0/prettier-plugin-jsdoc": "^9.1.0",
"@homer0/tsconfig": "^1.0.17",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/body-parser": "^1.19.5",
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/multer": "^1.4.11",
"@types/node": "^20.12.5",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/multer": "^1.4.12",
"@types/node": "^22.9.0",
"@types/spdy": "^3.4.9",
"@types/statuses": "^2.0.5",
"@types/urijs": "^1.19.25",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"eslint": "^8.57.1",
"husky": "^9.1.6",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"leasot": "^13.3.0",
"lint-staged": "^15.2.2",
"ts-jest": "^29.1.2",
"leasot": "^14.4.0",
"lint-staged": "^15.2.10",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"ts-node-dev": "^2.0.0",
"tsup": "^8.0.2",
"typedoc": "0.25.12",
"typescript": "^5.4.4"
"tsup": "^8.3.5",
"typedoc": "0.26.11",
"typescript": "^5.6.3"
},
"engine-strict": true,
"engines": {
"node": ">=18.17 <21"
"node": ">=18.17 <23"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
Loading
Loading
0