fix: plugin packages dependencies

This commit is contained in:
chenos 2021-12-07 19:40:30 +08:00
parent 17b5839f51
commit 54f351af9d
8 changed files with 16 additions and 8 deletions

View File

@ -2,7 +2,7 @@ const { pathsToModuleNameMapper } = require('ts-jest/utils');
const { compilerOptions } = require('./tsconfig.jest.json');
module.exports = {
collectCoverage: true,
collectCoverage: false,
verbose: true,
testEnvironment: 'jsdom',
preset: 'ts-jest',

View File

@ -9,7 +9,7 @@
"bootstrap": "lerna bootstrap",
"clean": "rimraf -rf packages/*/{lib,esm,dist} && lerna clean",
"build": "lerna run build",
"test": "jest --coverage",
"test": "jest",
"lint": "eslint ."
},
"resolutions": {
@ -17,13 +17,10 @@
"@types/react-dom": "^17.0.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/jest": "^26.0.0",
"@types/koa": "^2.13.4",
"@types/koa-bodyparser": "^4.3.4",
"@types/koa-multer": "^1.0.1",
"@types/lodash": "^4.14.177",
"@types/multer": "^1.4.5",
"@types/node": "^12.6.8",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",

View File

@ -19,6 +19,9 @@
"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",

View File

@ -139,7 +139,7 @@ export abstract class MultipleRelationRepository extends RelationRepository {
const values = guard.sanitize(options.values);
const queryOptions = this.buildQueryOptions(options);
const queryOptions = this.buildQueryOptions(options as any);
const instances = await this.find(queryOptions);

View File

@ -11,5 +11,8 @@
"dependencies": {
"china-division": "^2.4.0"
},
"devDependencies": {
"@nocobase/test": "^0.6.0-alpha.0"
},
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
}

View File

@ -19,8 +19,9 @@
"multer-s3": "^2.10.0"
},
"devDependencies": {
"@nocobase/database": "^0.6.0-alpha.0",
"@nocobase/test": "^0.6.0-alpha.0"
"@nocobase/test": "^0.6.0-alpha.0",
"@types/koa-multer": "^1.0.1",
"@types/multer": "^1.4.5"
},
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
}

View File

@ -12,6 +12,7 @@
"nodemailer": "^6.6.1"
},
"devDependencies": {
"@nocobase/test": "^0.6.0-alpha.0",
"@types/nodemailer": "6.4.4",
"nodemailer-mock": "^1.5.11"
},

View File

@ -8,5 +8,8 @@
"build:cjs": "tsc --project tsconfig.build.json",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
},
"devDependencies": {
"@nocobase/test": "^0.6.0-alpha.0"
},
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
}