tachybase_todo/packages/database/package.json
ChengLei Shao 79ba391aee
refactor: actions (#137)
* db test

* associated list action

* associated list action

* fix belongs to many repository test

* create action

* update action

* add update & destroy has one

* get action

* add action

* set action

* remove action

* toggle action

* chore: code import

* add sort field mutex

* change field mutex position

* feat: handle sort field scope change

* feat: sort actions

* fix: add action

* rename sort action to move action

* more actions params

* feat: repository destroy with filter and filterByPK

* feat: hasmany repository destroy with filter and filterByPK

* feat: belongsToMany repository destroy with filter and filterByPK

* fix: actions tests lock error

* feat: code cleanup

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-16 16:46:54 +08:00

33 lines
891 B
JSON

{
"name": "@nocobase/database",
"version": "0.6.0-alpha.0",
"private": true,
"description": "",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"license": "MIT",
"scripts": {
"build": "rimraf -rf lib esm dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.build.json",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
},
"dependencies": {
"@nocobase/utils": "^0.6.0-alpha.0",
"async-mutex": "^0.3.2",
"bcrypt": "^5.0.0",
"deepmerge": "^4.2.2",
"flat": "^5.0.2",
"glob": "^7.1.6",
"sequelize": "^6.9.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nocobase/nocobase.git",
"directory": "packages/database"
},
"gitHead": "f0b335ac30f29f25c95d7d137655fa64d8d67f1e"
}