rowyio / rowy

Low-code backend platform. Manage database on spreadsheet-like UI and build cloud functions workflows in JS/TS, all in your browser.
http://rowy.io
Other
6.14k stars 487 forks source link

chore: migrate from CRA and Jest to Vite and Vitest #1279

Closed il3ven closed 1 year ago

il3ven commented 1 year ago

This PR migrates the codebase from CRA and Jest to Vite and Vitest.

Changes:

Checking out to this PR won't work. To test locally you'll have to checkout to rowyio/form-builder#10 and use yarn link. I have made some changes to that package. Reason for the change is explained in rowyio/form-builder#10.

I have tested the changes locally after linking to @rowy/form-builder. yarn build, yarn start work as expected. yarn test fails with a firebase auth/network-request-failed. ( Help needed )

For this PR, I have used @vitejs/plugin-react and not @vitejs/plugin-react-swc because jotai doesn't support fully support swc. I did try swc at first but it didn't work.

Fixes #1275 /claim #1275

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rowy-os ❌ Failed (Inspect) Jun 10, 2023 2:01pm
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rowy-typedoc** | ⬜️ Ignored ([Inspect](https://vercel.com/rowy/rowy-typedoc/HncGMecZMo7oJ3tXjw9iNpspdMt6)) | | | Jun 10, 2023 2:01pm |
vercel[bot] commented 1 year ago

@il3ven is attempting to deploy a commit to the Rowy Team on Vercel.

A member of the Team first needs to authorize it.

shamsmosowi commented 1 year ago

Thank you @il3ven ! it works perfectly!