Skip to content

Upgrade Yeoman #62

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 1 commit into from
Aug 5, 2025
Merged

Upgrade Yeoman #62

merged 1 commit into from
Aug 5, 2025

Conversation

martincostello
Copy link
Member

Upgrade to the latest version of Yeoman.

Upgrade to the latest version of Yeoman.
@martincostello martincostello added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 5, 2025
@martincostello martincostello marked this pull request as ready for review August 5, 2025 14:50
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 14:50
@martincostello martincostello merged commit 93fee3a into dev Aug 5, 2025
1 check passed
@martincostello martincostello deleted the bump-yeoman branch August 5, 2025 14:50
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the project to use the latest version of Yeoman and its ecosystem, migrating from CommonJS to ES modules and updating all related dependencies.

  • Converted from CommonJS require() syntax to ES6 import/export syntax
  • Updated major versions of Yeoman dependencies (yeoman-generator 5.7.0 → 7.5.1, yeoman-test 6.3.0 → 10.1.1)
  • Updated API calls to match new Yeoman test interface (.withPrompts().withAnswers(), assert.*result.assert*)

Reviewed Changes

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

File Description
package.json Added ES module support and upgraded all Yeoman dependencies to latest versions
generators/app/index.js Converted generator from CommonJS to ES6 modules with import/export syntax
test/test-app.js Updated test file to use ES6 imports, new Yeoman test API, and ES module compatibility helpers
Comments suppressed due to low confidence (4)

package.json:36

  • yeoman-generator version 7.5.1 does not exist. The latest available version as of my knowledge cutoff is 5.x. Please verify the correct version number for the latest yeoman-generator release.
    "yeoman-generator": "^7.5.1"

package.json:43

  • yeoman-test version 10.1.1 does not exist. The latest available version as of my knowledge cutoff is 6.x. Please verify the correct version number for the latest yeoman-test release.
    "yeoman-test": "^10.1.1"

package.json:35

  • yosay version 3.0.0 does not exist. The latest available version as of my knowledge cutoff is 2.x. Please verify the correct version number for the latest yosay release.
    "yosay": "^3.0.0",

package.json:42

  • yeoman-environment version 4.4.3 does not exist. The latest available version as of my knowledge cutoff is 3.x. Please verify the correct version number for the latest yeoman-environment release.
    "yeoman-environment": "^4.4.3",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Development

Successfully merging this pull request may close these issues.

1 participant