thien-do / moai

A React component library, where buttons look like buttons🗿
https://moai.thien.do
127 stars 26 forks source link

Revive Moai build #302

Closed thien-do closed 3 months ago

thien-do commented 3 months ago

This ticket, especially its comments, keeps track of our process in reviving Moai.

thien-do commented 3 months ago

2024-07-06

What's done

In today's change we made quite a few major decisions:

This repo is no longer a mono-repo. It has a single project now. This means "gallery" and "core" have been merged into "docs". We now have a single project that contains both components and their stories right next to them.

Moreover, Moai will become a showcase. This means the "test" project is deleted, and the distribution process is removed as well. In practice, this means there's no way to use Moai. Moai will be a snapshot of its latest version, in the form of a docs website.

image

What's next

Our immediate next step now is to achieve the high quality bar of the previous docs. The previous docs can be accessed at moai.thien.do, or by running the main branch of this repo. At a glance, there are already many downgrades:

image

In the code, this means to bring back Moai's style from backup/.storybook to the root .storybook. This should be done carefully, because we are styling with CSS targeting class names, which is internal detail that changed a lot now in 8.

image
thien-do commented 3 months ago

Done in the develop branch