Skip to content

Update express version#700

Open
yaroslav8765 wants to merge 5 commits into
mainfrom
update-express-version
Open

Update express version#700
yaroslav8765 wants to merge 5 commits into
mainfrom
update-express-version

Conversation

@yaroslav8765

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project to support newer Express versions (including Express 5) while keeping compatibility with Express 4, and refreshes lockfiles to reflect the dependency upgrades.

Changes:

  • Bumped Express in the dev demo to 4.22.2.
  • Updated adminforth to accept express peer dependency ^4.21.0 || ^5.0.0, and upgraded @types/express to v5 types.
  • Adjusted ExpressServer to handle Express 5 routing differences (wildcard route patterns, router stack access) and added logging of the resolved Express version.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
dev-demo/pnpm-lock.yaml Locks dev demo to Express 4.22.2 and updated transitive deps.
adminforth/servers/express.ts Adds Express-version-aware routing behavior and logging.
adminforth/pnpm-lock.yaml Updates lockfile to Express 5.2.1 + updated transitive deps and Express v5 typings.
adminforth/package.json Moves express to peer deps with a dual-range and updates @types/express to v5.
adminforth/commands/createApp/templates/package.json.hbs Updates scaffolded apps to use Express ^5.2.1 and @types/express v5.
Files not reviewed (2)
  • adminforth/pnpm-lock.yaml: Generated file
  • dev-demo/pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread adminforth/servers/express.ts
Comment thread adminforth/servers/express.ts
Comment thread adminforth/servers/express.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants