Go to file
Junyi c5f089d7b7
feat: add permissions plugin (#53)
* test: skip bug test cases for ci passing

* feat: add base structure of plugin-permissions

* fix: user token parsing

* Refactor action parameter for better mergeParams (#55)

* refactor: add parameter types to handle parameters in action [WIP]

* fix: action parameter

* fix: test cases

* test: try to fix build error

* remove unused packages

* fix: revert compatibility back

Co-authored-by: chenos <chenlinxh@gmail.com>

* 补充权限界面相关功能

* bugfix

* fix: developer mode does not work

* feat: add action scope and fields limitation in permission

* 改进权限配置表单

* feat: get/update action for role.collection

* add scope select component

* add role users tabs

* typings

* test: temp skip

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-13 16:23:15 +08:00
.github/workflows Test/ci (#31) 2020-12-05 09:27:24 +08:00
packages feat: add permissions plugin (#53) 2021-01-13 16:23:15 +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>