From 451d6ae974433ec06c2838daa7b6815608c282e7 Mon Sep 17 00:00:00 2001 From: chenos Date: Sun, 10 Jul 2022 00:41:36 +0800 Subject: [PATCH] =?UTF-8?q?chore(versions):=20=F0=9F=98=8A=20publish=20v0.?= =?UTF-8?q?7.2-alpha.7=20(#611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(cli): db sync error * fix(cli): upgrade error * feat: update docker image version --- docker/app-mysql/docker-compose.yml | 2 +- docker/app-postgres/docker-compose.yml | 2 +- docker/app-sqlite/docker-compose.yml | 2 +- lerna.json | 2 +- packages/app/client/package.json | 4 +-- packages/app/server/package.json | 4 +-- packages/core/acl/package.json | 4 +-- packages/core/actions/package.json | 6 ++-- packages/core/build/package.json | 2 +- packages/core/cli/package.json | 4 +-- packages/core/client/package.json | 6 ++-- .../core/create-nocobase-app/package.json | 2 +- packages/core/database/package.json | 4 +-- packages/core/devtools/package.json | 4 +-- .../core/dumi-theme-nocobase/package.json | 2 +- packages/core/resourcer/package.json | 2 +- packages/core/sdk/package.json | 2 +- packages/core/server/package.json | 10 +++---- packages/core/server/src/application.ts | 9 ++++-- packages/core/server/src/commands/db-sync.ts | 30 +++++++++---------- packages/core/server/src/commands/migrator.ts | 2 +- packages/core/server/src/commands/upgrade.ts | 1 - packages/core/test/package.json | 4 +-- packages/core/utils/package.json | 2 +- packages/plugins/acl/package.json | 8 ++--- packages/plugins/audit-logs/package.json | 8 ++--- packages/plugins/china-region/package.json | 8 ++--- packages/plugins/client/package.json | 6 ++-- .../plugins/collection-manager/package.json | 4 +-- .../plugins/collection-manager/src/server.ts | 18 +++++++++++ packages/plugins/error-handler/package.json | 4 +-- packages/plugins/export/package.json | 6 ++-- packages/plugins/file-manager/package.json | 6 ++-- .../plugins/multi-app-manager/package.json | 4 +-- packages/plugins/notifications/package.json | 4 +-- packages/plugins/system-settings/package.json | 4 +-- .../plugins/ui-routes-storage/package.json | 4 +-- .../plugins/ui-schema-storage/package.json | 4 +-- packages/plugins/users/package.json | 4 +-- packages/plugins/workflow/package.json | 14 ++++----- packages/presets/nocobase/package.json | 30 +++++++++---------- 41 files changed, 134 insertions(+), 114 deletions(-) diff --git a/docker/app-mysql/docker-compose.yml b/docker/app-mysql/docker-compose.yml index 3a7425ec6..9c6bd119c 100644 --- a/docker/app-mysql/docker-compose.yml +++ b/docker/app-mysql/docker-compose.yml @@ -4,7 +4,7 @@ networks: driver: bridge services: app: - image: nocobase/nocobase:0.7.2-alpha.3 + image: nocobase/nocobase:0.7.2-alpha.7 networks: - nocobase depends_on: diff --git a/docker/app-postgres/docker-compose.yml b/docker/app-postgres/docker-compose.yml index 96c624724..32c917d5f 100644 --- a/docker/app-postgres/docker-compose.yml +++ b/docker/app-postgres/docker-compose.yml @@ -4,7 +4,7 @@ networks: driver: bridge services: app: - image: nocobase/nocobase:0.7.2-alpha.3 + image: nocobase/nocobase:0.7.2-alpha.7 networks: - nocobase environment: diff --git a/docker/app-sqlite/docker-compose.yml b/docker/app-sqlite/docker-compose.yml index 8f25e5c50..f9e901050 100644 --- a/docker/app-sqlite/docker-compose.yml +++ b/docker/app-sqlite/docker-compose.yml @@ -4,7 +4,7 @@ networks: driver: bridge services: app: - image: nocobase/nocobase:0.7.2-alpha.3 + image: nocobase/nocobase:0.7.2-alpha.7 networks: - nocobase environment: diff --git a/lerna.json b/lerna.json index 1df08b7b6..a33965cf0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "npmClient": "yarn", "useWorkspaces": true, "npmClientArgs": [ diff --git a/packages/app/client/package.json b/packages/app/client/package.json index f0a3d0111..e624b9fc0 100644 --- a/packages/app/client/package.json +++ b/packages/app/client/package.json @@ -1,9 +1,9 @@ { "name": "@nocobase/app-client", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "license": "MIT", "devDependencies": { - "@nocobase/client": "0.7.2-alpha.3" + "@nocobase/client": "0.7.2-alpha.7" }, "repository": { "type": "git", diff --git a/packages/app/server/package.json b/packages/app/server/package.json index a7f4a9223..14197a7a3 100644 --- a/packages/app/server/package.json +++ b/packages/app/server/package.json @@ -1,12 +1,12 @@ { "name": "@nocobase/app-server", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "MIT", "main": "./lib/index.js", "types": "./lib/index.d.ts", "dependencies": { - "@nocobase/preset-nocobase": "0.7.2-alpha.3" + "@nocobase/preset-nocobase": "0.7.2-alpha.7" }, "repository": { "type": "git", diff --git a/packages/core/acl/package.json b/packages/core/acl/package.json index d5c8d0849..fae1d95b8 100644 --- a/packages/core/acl/package.json +++ b/packages/core/acl/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/acl", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "Apache-2.0", "licenses": [ @@ -12,7 +12,7 @@ "main": "./lib/index.js", "types": "./lib/index.d.ts", "dependencies": { - "@nocobase/resourcer": "0.7.2-alpha.3", + "@nocobase/resourcer": "0.7.2-alpha.7", "json-templates": "^4.2.0" }, "repository": { diff --git a/packages/core/actions/package.json b/packages/core/actions/package.json index 864d3236a..abaf681e5 100644 --- a/packages/core/actions/package.json +++ b/packages/core/actions/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/actions", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "Apache-2.0", "licenses": [ @@ -12,8 +12,8 @@ "main": "./lib/index.js", "types": "./lib/index.d.ts", "dependencies": { - "@nocobase/database": "0.7.2-alpha.3", - "@nocobase/resourcer": "0.7.2-alpha.3" + "@nocobase/database": "0.7.2-alpha.7", + "@nocobase/resourcer": "0.7.2-alpha.7" }, "repository": { "type": "git", diff --git a/packages/core/build/package.json b/packages/core/build/package.json index 2f4e04369..65618bb8c 100755 --- a/packages/core/build/package.json +++ b/packages/core/build/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/build", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "Library build tool based on rollup.", "main": "lib/index.js", "bin": { diff --git a/packages/core/cli/package.json b/packages/core/cli/package.json index 2844147bb..dcd1d6972 100644 --- a/packages/core/cli/package.json +++ b/packages/core/cli/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/cli", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "Apache-2.0", "licenses": [ @@ -23,7 +23,7 @@ "serve": "^13.0.2" }, "devDependencies": { - "@nocobase/devtools": "0.7.2-alpha.3" + "@nocobase/devtools": "0.7.2-alpha.7" }, "repository": { "type": "git", diff --git a/packages/core/client/package.json b/packages/core/client/package.json index eb49158a1..434278a9d 100644 --- a/packages/core/client/package.json +++ b/packages/core/client/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/client", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "license": "Apache-2.0", "licenses": [ { @@ -19,8 +19,8 @@ "@formily/antd": "2.0.20", "@formily/core": "2.0.20", "@formily/react": "2.0.20", - "@nocobase/sdk": "0.7.2-alpha.3", - "@nocobase/utils": "0.7.2-alpha.3", + "@nocobase/sdk": "0.7.2-alpha.7", + "@nocobase/utils": "0.7.2-alpha.7", "ahooks": "^3.0.5", "antd": "~4.19.5", "axios": "^0.26.1", diff --git a/packages/core/create-nocobase-app/package.json b/packages/core/create-nocobase-app/package.json index 8ec0e63f7..5907c8892 100755 --- a/packages/core/create-nocobase-app/package.json +++ b/packages/core/create-nocobase-app/package.json @@ -1,6 +1,6 @@ { "name": "create-nocobase-app", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "src/index.js", "license": "Apache-2.0", "licenses": [ diff --git a/packages/core/database/package.json b/packages/core/database/package.json index d9a248f23..8a0eda03e 100644 --- a/packages/core/database/package.json +++ b/packages/core/database/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/database", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -12,7 +12,7 @@ } ], "dependencies": { - "@nocobase/utils": "0.7.2-alpha.3", + "@nocobase/utils": "0.7.2-alpha.7", "async-mutex": "^0.3.2", "deepmerge": "^4.2.2", "flat": "^5.0.2", diff --git a/packages/core/devtools/package.json b/packages/core/devtools/package.json index b759219a6..e27b07b68 100644 --- a/packages/core/devtools/package.json +++ b/packages/core/devtools/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/devtools", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "Apache-2.0", "licenses": [ @@ -11,7 +11,7 @@ ], "main": "./src/index.js", "dependencies": { - "@nocobase/build": "0.7.2-alpha.3", + "@nocobase/build": "0.7.2-alpha.7", "@testing-library/react": "^12.1.2", "@types/jest": "^26.0.0", "@types/koa": "^2.13.4", diff --git a/packages/core/dumi-theme-nocobase/package.json b/packages/core/dumi-theme-nocobase/package.json index 2cadb32dc..2b6a00474 100755 --- a/packages/core/dumi-theme-nocobase/package.json +++ b/packages/core/dumi-theme-nocobase/package.json @@ -1,6 +1,6 @@ { "name": "dumi-theme-nocobase", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "private": true, "files": [ "es", diff --git a/packages/core/resourcer/package.json b/packages/core/resourcer/package.json index c11b5e316..9de6b9557 100644 --- a/packages/core/resourcer/package.json +++ b/packages/core/resourcer/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/resourcer", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/core/sdk/package.json b/packages/core/sdk/package.json index 9cb8ef501..1a4121de1 100644 --- a/packages/core/sdk/package.json +++ b/packages/core/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/sdk", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "license": "Apache-2.0", "licenses": [ { diff --git a/packages/core/server/package.json b/packages/core/server/package.json index 729d64083..404ac50de 100644 --- a/packages/core/server/package.json +++ b/packages/core/server/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/server", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "types": "./lib/index.d.ts", "license": "Apache-2.0", @@ -13,10 +13,10 @@ "dependencies": { "@koa/cors": "^3.1.0", "@koa/router": "^9.4.0", - "@nocobase/acl": "0.7.2-alpha.3", - "@nocobase/actions": "0.7.2-alpha.3", - "@nocobase/database": "0.7.2-alpha.3", - "@nocobase/resourcer": "0.7.2-alpha.3", + "@nocobase/acl": "0.7.2-alpha.7", + "@nocobase/actions": "0.7.2-alpha.7", + "@nocobase/database": "0.7.2-alpha.7", + "@nocobase/resourcer": "0.7.2-alpha.7", "chalk": "^4.1.1", "commander": "^9.2.0", "find-package-json": "^1.2.0", diff --git a/packages/core/server/src/application.ts b/packages/core/server/src/application.ts index 381620321..6f93efb7b 100644 --- a/packages/core/server/src/application.ts +++ b/packages/core/server/src/application.ts @@ -116,8 +116,11 @@ export class ApplicationVersion { async satisfies(range: string) { if (await this.app.db.collectionExistsInDb('applicationVersion')) { - const model = await this.collection.model.findOne(); - const version = model.get('value') as any; + const model: any = await this.collection.model.findOne(); + const version = model?.value as any; + if (!version) { + return true; + } return semver.satisfies(version, range); } return true; @@ -346,6 +349,7 @@ export class Application exten } async upgrade(options: any = {}) { + await this.emitAsync('beforeUpgrade', this, options); const force = false; await this.db.migrator.up(); await this.db.sync({ @@ -355,6 +359,7 @@ export class Application exten }, }); await this.version.update(); + await this.emitAsync('afterUpgrade', this, options); } declare emitAsync: (event: string | symbol, ...args: any[]) => Promise; diff --git a/packages/core/server/src/commands/db-sync.ts b/packages/core/server/src/commands/db-sync.ts index a106d912e..d744144dc 100644 --- a/packages/core/server/src/commands/db-sync.ts +++ b/packages/core/server/src/commands/db-sync.ts @@ -1,21 +1,19 @@ import Application from '../application'; export default (app: Application) => { - app - .command('db:sync') - .action(async (...cliArgs) => { - const [opts] = cliArgs; - console.log('db sync...'); - const force = false; - await app.start(); - await app.db.sync({ - force, - alter: { - drop: force, - }, - }); - await app.stop({ - cliArgs, - }); + app.command('db:sync').action(async (...cliArgs) => { + const [opts] = cliArgs; + console.log('db sync...'); + await app.emitAsync('cli.beforeDbSync', ...cliArgs); + const force = false; + await app.db.sync({ + force, + alter: { + drop: force, + }, }); + await app.stop({ + cliArgs, + }); + }); }; diff --git a/packages/core/server/src/commands/migrator.ts b/packages/core/server/src/commands/migrator.ts index 58f526348..8f82e7c71 100644 --- a/packages/core/server/src/commands/migrator.ts +++ b/packages/core/server/src/commands/migrator.ts @@ -4,8 +4,8 @@ export default (app: Application) => { app .command('migrator') .action(async (opts) => { - await app.start(); console.log('migrating...'); + await app.emitAsync('cli.beforeMigrator', opts); await app.db.migrator.runAsCLI(process.argv.slice(3)); await app.stop(); }); diff --git a/packages/core/server/src/commands/upgrade.ts b/packages/core/server/src/commands/upgrade.ts index f4597d20c..e95f5a361 100644 --- a/packages/core/server/src/commands/upgrade.ts +++ b/packages/core/server/src/commands/upgrade.ts @@ -10,7 +10,6 @@ export default (app: Application) => { .action(async (...cliArgs) => { const [opts] = cliArgs; console.log('upgrading...'); - await app.start(); await app.upgrade(); await app.stop({ cliArgs, diff --git a/packages/core/test/package.json b/packages/core/test/package.json index 051dbac63..b88c039f9 100644 --- a/packages/core/test/package.json +++ b/packages/core/test/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/test", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "types": "./lib/index.d.ts", "license": "Apache-2.0", @@ -11,7 +11,7 @@ } ], "dependencies": { - "@nocobase/server": "0.7.2-alpha.3", + "@nocobase/server": "0.7.2-alpha.7", "@types/supertest": "^2.0.11", "mockjs": "^1.1.0", "mysql2": "^2.3.3", diff --git a/packages/core/utils/package.json b/packages/core/utils/package.json index f9e4af56f..d06f6adbf 100644 --- a/packages/core/utils/package.json +++ b/packages/core/utils/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/utils", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "types": "./lib/index.d.ts", "license": "Apache-2.0", diff --git a/packages/plugins/acl/package.json b/packages/plugins/acl/package.json index f233dc030..14af735b4 100644 --- a/packages/plugins/acl/package.json +++ b/packages/plugins/acl/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-acl", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "Apache-2.0", "licenses": [ @@ -12,9 +12,9 @@ "main": "./lib/index.js", "types": "./lib/index.d.ts", "dependencies": { - "@nocobase/acl": "0.7.2-alpha.3", - "@nocobase/database": "0.7.2-alpha.3", - "@nocobase/server": "0.7.2-alpha.3" + "@nocobase/acl": "0.7.2-alpha.7", + "@nocobase/database": "0.7.2-alpha.7", + "@nocobase/server": "0.7.2-alpha.7" }, "repository": { "type": "git", diff --git a/packages/plugins/audit-logs/package.json b/packages/plugins/audit-logs/package.json index 35553bb50..03965e24b 100644 --- a/packages/plugins/audit-logs/package.json +++ b/packages/plugins/audit-logs/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-audit-logs", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "./lib/server/index.js", "types": "./lib/server/index.d.ts", "license": "Apache-2.0", @@ -11,11 +11,11 @@ } ], "dependencies": { - "@nocobase/client": "0.7.2-alpha.3", - "@nocobase/server": "0.7.2-alpha.3" + "@nocobase/client": "0.7.2-alpha.7", + "@nocobase/server": "0.7.2-alpha.7" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "40d079ceb4dadfd6a021ab44a42ef7f52f241745" } diff --git a/packages/plugins/china-region/package.json b/packages/plugins/china-region/package.json index 9e2cbc3e0..faab3e110 100644 --- a/packages/plugins/china-region/package.json +++ b/packages/plugins/china-region/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-china-region", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -10,12 +10,12 @@ } ], "dependencies": { - "@nocobase/client": "0.7.2-alpha.3", - "@nocobase/server": "0.7.2-alpha.3", + "@nocobase/client": "0.7.2-alpha.7", + "@nocobase/server": "0.7.2-alpha.7", "china-division": "^2.4.0" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "40d079ceb4dadfd6a021ab44a42ef7f52f241745" } diff --git a/packages/plugins/client/package.json b/packages/plugins/client/package.json index 968ec14bc..57f6896cc 100644 --- a/packages/plugins/client/package.json +++ b/packages/plugins/client/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-client", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -10,10 +10,10 @@ } ], "dependencies": { - "@nocobase/server": "0.7.2-alpha.3" + "@nocobase/server": "0.7.2-alpha.7" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/plugins/collection-manager/package.json b/packages/plugins/collection-manager/package.json index 3ab4ecaf6..b868b1ada 100644 --- a/packages/plugins/collection-manager/package.json +++ b/packages/plugins/collection-manager/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-collection-manager", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -10,7 +10,7 @@ } ], "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/plugins/collection-manager/src/server.ts b/packages/plugins/collection-manager/src/server.ts index e893af020..954eec689 100644 --- a/packages/plugins/collection-manager/src/server.ts +++ b/packages/plugins/collection-manager/src/server.ts @@ -88,6 +88,24 @@ export class CollectionManagerPlugin extends Plugin { await this.app.db.getRepository('collections').load(); }); + this.app.on('beforeUpgrade', async () => { + await this.app.db.getRepository('collections').load(); + }); + + this.app.on('cli.beforeMigrator', async () => { + const exists = await this.app.db.collectionExistsInDb('collections'); + if (exists) { + await this.app.db.getRepository('collections').load(); + } + }); + + this.app.on('cli.beforeDbSync', async () => { + const exists = await this.app.db.collectionExistsInDb('collections'); + if (exists) { + await this.app.db.getRepository('collections').load(); + } + }); + this.app.resourcer.use(async (ctx, next) => { const { resourceName, actionName } = ctx.action; if (resourceName === 'collections.fields' && actionName === 'update') { diff --git a/packages/plugins/error-handler/package.json b/packages/plugins/error-handler/package.json index 0706b20c8..505c48386 100644 --- a/packages/plugins/error-handler/package.json +++ b/packages/plugins/error-handler/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-error-handler", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "description": "", "license": "Apache-2.0", "licenses": [ @@ -13,7 +13,7 @@ "types": "./lib/index.d.ts", "dependencies": { "@formily/json-schema": "^2.0.15", - "@nocobase/server": "0.7.2-alpha.3" + "@nocobase/server": "0.7.2-alpha.7" }, "repository": { "type": "git", diff --git a/packages/plugins/export/package.json b/packages/plugins/export/package.json index d0009beae..6a61e6332 100644 --- a/packages/plugins/export/package.json +++ b/packages/plugins/export/package.json @@ -1,10 +1,10 @@ { "name": "@nocobase/plugin-export", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/server/index.js", "dependencies": { - "@nocobase/client": "0.7.2-alpha.3", - "@nocobase/server": "0.7.2-alpha.3", + "@nocobase/client": "0.7.2-alpha.7", + "@nocobase/server": "0.7.2-alpha.7", "node-xlsx": "^0.16.1" }, "devDependencies": { diff --git a/packages/plugins/file-manager/package.json b/packages/plugins/file-manager/package.json index c12d08b6d..1c65b23d5 100644 --- a/packages/plugins/file-manager/package.json +++ b/packages/plugins/file-manager/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-file-manager", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -11,7 +11,7 @@ ], "dependencies": { "@koa/multer": "^3.0.0", - "@nocobase/server": "0.7.2-alpha.3", + "@nocobase/server": "0.7.2-alpha.7", "aws-sdk": "^2.2.32", "koa-static": "^5.0.0", "mime-match": "^1.0.2", @@ -21,7 +21,7 @@ "multer-s3": "^2.10.0" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3", + "@nocobase/test": "0.7.2-alpha.7", "@types/koa-multer": "^1.0.1", "@types/multer": "^1.4.5" }, diff --git a/packages/plugins/multi-app-manager/package.json b/packages/plugins/multi-app-manager/package.json index 90bd66cb7..bbac966cf 100644 --- a/packages/plugins/multi-app-manager/package.json +++ b/packages/plugins/multi-app-manager/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-multi-app-manager", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -10,7 +10,7 @@ } ], "dependencies": { - "@nocobase/server": "0.7.2-alpha.3" + "@nocobase/server": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/plugins/notifications/package.json b/packages/plugins/notifications/package.json index 19c5f63b9..f4dfe6a0e 100644 --- a/packages/plugins/notifications/package.json +++ b/packages/plugins/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-notifications", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -13,7 +13,7 @@ "nodemailer": "^6.6.1" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3", + "@nocobase/test": "0.7.2-alpha.7", "@types/nodemailer": "6.4.4", "nodemailer-mock": "^1.5.11" }, diff --git a/packages/plugins/system-settings/package.json b/packages/plugins/system-settings/package.json index bf1d8e7f3..6c759345b 100644 --- a/packages/plugins/system-settings/package.json +++ b/packages/plugins/system-settings/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-system-settings", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -10,7 +10,7 @@ } ], "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/plugins/ui-routes-storage/package.json b/packages/plugins/ui-routes-storage/package.json index e6877a9be..4c41fd5ba 100644 --- a/packages/plugins/ui-routes-storage/package.json +++ b/packages/plugins/ui-routes-storage/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-ui-routes-storage", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -13,7 +13,7 @@ "flat-to-nested": "^1.1.1" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/plugins/ui-schema-storage/package.json b/packages/plugins/ui-schema-storage/package.json index 07df03a77..a653915a7 100644 --- a/packages/plugins/ui-schema-storage/package.json +++ b/packages/plugins/ui-schema-storage/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-ui-schema-storage", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -11,7 +11,7 @@ ], "devDependencies": { "@formily/json-schema": "2.0.20", - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/plugins/users/package.json b/packages/plugins/users/package.json index f4a2e4b47..a0314d2b0 100644 --- a/packages/plugins/users/package.json +++ b/packages/plugins/users/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-users", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -13,7 +13,7 @@ "jsonwebtoken": "^8.5.1" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3", + "@nocobase/test": "0.7.2-alpha.7", "@types/jsonwebtoken": "^8.5.8", "json-templates": "^4.2.0" }, diff --git a/packages/plugins/workflow/package.json b/packages/plugins/workflow/package.json index eb0935a9d..7a2fe9f31 100644 --- a/packages/plugins/workflow/package.json +++ b/packages/plugins/workflow/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/plugin-workflow", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "main": "lib/index.js", "license": "Apache-2.0", "licenses": [ @@ -10,17 +10,17 @@ } ], "dependencies": { - "@nocobase/actions": "0.7.2-alpha.3", - "@nocobase/client": "0.7.2-alpha.3", - "@nocobase/database": "0.7.2-alpha.3", - "@nocobase/server": "0.7.2-alpha.3", - "@nocobase/utils": "0.7.2-alpha.3", + "@nocobase/actions": "0.7.2-alpha.7", + "@nocobase/client": "0.7.2-alpha.7", + "@nocobase/database": "0.7.2-alpha.7", + "@nocobase/server": "0.7.2-alpha.7", + "@nocobase/utils": "0.7.2-alpha.7", "cron-parser": "4.4.0", "json-templates": "^4.2.0", "react-js-cron": "^1.4.0" }, "devDependencies": { - "@nocobase/test": "0.7.2-alpha.3" + "@nocobase/test": "0.7.2-alpha.7" }, "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" } diff --git a/packages/presets/nocobase/package.json b/packages/presets/nocobase/package.json index e7179db1d..324423e32 100644 --- a/packages/presets/nocobase/package.json +++ b/packages/presets/nocobase/package.json @@ -1,6 +1,6 @@ { "name": "@nocobase/preset-nocobase", - "version": "0.7.2-alpha.3", + "version": "0.7.2-alpha.7", "license": "Apache-2.0", "licenses": [ { @@ -11,20 +11,20 @@ "main": "./lib/index.js", "types": "./lib/index.d.ts", "dependencies": { - "@nocobase/plugin-acl": "0.7.2-alpha.3", - "@nocobase/plugin-audit-logs": "0.7.2-alpha.3", - "@nocobase/plugin-china-region": "0.7.2-alpha.3", - "@nocobase/plugin-client": "0.7.2-alpha.3", - "@nocobase/plugin-collection-manager": "0.7.2-alpha.3", - "@nocobase/plugin-error-handler": "0.7.2-alpha.3", - "@nocobase/plugin-export": "0.7.2-alpha.3", - "@nocobase/plugin-file-manager": "0.7.2-alpha.3", - "@nocobase/plugin-system-settings": "0.7.2-alpha.3", - "@nocobase/plugin-ui-routes-storage": "0.7.2-alpha.3", - "@nocobase/plugin-ui-schema-storage": "0.7.2-alpha.3", - "@nocobase/plugin-users": "0.7.2-alpha.3", - "@nocobase/plugin-workflow": "0.7.2-alpha.3", - "@nocobase/server": "0.7.2-alpha.3" + "@nocobase/plugin-acl": "0.7.2-alpha.7", + "@nocobase/plugin-audit-logs": "0.7.2-alpha.7", + "@nocobase/plugin-china-region": "0.7.2-alpha.7", + "@nocobase/plugin-client": "0.7.2-alpha.7", + "@nocobase/plugin-collection-manager": "0.7.2-alpha.7", + "@nocobase/plugin-error-handler": "0.7.2-alpha.7", + "@nocobase/plugin-export": "0.7.2-alpha.7", + "@nocobase/plugin-file-manager": "0.7.2-alpha.7", + "@nocobase/plugin-system-settings": "0.7.2-alpha.7", + "@nocobase/plugin-ui-routes-storage": "0.7.2-alpha.7", + "@nocobase/plugin-ui-schema-storage": "0.7.2-alpha.7", + "@nocobase/plugin-users": "0.7.2-alpha.7", + "@nocobase/plugin-workflow": "0.7.2-alpha.7", + "@nocobase/server": "0.7.2-alpha.7" }, "repository": { "type": "git",