Monorepo for the business layer known as FLEX internally
- Node.js: Recommended install via nvm
- pre-commit:
brew install pre-commit - PNPM: install
Run the following make command to install dependencies and setup pre-commit:
pnpm install --frozen-lockfile
pre-commit installTo see a list of available commands you can check package.json scripts
here are a few useful commands below:
pnpm test:affected
pnpm build:affected
pnpm lint:affected
pnpm format:checkflex/
├── libs/ # Shared libraries directory
│ └── utils/ # Shared utils for modules to use
└── domains/ # Domains directory (application code)| Repo | Overview | README |
|---|---|---|
| @domains | Domains - application code | Link |
| @libs/utils | Shared utils to be used across modules | Link |
When wanting to commit changes please first squash your commits.
Get the current number of commits on your branch:
git rev-list --count HEAD ^mainSupposing this returns 3 then you have made 3 commits since creating your branch and you want to squash them down into one:
git rebase -i HEAD~3Which will launch an interactive rebase session in the terminal.