-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat!: bump all unified
ecosystem dependencies, support mdx v3
#486
Conversation
Updating dependencies.
Updating dependencies.
🦋 Changeset detectedLatest commit: 289ad71 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
@@ -6,62 +6,6 @@ exports[`fixtures lint code blocks should work as expected: code-blocks.md 1`] = | |||
"column": 1, | |||
"endColumn": 6, | |||
"endLine": 3, | |||
"fix": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eslint-plugin-markdown
is required to be upgraded first? We're locking unified@^11.0.4
for now. See also eslint/markdown#218
@@ -14,16 +14,15 @@ jobs: | |||
- ubuntu-latest | |||
- windows-latest | |||
node: | |||
- 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are free to choose 18, as 16 is EOL.
But, Node 16 should work for all other unified projects. Everything is tested and works on Node 16.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node 16 still works, I disable testing because the expected errors thrown are different with other versions.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #486 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 19
Lines 188 190 +2
Branches 32 33 +1
=========================================
+ Hits 188 190 +2 ☔ View full report in Codecov by Sentry. |
Good to review? @wooorm @ChristianMurphy |
"tslib": "^2.6.2", | ||
"unified": "^11.0.4", | ||
"unified-engine": "^11.1.1", | ||
"unist-util-visit": "^5.0.0", | ||
"uvu": "^0.5.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using the latest release of node there's an option to drop uvu
in favor of node:test
https://nodejs.org/api/test.html
Which is even faster, a stable part of node core, and works well with ESM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a new PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are actually using uvu/assert
only, maybe it can be replaced by devlop
. For testing, we're using jest
now, and will migrate to vitest
later.
@wooorm So we'll have to wait |
This is an independent project, so it could update, right? Like all the other projects? And, other than TypeScript, things still work? Have you tried if it actually works? |
@wooorm |
Can you please clarify what doesn’t work? |
I'm not so sure what is the root cause, remark-lint or eslint-plugin-markdown, but I've been trying to align the unified version used in eslint-plugin-markdown. |
You link to a line of code. I don‘t see what the bug is. Could you please tell me how to reproduce this? What is the actual output, and what is the output you want? |
The code blocks OK, I tried, and it does not work. |
I don’t know how to help you. |
eslint-mdx/packages/eslint-mdx/src/worker.ts Line 222 in 7ca1ffe
I think we can merge as-is, and just wait |
But why not the other way around? What is the error? It should work. But, feel free to wait though, maybe say 2 weeks? I don’t have much time to work on oss right now |
I'm going to merge this PR after upgrading |
unified
ecosystem dependencies, support mdx v3
close #480, close #481
The patches are created due to the package manager issue, see also conventional-changelog/commitlint#3642 (comment)