Giter VIP home page Giter VIP logo

Comments (5)

KevinNorth avatar KevinNorth commented on August 17, 2024 3

I successfully monkey-patched jsbundling-rails to use pnpm in a project I'm working on, so I have some ideas on how this could be implemented. If you think this feature request is a good idea, I would be happy to put together a pull request for it!

from jsbundling-rails.

G-Rath avatar G-Rath commented on August 17, 2024 2

fwiw I recently created package_json to facilitate this, which is in the process of being landed in Shakapacker.

You can follow that here, and we've also got it working in our rails-template across the five main package managers (npm, pnpm, yarn classic, yarn berry, and bun).

My understanding is that jsbundling-rails is primarily only using package managers in its install templates and it looks like a single build call in a rake task that should be easy to customize per app so I wasn't going to look at suggesting package_json here until after Shakapacker has been switched over in a new major and proven stable for a while, but if folks are already interested and open to it here I'm happy to help with its integration :)

from jsbundling-rails.

h0jeZvgoxFepBQ2C avatar h0jeZvgoxFepBQ2C commented on August 17, 2024

yes pleas create a PR, I would like to use npm too instead of yarn

from jsbundling-rails.

h0jeZvgoxFepBQ2C avatar h0jeZvgoxFepBQ2C commented on August 17, 2024

Same request in the cssbundling-rails repo too rails/cssbundling-rails#138

from jsbundling-rails.

KevinNorth avatar KevinNorth commented on August 17, 2024

Hello! Thanks for the encouragement to pursue this. I'm going to be busy on a higher-priority project for a little while. But I'll plan to come back to this and hopefully have a PR up by the end of the year or early next year.

I'll definitely look into your contributions when I do so, G-Rath!

from jsbundling-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.