-
-
Notifications
You must be signed in to change notification settings - Fork 279
fix: update dependencies #1932
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
base: master
Are you sure you want to change the base?
fix: update dependencies #1932
Conversation
|
|
Hey @Shurtu-gal, |
|
Tests are failing right now. |
b6f0cd5 to
9da31e3
Compare
9da31e3 to
24db2f1
Compare
|
I have made the changes, and the tests are passing |
|
@Shurtu-gal please have a look and let me know if any changes are required |
package.json
Outdated
| "@asyncapi/diff": "^0.5.0", | ||
| "@asyncapi/generator": "^3.0.1", | ||
| "@asyncapi/modelina-cli": "^5.3.5", | ||
| "@asyncapi/generator-helpers": "^1.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why generator-helpers has been added?
| "@oclif/core": "^4.2.9", | ||
| "@oclif/plugin-autocomplete": "^3.2.26", | ||
| "@clack/prompts": "^0.11.0", | ||
| "@oclif/core": "^4.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this have any breaking changes?
I know it shouldn't have as it is minor version upgrade but still 🤷🏻
| "config": "^4.0.0", | ||
| "body-parser": "^2.2.1", | ||
| "chalk": "^4.1.2", | ||
| "chokidar": "^4.0.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for this any breaking changes?
| "config": "^4.1.1", | ||
| "cors": "^2.8.5", | ||
| "express": "^4.17.1", | ||
| "express": "^5.2.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you run server-api once and test stuff out to see nothing is breaking?
package.json
Outdated
| "@commitlint/cli": "^20.2.0", | ||
| "@commitlint/config-conventional": "^20.2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these are used anumore. Could you check once?
package.json
Outdated
| "@npmcli/package-json": "^7.0.4", | ||
| "@npmcli/fs": "^5.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these have been added?
| "nodemon": "^3.1.11", | ||
| "nyc": "^17.1.0", | ||
| "puppeteer": "^24.33.0", | ||
| "rimraf": "^6.1.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any breaking changes we need to be aware of?
package.json
Outdated
| "simple-git": "^3.16.0", | ||
| "mocha": "^11.7.5", | ||
| "nodemon": "^3.1.11", | ||
| "nyc": "^17.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this we can probably replace this with c8 and remove glob.
Reference: #1929 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove the older eslint config?
cc88960 to
b00e270
Compare
|
@Shurtu-gal I’ve made the changes based on the provided comments. Please let me know if any further updates are required |
|
Also while working on this, I noticed that many newer dependency versions are ESM only, whereas our repository currently uses CommonJS. It may be helpful to keep ESM compatibility in mind for future updates to keep the codebase future proof |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change is needed?
|
@spc-28 I’ve analyzed the issue and the current PR. To keep the scope smaller and reduce unrelated changes, I think this can be addressed with fewer targeted updates instead of modifying multiple areas.
|
|
Hey @sarthakNITT, |
Any thoughts on this ? @Shurtu-gal |
|
FYI |
113fa96 to
22b0c5b
Compare
|



Description
This PR updates key dependencies across the CLI to improve compatibility with the latest tooling
Key Changes:
Upgraded ESLint to v9 and migrated to the new flat config format
Updated core AsyncAPI packages, including a major upgrade to the generator
Upgraded testing libraries with necessary compatibility adjustments
Updated TypeScript and build-related tools to their latest stable versions
Related issue(s)
Issue: #1836