Closed sekaiking closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
π Inspect: https://vercel.com/curaos/frontend/YGPjotTXC9iPVTb1uhNCdRPG2f1a
β
Preview: https://frontend-git-cleanup-curaos.vercel.app
π Inspect: https://vercel.com/testtete/frontend-dev/3VA9HyaR6UawE9SmeZZmLjSVDAbp
β
Preview: https://frontend-dev-git-cleanup-testtete.vercel.app
Hey @AshenI99, can you test this changes if they work fine for you?
Just checkout clean_up
branch and run the install command, then test each command to make sure it's working as it should
Closed #116 and #149 because they are nonrelevant cause of this PR
Had to install @type/bn.js
because of an error caused by the latest near-api-js
version
log here: https://vercel.com/testtete/frontend-dev/8Q75NRm1WttWFEwZv5G2k8fK6dJQ
:tada: This PR is included in version @cura/hooks-v1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This PR is included in version @cura/components-v1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Summary
I upgraded
Yarn
to version 3 because it offers some helpful features such as workspace ranges and release workflow which we can use to automate the publishing of packagesNow using
yalc
for developement is unnecessary, because the frontend is resolving the local packages automatically from the workspace.Upgraded to
NextJs 12
because it's fast and cool. And it allows us to have hot reloading without needingnext-transpile-modules
thanks to externalDirAlso, I fixed all eslint errors which were filling the console log and causing vscode to show errors
And, optimized images from the homepage to make them load a bit faster
And to make it easy for developers, there is a new set of commands that we can call anywhere from the project folder. (Also added them to README)
This PR will make it helpful to move on with https://github.com/curaOS/source/issues/120 and #114
Note
This update require some changes to Vercel settings, as following:![image](https://user-images.githubusercontent.com/54310457/146508989-fd26a1a1-ebb9-431d-a49f-597e0b7c618d.png)