mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:06:06 +00:00
fix: plugin packages dependencies
This commit is contained in:
parent
17b5839f51
commit
54f351af9d
@ -2,7 +2,7 @@ const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
|||||||
const { compilerOptions } = require('./tsconfig.jest.json');
|
const { compilerOptions } = require('./tsconfig.jest.json');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
collectCoverage: true,
|
collectCoverage: false,
|
||||||
verbose: true,
|
verbose: true,
|
||||||
testEnvironment: 'jsdom',
|
testEnvironment: 'jsdom',
|
||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"clean": "rimraf -rf packages/*/{lib,esm,dist} && lerna clean",
|
"clean": "rimraf -rf packages/*/{lib,esm,dist} && lerna clean",
|
||||||
"build": "lerna run build",
|
"build": "lerna run build",
|
||||||
"test": "jest --coverage",
|
"test": "jest",
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
@ -17,13 +17,10 @@
|
|||||||
"@types/react-dom": "^17.0.0"
|
"@types/react-dom": "^17.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bcrypt": "^5.0.0",
|
|
||||||
"@types/jest": "^26.0.0",
|
"@types/jest": "^26.0.0",
|
||||||
"@types/koa": "^2.13.4",
|
"@types/koa": "^2.13.4",
|
||||||
"@types/koa-bodyparser": "^4.3.4",
|
"@types/koa-bodyparser": "^4.3.4",
|
||||||
"@types/koa-multer": "^1.0.1",
|
|
||||||
"@types/lodash": "^4.14.177",
|
"@types/lodash": "^4.14.177",
|
||||||
"@types/multer": "^1.4.5",
|
|
||||||
"@types/node": "^12.6.8",
|
"@types/node": "^12.6.8",
|
||||||
"@types/react": "^17.0.0",
|
"@types/react": "^17.0.0",
|
||||||
"@types/react-dom": "^17.0.0",
|
"@types/react-dom": "^17.0.0",
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"sequelize": "^6.9.0"
|
"sequelize": "^6.9.0"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/bcrypt": "^5.0.0"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/nocobase/nocobase.git",
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
||||||
|
@ -139,7 +139,7 @@ export abstract class MultipleRelationRepository extends RelationRepository {
|
|||||||
|
|
||||||
const values = guard.sanitize(options.values);
|
const values = guard.sanitize(options.values);
|
||||||
|
|
||||||
const queryOptions = this.buildQueryOptions(options);
|
const queryOptions = this.buildQueryOptions(options as any);
|
||||||
|
|
||||||
const instances = await this.find(queryOptions);
|
const instances = await this.find(queryOptions);
|
||||||
|
|
||||||
|
@ -11,5 +11,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"china-division": "^2.4.0"
|
"china-division": "^2.4.0"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@nocobase/test": "^0.6.0-alpha.0"
|
||||||
|
},
|
||||||
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
|
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
|
||||||
}
|
}
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
"multer-s3": "^2.10.0"
|
"multer-s3": "^2.10.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"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"
|
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
"nodemailer": "^6.6.1"
|
"nodemailer": "^6.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@nocobase/test": "^0.6.0-alpha.0",
|
||||||
"@types/nodemailer": "6.4.4",
|
"@types/nodemailer": "6.4.4",
|
||||||
"nodemailer-mock": "^1.5.11"
|
"nodemailer-mock": "^1.5.11"
|
||||||
},
|
},
|
||||||
|
@ -8,5 +8,8 @@
|
|||||||
"build:cjs": "tsc --project tsconfig.build.json",
|
"build:cjs": "tsc --project tsconfig.build.json",
|
||||||
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
|
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@nocobase/test": "^0.6.0-alpha.0"
|
||||||
|
},
|
||||||
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
|
"gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user