301229ef88
* feat: routes permissions * fix: try to fix roles.pages action * 多态关联 * bugfix * fix: auto generate when option value is undefined or null * feat: add pages' permissions saving/listing * feat: add permission filter for getRoutes * roles description * feat: get root permissions all true and create user with default role * feat: roles.collections list output with permission * add permissions description * fix: add context to parseApiJson * fix: typo * 小细节补充 Co-authored-by: mytharcher <mytharcher@gmail.com> |
||
---|---|---|
.github/workflows | ||
packages | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.eslintrc | ||
.fatherrc.ts | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
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
Build
# for all packages
npm run build
# for specific package
npm run build <package_name_1> <package_name_2> ...
Test
# For all packages
npm test
# For specific package
npm test packages/<name>