VSCode MDX suggestions #2175
Replies: 3 comments 1 reply
-
Sure, I’m in favor, but I don‘t contribute to that repo a lot. |
Beta Was this translation helpful? Give feedback.
-
I'm somewhat fond of renovate bot and commitlint. 😅
Agreed.
I haven't interact with these tools for publishing vscode extensions much.
I have mixed feelings.
I like changelogs and automated releases.
I‘m in a similar spot to Titus, I haven't contributed much to that repo. |
Beta Was this translation helpful? Give feedback.
-
@JounQin do you have any opinions on this? I’m mostly interested in your views, because you originally created that project. |
Beta Was this translation helpful? Give feedback.
-
I would like to align the vscode-mdx more with the unified ecosystem. IMO it currently contains a lot of unnecessary boilerplate. I have some suggestions.
Remove excessive funding information
I suggest we remove
.github/FUNDING.yml
, so GitHub falls back to.funding.yml
in the.github
repository.I don’t know what the
donate
field means inpackage.json
, but since it links to alternative funding URLs, I suggest to remove it entirely.VSCode extensions don’t use the
funding
field inpackage.json
, I suggest we remove that too. Instead, it uses thesponsor
link.I suggest to change the
sponsor
link fromhttps://github.com/mdx-js/vscode-mdx?sponsor=1
tohttps://opencollective.com/unified
, which is used consistently for thefunding
field throughout the unified ecosystem..Remove
simple-git-hooks
andlint-staged
Some people like it, others don’t. Since these aren’t usually used in the unified ecosystem, I suggest to remove them.
Remove commitlint
I see value in checking commit message consistency in organizations or if they are used to generate changelogs. Since it’s not used for that in the
vscode-mdx
repo, I think it just heightens the bar for contributors.Remove renovate
It’s typically not used within the unified ecosystem.
Switch from ESLint to XO
I personally prefer ESLint over XO, but for consistency within the unified ecosystem I suggest we use XO. If we don’t, I suggest we use a less bloated preset.
Switch to
remark-preset-wooorm
This is used consistently within the unified ecosystem.
Switch from yarn to npm
Within the unified ecosystem npm is used consistently. Currently this is blocked by
@lstg/common-config
, which has incorrect peer dependencies.Switch to official CLIs for publishing
Currentl the
HaaLeo/publish-vscode-extension
action is used for publishing. Instead I suggest to use the officialvsce
andovsx
CLIs.Change master branch to main
Within the unified ecosystem we consistently use the
main
branch.Remove lockfile
Although I personally like lockfiles, within the unified ecosystem they are typically omitted.
Keep changesets
I like automated releases. I think this can also be used for a mono repo, right? This is mostly relevant, because the addition of intellisense will make it a mono repo.
Beta Was this translation helpful? Give feedback.
All reactions