Skip to content

chore: upgrade dependencies#189

Merged
wagoid merged 4 commits intomasterfrom
chore/upgrade-deps
Jul 15, 2021
Merged

chore: upgrade dependencies#189
wagoid merged 4 commits intomasterfrom
chore/upgrade-deps

Conversation

@wagoid
Copy link
Copy Markdown
Owner

@wagoid wagoid commented Jul 7, 2021

The PR got a bit big due to the update to support ES modules, but thoe updates are mostly about import syntax and renamed files.

wagoid added 4 commits July 7, 2021 12:53
This will help upgrading dependencies to new versions that are exported
as ESM.

BREAKING CHANGE: Node.js version used on the action updated from 12 to
16
Some packages were updated to versions that now use ECMAScript modules,
so this repo was updated to use ES modules using Node.js built-in support.

Update was done using the great guide from @sindresorhus:
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
"no-process-exit": "off",
"node/no-unpublished-require": "off"
"node/no-unpublished-require": "off",
"node/no-unpublished-import": "off",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Needed to disable this and ES syntax rules for now, they're not fully supporting ESM syntax yet. From docs:

⚠️ ECMAScript 2015 (ES6) does not define the lookup logic and Node does not support modules yet. So this rule spec might be changed in future.

@wagoid wagoid requested a review from jdbruijn July 7, 2021 18:35
@@ -0,0 +1,12 @@
{
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

standard-version doesn't support .cjs yet, so I updated to use the .json version instead

@wagoid wagoid merged commit 711b4f4 into master Jul 15, 2021
@wagoid wagoid deleted the chore/upgrade-deps branch July 15, 2021 08:35
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.

1 participant