Skip to content

rifandani/fe-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

279 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

fe-monorepo

Ask DeepWiki

![Mintlify Docs]

🎯 Todo

  • always update CLAUDE.md file in root dir and subpackage inside monorepo and consider it as a living document
  • lookout for nextjs update to support typescript@7 natively, because currently we need @typescript/native-preview

πŸ› οΈ Upgrading Dependencies

  • Remember to always use EXACT version for all dependencies
  • Run bun bump:deps to check for outdated dependencies, then run bun install to install it
  • To upgrade expo app, it's better to follow the steps in "How to upgrade?" section inside it's README
  • To upgrade IntentUI components (last updated at "June 30 2026" release or "v3.8.4"), run interactively bun bump:ui
    • keep 'use client' directive in components/hooks
    • copy changes in toast props into providers/toast/context.tsx, then remove generated toast.tsx file
    • use react-stately instead of @react-stately/color
    • use react-aria instead of @react-aria/i18n
    • change @/hooks/use-mobile into @/core/hooks/use-mobile
    • @/hooks/use-clipboard into @/core/hooks/use-clipboard
    • copy className in chart.tsx into globals.css
    • do not use .Provider for react context because we're using react 19
    • all regex should be defined outside of components/hooks for stable reference
  • If there's MINOR upgrade in playwright, run bun web test:install to install new version of chromium
  • Run bun web test, bun spa test, and bun expo test:dev to run E2E tests (run the dev server / emulator first)
  • Run bun web build, bun spa build, and bun expo build:android:dev:local to build with development env
  • Run bun lint-typecheck for linting and type checking

After changes are checked, invoke the release skill: add writes a changeset for the PR; cut (on clean main) versions all packages together, updates each CHANGELOG.md, commits, tags vX.Y.Z, and pushes (GitHub Release via .github/workflows/release.yml). Manual: bun cs / bun cs:v.

πŸ“ Environment Variables

For first timer, you need to create the 2 environments in your github repo. First is dev environment, and second is prod environment (that's why in .github/workflows/ci.yml we stated environment: dev). In both environments, name it SPA_ENV_FILE and WEB_ENV_FILE (that's why in .github/workflows/ci.yml we stated secrets.SPA_ENV_FILE and secrets.WEB_ENV_FILE).

The value for SPA_ENV_FILE in dev environment is .env.dev, and the value for SPA_ENV_FILE in prod environment is .env.prod for @workspace/spa. The value for WEB_ENV_FILE in dev environment is .env.dev, and the value for WEB_ENV_FILE in prod environment is .env.prod for @workspace/web.

Source of truth is local env files. When changing them, update deployment/CI project env too.

πŸ“± Apps

πŸ“¦ Packages

πŸ“š References

Accessibility

Observability

Login to dashboard at http://localhost:3111 with credentials:

  • Username: admin
  • Password: admin

Performance

PWA

Security

SEO

About

https://rifandani-fe-monorepo-spa.vercel.app/

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages