rules_js icon indicating copy to clipboard operation
rules_js copied to clipboard

[FR]: Consider hosting framework-specific "contrib"

Open alexeagle opened this issue 2 years ago • 4 comments

What is the current behavior?

Users are expected to do a lot of "last-mile" work to adapt the instructions from their framework to be viable under Bazel.

Describe the feature

We could provide simple macros, imagine contrib/vue.bzl, contrib/react.bzl, etc. Each would be taking something like 100-300 lines of code from one of our examples and making it shared with users.

alexeagle avatar Sep 26 '23 17:09 alexeagle

A bunch of requests for help with Playwright recently, which would be another case for this

alexeagle avatar Nov 01 '23 02:11 alexeagle

FYI came here from https://github.com/bazelbuild/examples/blob/main/frontend/next.js/defs.bzl -- I would love to see that functionality up-streamed.

stevenpollack avatar Feb 29 '24 12:02 stevenpollack

@stevenpollack I think it would be great, but it's a matter of maintainer resources. A few other companies have made donations to https://opencollective.com/aspect-build/projects/rules_js but there's no budget there now. Does your company do any funding of OSS you use?

alexeagle avatar Feb 29 '24 15:02 alexeagle

Sadly, I'm a contractor and I don't have the budget to donate to OSS. I understand where you're coming from, though.

On Fri, Mar 1, 2024 at 2:06 AM Alex Eagle < @.***> wrote:

@stevenpollack I think it would be great, but it's a matter of maintainer resources. A few other companies have made donations to https://opencollective.com/aspect-build/projects/rules_js but there's DuckDuckGo removed one tracker. More https://duckduckgo.com/-hGysyZFupsqvAi0nzhKiHW7Lo9E1Ol_IImek4MmbbrHUe_o9OFQ1hwGMSwPxljG2x2Jid2BK2tH1hcXvBCog1t4agQWDgZyvzdjf7ZTVAtqLFCE-OJAfDSs1MFrUL095AmJoLN0llE0ACst5jquokzrOh6zrz5X89A2DfpMUJajAXGPh3YohJs9jdNCAr525e7i9H6SvmW_0ja6gwUoktuVAer4tIuOQemG_NsAi6PoSNH8JOoOHNNAbCEEadCAsaC1rshMfrswy-tQtrAnjrcMDVN0xhzHnB1m_cp29tZM6g0ACAuiYZCM_HvIAsZBCHByM5ttHBtlAOFTruQQkQB9SzJJQ8EcAF_OnHuOKkhSbJC1VlCJn3ki5lbSoNmVyE2p1CjNB3gQuIxP-Ti0518xmSModCBu8jkCHKlIkREx37mVPiQp1Wgwc7ykp7F9jnF6RzbBxtR7HEhqWFbAF5P_A1OktY0k7T5psgt7hw46W7EBaCsF69WUD6968gSWFZviP8mIPNaqDFVyWuwhBSHmvQAQ Deactivate https://duckduckgo.com/

@stevenpollack https://github.com/stevenpollack I think it would be great, but it's a matter of maintainer resources. A few other companies have made donations to https://opencollective.com/aspect-build/projects/rules_js but there's no budget there now. Does your company do any funding of OSS you use?

— Reply to this email directly, view it on GitHub https://github.com/aspect-build/rules_js/issues/1292#issuecomment-1971339697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAT4RAYMQAM57SRCFMCT6YDYV5BYFAVCNFSM6AAAAAA5IC4VJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRGMZTSNRZG4 . You are receiving this because you were mentioned.Message ID: @.***>

stevenpollack avatar Mar 01 '24 01:03 stevenpollack

We've decided to add a contrib folder within rules_js to put things like framework specific macros with nextjs being the first.

Additional frameworks can have separate github issues/discussions this one will be closed now.

jbedard avatar Apr 11 '25 22:04 jbedard