wooorm / mdxjs-rs

Compile MDX to JavaScript in Rust
https://docs.rs/mdxjs/
MIT License
429 stars 14 forks source link

build(cargo): bump up swc_core #10

Closed kwonoj closed 1 year ago

kwonoj commented 1 year ago

This PR bumps up swc_core to close-to-latest to pick up some fixes.

kwonoj commented 1 year ago

Closing as invalid for now.

wooorm commented 1 year ago

btw, as I understand, 0.44.0 is treated on crates as ^0.44.0 would on npm. I’d prefer to reduce the noise by sticking with the only the required, significant change!

kwonoj commented 1 year ago

as I understand, 0.44.0 is treated on crates as ^0.44.0 would on npm. I’d prefer to reduce the noise by sticking with the only the required, significant change!

swc_core does not strictly follows semver (yet) and there are the cases we need explicit bump time to time unfortunately. Reason I hope to get some automatic update / publish.

wooorm commented 1 year ago

Semver is still semver. And crates.io follows that: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio. If SWC doesn’t follow that, stuff will break everywhere anyway.

It’s not feasible to create a release of this package every day, and every other package that depends on SWC.

If possible, I think it’s better to follow semver the way crates.io supports it.