-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
fix: use rollup to output js files #2916
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Lgtm
@styfle any issue with merging this? |
@@ -1,6 +1,6 @@ | |||
{ | |||
"compilerOptions": { | |||
"target": "es2021", | |||
"target": "es2022", |
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.
I believe we chose ES2021 to support Node.js 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.
Es 2021 doesn't support private methods that we already use. This still passes with node 16 with 2022.
"test:update": "node test/update-specs.js", | ||
"rules": "node test/rules.js", | ||
"bench": "npm run build && node test/bench.js", | ||
"lint": "eslint --fix .", | ||
"type-check": "tsc", |
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 I'm missing it, but where do we run tsc
using the root tsconfig.json
? Did you verify that a type error will fail the build?
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.
Yes rollup handles running tsc and will fail to build on typescript error
## [7.0.1](v7.0.0...v7.0.1) (2023-08-07) ### Bug Fixes * use rollup to output js files ([#2916](#2916)) ([610bc45](610bc45))
Marked version: v6.0.0
Description
Fix umd output by removing tsup and adding rollup
Add umd-test to check umd adds global marked
Contributor
Committer
In most cases, this should be a different person than the contributor.