bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.14k stars 114 forks source link

Switch to NPM by default and away from a Yarn dependency #869

Closed jaredcwhite closed 2 months ago

jaredcwhite commented 6 months ago

As previously announced, Bridgetown 2.0 is switching to NPM by default (included with Node of course) and away from an additional dependency on Yarn--though support for Yarn as well as pnpm are still provided for projects which use them.

This PR also tries to abstract out any automations (for bundled configurations, adding packages to match gems for plugins, etc.) so they work for NPM, Yarn, pnpm, and any other potential choices down the road. And we're now standardizing on Node v20 minimum.

For further context read: https://www.bridgetownrb.com/future/road-to-bridgetown-2.0-new-baselines/

We may also want to expose a customization option for new projects, see #609

render[bot] commented 6 months ago

Your Render PR Server URL is https://bridgetown-beta-pr-869.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-cnr8o1f109ks73c1dbm0.

render[bot] commented 6 months ago

Your Render PR Server URL is https://bridgetown-api-pr-869.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-cnr8o1n109ks73c1dbs0.