visa / visa-chart-components

Visa Chart Components (VCC) is an accessibility focused, framework agnostic set of data experience design systems components for the web. VCC attempts to provide a toolset to enable developers to build equal data experiences for everyone, everywhere.
https://visa.github.io/visa-chart-components/
MIT License
151 stars 28 forks source link

Initial Build of Pacakges for Monorepo Seems to Burn Down MacBook Air M1 Base Model #64

Closed davidkutas closed 1 year ago

davidkutas commented 1 year ago

When I attempt to build the packages initially for the monorepo with the yarn dev --b command, the computer becomes unresponsive. I'm wondering if this is specific to me, or if it does happen to others as well?! I know the note says that the initial build might take some time...

chris-demartini commented 1 year ago

Thanks for the comment on this @davidkutas. Can you try reducing the concurrency of the build process and let me know if that helps. In package.json change the build script to concurrency 2 or 4 instead of 8, which is what it is set to.

I have not tried to build on an M1, but it does build on my old MacBook, if it struggles I reduce the concurrency to help the machine out a bit.

Let us know if that helps.

davidkutas commented 1 year ago

I changed the concurrency to 2, and the issue got resolved. Thank you.

chris-demartini commented 1 year ago

Sounds good, we will try to add something to our docs to note this work around in an upcoming release.

chris-demartini commented 1 year ago

Addressed in latest release (6.3.0)