1.8 KiB
1.8 KiB
Contribution Guide
Things to get familiar with
- pnpm - package manager & monorepo
- React - Front-end framework
- Svelte - Front-end framework
- SvelteKit - Svelte meta-framework
Project Structure
apps
main
- https://developomp.comblog
- https://blog.developomp.comportfolio
- https://portfolio.developomp.com
packages
- shared stuff used across different packagescontent
- Shared contenteslint-config
- ESLint configuration filestailwind-config
-tailwind configuration with pomp-specific extensions
Setting Up
If you are a Windows user:
- Do NOT use the Command Prompt (cmd)
- Do NOT use Windows PowerShell
- Run these commands from PowerShell or a Linux terminal such as WSL or Git Bash
PowerShell and Windows PowerShell are different applications.
- Clone this git repository
- Install the following
- Install Dependencies
pnpm install
- Setup husky
pnpm husky install
- Run whatever command you need either in project root or in individual packages
pnpm build
- Build all apps and packagespnpm dev
- Run all apps and packages locally- blog - http://localhost:3000
- main - http://localhost:5173
- portfolio - http://localhost:5174
pnpm lint
- Lint all apps and packagespnpm clean
- Remove all auto-generated content such asnode_modules
anddist
.
Testing
-
Build site
pnpm build
-
Run E2E Tests
pnpm test:e2e
-
Benchmark deployed sites using the following services: