bazelbuild / rules_postcss

PostCSS rules for Bazel
Apache License 2.0
10 stars 13 forks source link

Publish build rules via npm #6

Closed rzhw closed 4 years ago

rzhw commented 4 years ago

Similar to the TypeScript rules for Bazel, these build rules could be made available via npm.

Installing these build rules via npm avoids a Bazel workspace depending on these build rules having a package.json for rules_nodejs also depending on postcss, then having that version being hoisted up and interfering with the version used by these build rules.

rzhw commented 4 years ago

Also investigate version stamping (e.g. https://github.com/bazelbuild/bazelisk/commit/541325d070f320e78c2e30d1d6feeaba787c8162)

marcus-sa commented 4 years ago

So when will the rules be published to NPM? If you need any help due to lack of time, I can create a PR.

rzhw commented 4 years ago

Hey, thanks for the offer! I've currently got pull request #42 sent out to get these rules ready for publishing to npm. It's going through some code review cycles there at the moment.

Once it lands and I've published to npm, I'll mark this issue as closed.

marcus-sa commented 4 years ago

Sure, feel free to ping me otherwise, I use Bazel for everything 😉

rzhw commented 4 years ago

0.5.0 is now available at https://www.npmjs.com/package/@bazel/postcss.