Skip to content
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

Fix: Update 'latest-version' from 5.1.0 to 7.0.0 #5471

Closed
wants to merge 1 commit into from
Closed

Fix: Update 'latest-version' from 5.1.0 to 7.0.0 #5471

wants to merge 1 commit into from

Conversation

bennytaccardi
Copy link

Updating 'latest-version' version from 5.1.0 to 7.0.0 and adapt 'get-package' file to work with this new version, from CommonJs to ESM.

Ref: #5464

Pull request checklist

Make sure you:

For non-trivial changes, please make sure you also:

  • Added/Updated related documentation.
  • Added/Updated related tests.

Short description of the change(s)

This pull request updates the 'latest-version' version from 5.1.0 to 7.0.0 in the package.json file. The new version does not support CommonJS, but it supports ESM.
As a result, a new script has been developed that adapts CommonJS to ESM.
The new script, 'adapt-cjs-to-esm.js', reads the file content from 'dist/release/tasks/get-packages.js', replaces the statement with a new one, and writes the updated content back to the file.
Overall, this pull request ensures that the project is updated to use the latest version of 'latest-version' and is compatible with ESM.

Updating 'latest-version' version from 5.1.0 to 7.0.0 and adapt 'get-package' file to work with this new version, from CommonJs to ESM.

Ref: #5464
@captainbrosset
Copy link
Contributor

Pinging @vidorteg for a review on this.

@vidorteg
Copy link
Member

thanks for the PR, will take a look soon :)

@vidorteg
Copy link
Member

vidorteg commented Apr 4, 2023

Still have this on my radar just have been very busy lately.

@bennytaccardi
Copy link
Author

Still have this on my radar just have been very busy lately.

No problem :)

@bennytaccardi bennytaccardi closed this by deleting the head repository Feb 3, 2024
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