0.0.0 • Published 1 year ago
igenius-frontend v0.0.0
iGenius Frontend Monorepo
Monorepo based on turborepo, have a look at turbo.json. Long story short: every task might be cached to improve speed.
Install
npm i -g pnpm
(if you haven't installed pnpm already)pnpm i -r
Develop
Navigate through the app/module you want to work on OR use the --filter option of pnpm
pnpm --filter 'package-name' start
pnpm start:webapp
pnpm start:console
pnpm start:login
pnpm start:account
Test
This will run all the tests in the monorepo, for each apps, for each package
pnpm test
Releasing
pnpm changeset
orpnpm cs
- add your changelog entry
- do your work
- merge your branch in
main
pnpm changeset:version
orpnpm cs:v
- you've completed what you needed to do
- prepare your version
pnpm changeset:publish
orpnpm cs:p
- a tag will be made for the app you've specified earlier
- everything will now be pushed to git
NB: when working with feature branches the version
and publish
is done on main
while the initial changeset
is done
on your branch and committed!
0.0.0
1 year ago