V3 proposal #690
Mister-Hope
started this conversation in
Ideas
V3 proposal
#690
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here are some ideas for artalk client v3. Not sure about your attitude for raising major or introduce potential breaking changes in v2. These changes include:
use rollup to bundle a single declaration file for artalk
Add
"type": "module"
and"exports"
field for all packages, as all LTS node.js support ESM. It will make artalk works in strict esm env while it won't break commonjs "require".Bump to marked V11 and remove deprecated options https://marked.js.org/using_advanced#options
Remove
markedReplacers
in context and options, add new optionmarkedExtenstions
, since marked support.use()
api (https://marked.js.org/using_pro#use)Some code refactors
remove the following compact code in v3
Use lowercase filename in dist file
Weblinks could be case sensitive and could be not, lowercase is better.
remove cjs files
Since all node.js support esm, there is no need to provide cjs output
Beta Was this translation helpful? Give feedback.
All reactions