mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-29 18:58:26 +08:00
c5f089d7b7
* 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> |
||
---|---|---|
.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>