Skip to content

Update all the things #157

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 4 commits into from
May 5, 2023
Merged

Update all the things #157

merged 4 commits into from
May 5, 2023

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Apr 24, 2023

  • Drop Node.js < 14 support
  • Remove debug dependency
  • Fix tests on Windows
  • Switch to GitHub Actions CI
  • Add c8 for coverage
  • Update dependencies
  • Kept back mocha due to test failures

ESM and rewire are causing issues. @mrjoelkemp would be nice if you could drop them like you did in dependents/node-filing-cabinet#105


TODO:

Closes #155, closes #154 while at it

@XhmikosR XhmikosR force-pushed the xmr/dev branch 4 times, most recently from 1a58ed1 to 52646db Compare April 24, 2023 14:50
@XhmikosR XhmikosR force-pushed the xmr/dev branch 9 times, most recently from 8d85804 to 0d2b4ab Compare May 1, 2023 18:31
index.js Outdated
@@ -34,7 +34,7 @@ module.exports = function(options = {}) {
return config.isListForm ? [] : {};
}

const results = traverse(config);
const results = module.exports._traverse(config);
Copy link
Member Author

Choose a reason for hiding this comment

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

Not super happy with this approach, but I don't know how to achieve the same with another package and rewire is buggy and sort of unmaintained.

If someone knows another package to replace rewire and achieve the same result without exporting stuff just for testing, let me know.

@XhmikosR XhmikosR requested a review from mrjoelkemp May 3, 2023 14:52
@XhmikosR XhmikosR marked this pull request as ready for review May 3, 2023 14:52
@XhmikosR
Copy link
Member Author

XhmikosR commented May 3, 2023

@mrjoelkemp please check #157 (comment)

I actually dropped the relevant code but I'm not sure if everything's still covered. Exporting stuff just for testing is bad, though, so I'm not sure which way to go.

@XhmikosR XhmikosR force-pushed the xmr/dev branch 3 times, most recently from 3b01ded to 769e369 Compare May 5, 2023 05:56
XhmikosR added 4 commits May 5, 2023 10:14
* Drop Node.js < 14 support
* Remove debug dependency
* Fix tests on Windows
* Switch to GitHub Actions CI
* Add c8 for coverage
* Update dependencies
* Kept back mocha due to test failures

Rewire and esm should be dropped later
@XhmikosR XhmikosR merged commit 2510578 into main May 5, 2023
@XhmikosR XhmikosR deleted the xmr/dev branch May 5, 2023 07:18
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