Skip to content

Commit

Permalink
feat: Use npmcli config in asyncapi generator (minimum node 18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierrick BOULÉ committed Apr 16, 2024
1 parent 7c2ed29 commit 0ee1a1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-testing-with-test-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14', '16', '18', '20' ]
node: [ '18', '20' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions docs/installation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ You can use the generator library to generate whatever you want in your event-dr

## Prerequisites
Before you install and use the AsyncAPI CLI and the generator library, ensure you meet the prerequisites below, then [install the CLI](#installation).
1. Node.js v16.20.2 and higher
2. Npm v8.19.4 and higher
1. Node.js v18.12.0 and higher
2. Npm v8.19.0 and higher

To verify the versions of Node and Npm you have, run the following command on your terminal:
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"ag": "./cli.js"
},
"engines": {
"node": ">16.20.2",
"npm": ">8.19.4"
"node": ">=18.12.0",
"npm": ">=8.19.0"
},
"scripts": {
"test": "npm run test:unit && npm run test:integration && npm run test:cli",
Expand Down

0 comments on commit 0ee1a1a

Please sign in to comment.