Skip to content

Conversation

@antialias
Copy link
Contributor

No description provided.

@antialias antialias changed the title using node14 with type:module feat!: using node14 with type:module Nov 28, 2020
strategy:
matrix:
node: [10, 12, 14]
node: [14.15.1]
Copy link
Contributor

Choose a reason for hiding this comment

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

If only one version is tested, a matrix is not needed. But it may still be useful to test in different Node.js versions.

Also, I believe 14 would use the latest 14 version, so we don't need to set the complete version. (same below and in .npmrc)

"version": "0.0.0-development",
"description": "The JSON Resume command line interface",
"main": "index.js",
"type": "module",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be in the published package.json once we compile the source with Babel? Not sure anyone is importing resume-cli, but still.

@rbardini
Copy link
Contributor

rbardini commented Dec 1, 2020

I believe this is not a breaking change if we merge #433 first.

Copy link
Member

@thomasdavis thomasdavis left a comment

Choose a reason for hiding this comment

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

I think just keep the testing on multiple node versions for now, see how it goes with the babel PR.

@antialias
Copy link
Contributor Author

setting this to "draft" because it appears that jest is still working on support for ES6 modules, and my attempts to get it working using experimental flags have so far been unsuccessful.

relevant jest issue here: jestjs/jest#9430

@antialias antialias marked this pull request as draft December 17, 2020 17:20
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