Skip to content

Conversation

@art-alexeyenko
Copy link
Contributor

@art-alexeyenko art-alexeyenko commented Jan 29, 2025

Description / Motivation

Some dependencies are not updated, as they need ESM support:

  • sitecore-jss
    • chai 5 - ESM
    • graphql-request 7 - ESM
  • jss-nextjs
    • chalk
  • sitecore-jss-dev-tools
    • chalk v5 - ESM
  • nextjs app
    • change-case
    • chalk
  • create-sitecore-jss
    - inquirer
    - sass-alias

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

"nyc": "^17.1.0",
"sinon": "^19.0.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I replace ts-node with tsx here as pre-prep for ESM switch. ts-node only works with CJS.
However, tsx causes problems with sinon.stub in other packages - which we'll need to figure out later.

Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

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

Great work on this!
Some dependencies were updated to the latest or were missed. Please clarify the reason.

Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

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

Looks good👍🏼

@art-alexeyenko art-alexeyenko merged commit 665998a into dev Jan 31, 2025
1 check passed
@art-alexeyenko art-alexeyenko deleted the v2/jss-1777-3rd-party branch January 31, 2025 13:02
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.

3 participants