electricitymaps / electricitymaps-contrib

A real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.37k stars 908 forks source link

create workspace config #6884

Open VIKTORVAV99 opened 1 week ago

VIKTORVAV99 commented 1 week ago

Issue

It's starting to get hard to maintain some of our dependencies that rely on prettier as they moved to v3 which switched to a ESM format which don't work with the way use prettier today.

Description

It's time to bite the bullet and set up a workspace config for pnpm, I know we have been avoiding to add a top level package.json in the past but it's the only way to ensure everything is in sync.

Double check