Go to file
chenos 301229ef88
feat: route permissions (#58)
* 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>
2021-01-22 10:18:02 +08:00
.github/workflows Test/ci (#31) 2020-12-05 09:27:24 +08:00
packages feat: route permissions (#58) 2021-01-22 10:18:02 +08:00
.dockerignore chore: add app container 2020-12-14 17:06:05 +08:00
.editorconfig 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.env.example feat(file-manager): add aliyun oss storage 2020-12-31 12:11:38 +08:00
.eslintrc 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.fatherrc.ts chore: allow specific build package 2020-12-24 07:35:53 +08:00
.gitignore feat: make single file upload to attachment available (#46) 2020-12-23 12:46:13 +08:00
docker-compose.yml chore: add app container 2020-12-14 17:06:05 +08:00
Dockerfile chore: add app container 2020-12-14 17:06:05 +08:00
dotenv.js first commit 2020-10-24 15:34:43 +08:00
jest.config.js fix: jest ignore father-build 2020-12-02 13:23:09 +08:00
lerna.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
nodemon.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
package.json feat: add permissions plugin (#53) 2021-01-13 16:23:15 +08:00
README.md test: skip bug test cases for ci passing (#52) 2021-01-05 15:19:36 +08:00
tsconfig.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00

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>