841249f58c
* feat: add sort value initialization via beforeCreate hook * fix: after reinitialization, hooks are lost * test: temp test for hook * fix: hooks defined in the table options does not work * refactor: change sort config into sort type field and fix updateAssociations to create with foreignKey * refactor: abstract utility functions * fix: type definition * fix: type and where value type Co-authored-by: chenos <chenlinxh@gmail.com> |
||
---|---|---|
.github/workflows | ||
packages | ||
.editorconfig | ||
.env.example | ||
.eslintrc | ||
.fatherrc.ts | ||
.gitignore | ||
docker-compose.yml | ||
dotenv.js | ||
jest.config.js | ||
lerna.json | ||
nodemon.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Development
Install Dependencies
# Install dependencies for root project
npm i
# Install dependencies for sub packages via lerna
npm run bootstrap
Set Environment Variables
cp .env.example .env
Test
# For all packages
npm test
# For specific package
npm test packages/<name>