Monorepo to for everything related to Hedvig.com.
Raccoons can eat just about anything, making them ideal urban dwellers. They love big city life! Today there are 20 times more of them in cities compared to 70 years ago. They can now be found across the globe.
- Install
nvm
https://github.com/creationix/nvm nvm install
(installs the node version specified in.nvmrc
)nvm use
(use version from.nvmrc
)
We use yarn
as package manager. Corepack installs the specified version defined in package.json
so you do not need to install it yourself.
git clone https://github.com/HedvigInsurance/racoon
cd racoon
nvm use
yarn
Ask someone from the Web domain team to help you out :)
If you're already part of the Vercel-team you can run:
vercel --scope hedvig link --project hedvig-dot-com --yes
vercel env pull apps/store/.env.local
Follow this guide to setup VS Code in order Yarn PnP and Typescript to work accordingly.
cd apps/store
yarn dev
Open http://localhost:3000 with your browser to see the result.
For deployment, updating translations, using CMS, etc. you will need access tokens. Refer to Notion for setup details.
Refer to the Turborepo documentation about package filtering for more details.
This Turborepo monorepo includes the following packages and apps:
store
: Hedvig.com websiteui
: Hedvig UI library (React)estlit-config-custom
: ESLint configurations
Every package/app is 100% written in Typescript.
Below is an up-to-date visualization of the files and folders that make up the repository:
The setup is based on the Turborepo kitchen-sink
template.