chore(versions): 😊 publish v0.8.0-alpha.7 (#1002)

This commit is contained in:
chenos 2022-11-01 17:29:49 +08:00 committed by GitHub
parent b167794290
commit 85ead5375a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
53 changed files with 182 additions and 190 deletions

View File

@ -4,7 +4,7 @@ networks:
driver: bridge driver: bridge
services: services:
app: app:
image: nocobase/nocobase:0.8.0-alpha.5 image: nocobase/nocobase:0.8.0-alpha.7
networks: networks:
- nocobase - nocobase
depends_on: depends_on:

View File

@ -4,7 +4,7 @@ networks:
driver: bridge driver: bridge
services: services:
app: app:
image: nocobase/nocobase:0.8.0-alpha.5 image: nocobase/nocobase:0.8.0-alpha.7
networks: networks:
- nocobase - nocobase
environment: environment:

View File

@ -4,7 +4,7 @@ networks:
driver: bridge driver: bridge
services: services:
app: app:
image: nocobase/nocobase:0.8.0-alpha.5 image: nocobase/nocobase:0.8.0-alpha.7
networks: networks:
- nocobase - nocobase
environment: environment:

View File

@ -1,5 +1,5 @@
{ {
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"npmClientArgs": [ "npmClientArgs": [

View File

@ -1,9 +1,9 @@
{ {
"name": "@nocobase/app-client", "name": "@nocobase/app-client",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5" "@nocobase/client": "0.8.0-alpha.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,12 +1,12 @@
{ {
"name": "@nocobase/app-server", "name": "@nocobase/app-server",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "MIT", "license": "MIT",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"dependencies": { "dependencies": {
"@nocobase/preset-nocobase": "0.8.0-alpha.5" "@nocobase/preset-nocobase": "0.8.0-alpha.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/acl", "name": "@nocobase/acl",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -12,7 +12,7 @@
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"dependencies": { "dependencies": {
"@nocobase/resourcer": "0.8.0-alpha.5", "@nocobase/resourcer": "0.8.0-alpha.7",
"json-templates": "^4.2.0" "json-templates": "^4.2.0"
}, },
"repository": { "repository": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/actions", "name": "@nocobase/actions",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -12,9 +12,9 @@
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"dependencies": { "dependencies": {
"@nocobase/cache": "0.8.0-alpha.5", "@nocobase/cache": "0.8.0-alpha.7",
"@nocobase/database": "0.8.0-alpha.5", "@nocobase/database": "0.8.0-alpha.7",
"@nocobase/resourcer": "0.8.0-alpha.5" "@nocobase/resourcer": "0.8.0-alpha.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/build", "name": "@nocobase/build",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "Library build tool based on rollup.", "description": "Library build tool based on rollup.",
"main": "lib/index.js", "main": "lib/index.js",
"bin": { "bin": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/cache", "name": "@nocobase/cache",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/cli", "name": "@nocobase/cli",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -23,7 +23,7 @@
"serve": "^13.0.2" "serve": "^13.0.2"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/devtools": "0.8.0-alpha.5" "@nocobase/devtools": "0.8.0-alpha.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -15,10 +15,7 @@ module.exports = (cli) => {
.option('--raw') .option('--raw')
.option('-S|--skip-code-update') .option('-S|--skip-code-update')
.action(async (options) => { .action(async (options) => {
if (!hasTsNode()) { if (hasTsNode()) promptForTs();
return;
}
promptForTs();
if (hasCorePackages()) { if (hasCorePackages()) {
// await run('yarn', ['install']); // await run('yarn', ['install']);
await runAppCommand('upgrade'); await runAppCommand('upgrade');
@ -28,6 +25,11 @@ module.exports = (cli) => {
await runAppCommand('upgrade'); await runAppCommand('upgrade');
return; return;
} }
await runAppCommand('upgrade');
// If ts-node is not installed, do not do the following
if (!hasTsNode()) {
return;
}
const version = await getVersion(); const version = await getVersion();
await run('yarn', ['add', '@nocobase/cli', '@nocobase/devtools', '-W']); await run('yarn', ['add', '@nocobase/cli', '@nocobase/devtools', '-W']);
const clientPackage = resolve(process.cwd(), `packages/${APP_PACKAGE_ROOT}/client/package.json`); const clientPackage = resolve(process.cwd(), `packages/${APP_PACKAGE_ROOT}/client/package.json`);

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/client", "name": "@nocobase/client",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
{ {
@ -19,8 +19,8 @@
"@formily/antd": "2.0.20", "@formily/antd": "2.0.20",
"@formily/core": "2.0.20", "@formily/core": "2.0.20",
"@formily/react": "2.0.20", "@formily/react": "2.0.20",
"@nocobase/sdk": "0.8.0-alpha.5", "@nocobase/sdk": "0.8.0-alpha.7",
"@nocobase/utils": "0.8.0-alpha.5", "@nocobase/utils": "0.8.0-alpha.7",
"ahooks": "^3.0.5", "ahooks": "^3.0.5",
"antd": "~4.19.5", "antd": "~4.19.5",
"axios": "^0.26.1", "axios": "^0.26.1",

View File

@ -66,10 +66,10 @@ export const SettingsCenterDropdown = () => {
title: t('Workflow'), title: t('Workflow'),
path: 'workflow/workflows', path: 'workflow/workflows',
}, },
{ // {
title: t('Graph Collections'), // title: t('Graph Collections'),
path: 'graph/collections', // path: 'graph/collections',
}, // },
]; ];
return ( return (
<ActionContext.Provider value={{ visible, setVisible }}> <ActionContext.Provider value={{ visible, setVisible }}>

View File

@ -1,6 +1,6 @@
{ {
"name": "create-nocobase-app", "name": "create-nocobase-app",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "src/index.js", "main": "src/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/database", "name": "@nocobase/database",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
@ -12,7 +12,7 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/utils": "0.8.0-alpha.5", "@nocobase/utils": "0.8.0-alpha.7",
"async-mutex": "^0.3.2", "async-mutex": "^0.3.2",
"cron-parser": "4.4.0", "cron-parser": "4.4.0",
"deepmerge": "^4.2.2", "deepmerge": "^4.2.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/devtools", "name": "@nocobase/devtools",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -11,7 +11,7 @@
], ],
"main": "./src/index.js", "main": "./src/index.js",
"dependencies": { "dependencies": {
"@nocobase/build": "0.8.0-alpha.5", "@nocobase/build": "0.8.0-alpha.7",
"@testing-library/react": "^12.1.2", "@testing-library/react": "^12.1.2",
"@types/jest": "^26.0.0", "@types/jest": "^26.0.0",
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "dumi-theme-nocobase", "name": "dumi-theme-nocobase",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"private": true, "private": true,
"files": [ "files": [
"es", "es",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/resourcer", "name": "@nocobase/resourcer",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
@ -12,7 +12,7 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/utils": "0.8.0-alpha.5", "@nocobase/utils": "0.8.0-alpha.7",
"deepmerge": "^4.2.2", "deepmerge": "^4.2.2",
"koa-compose": "^4.1.0", "koa-compose": "^4.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/sdk", "name": "@nocobase/sdk",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
{ {

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/server", "name": "@nocobase/server",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -14,10 +14,10 @@
"@hapi/topo": "^6.0.0", "@hapi/topo": "^6.0.0",
"@koa/cors": "^3.1.0", "@koa/cors": "^3.1.0",
"@koa/router": "^9.4.0", "@koa/router": "^9.4.0",
"@nocobase/acl": "0.8.0-alpha.5", "@nocobase/acl": "0.8.0-alpha.7",
"@nocobase/actions": "0.8.0-alpha.5", "@nocobase/actions": "0.8.0-alpha.7",
"@nocobase/database": "0.8.0-alpha.5", "@nocobase/database": "0.8.0-alpha.7",
"@nocobase/resourcer": "0.8.0-alpha.5", "@nocobase/resourcer": "0.8.0-alpha.7",
"chalk": "^4.1.1", "chalk": "^4.1.1",
"commander": "^9.2.0", "commander": "^9.2.0",
"find-package-json": "^1.2.0", "find-package-json": "^1.2.0",

View File

@ -189,9 +189,17 @@ export class PluginManager {
return instance; return instance;
} }
async add(plugin: any, options: any = {}) { async add(plugin: any, options: any = {}, transaction?: any) {
if (Array.isArray(plugin)) { if (Array.isArray(plugin)) {
return Promise.all(plugin.map((p) => this.add(p, options))); const t = transaction || (await this.app.db.sequelize.transaction());
try {
const items = await Promise.all(plugin.map((p) => this.add(p, options, t)));
await t.commit();
return items;
} catch (error) {
await t.rollback();
throw error;
}
} }
// console.log(`adding ${plugin} plugin`); // console.log(`adding ${plugin} plugin`);
const packageName = await PluginManager.findPackage(plugin); const packageName = await PluginManager.findPackage(plugin);
@ -201,6 +209,7 @@ export class PluginManager {
async: true, async: true,
}); });
let model = await this.repository.findOne({ let model = await this.repository.findOne({
transaction,
filter: { name: plugin }, filter: { name: plugin },
}); });
if (model) { if (model) {
@ -208,6 +217,7 @@ export class PluginManager {
} }
const { enabled, builtIn, installed, ...others } = options; const { enabled, builtIn, installed, ...others } = options;
await this.repository.create({ await this.repository.create({
transaction,
values: { values: {
name: plugin, name: plugin,
version: packageJson.version, version: packageJson.version,

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/test", "name": "@nocobase/test",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -11,7 +11,7 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@types/supertest": "^2.0.11", "@types/supertest": "^2.0.11",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",
"mysql2": "^2.3.3", "mysql2": "^2.3.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/utils", "name": "@nocobase/utils",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-acl", "name": "@nocobase/plugin-acl",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -12,10 +12,10 @@
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"dependencies": { "dependencies": {
"@nocobase/acl": "0.8.0-alpha.5", "@nocobase/acl": "0.8.0-alpha.7",
"@nocobase/database": "0.8.0-alpha.5", "@nocobase/database": "0.8.0-alpha.7",
"@nocobase/plugin-users": "0.8.0-alpha.5", "@nocobase/plugin-users": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5" "@nocobase/server": "0.8.0-alpha.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-audit-logs", "name": "@nocobase/plugin-audit-logs",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "./lib/server/index.js", "main": "./lib/server/index.js",
"types": "./lib/server/index.d.ts", "types": "./lib/server/index.d.ts",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -11,11 +11,11 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5" "@nocobase/server": "0.8.0-alpha.7"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-china-region", "name": "@nocobase/plugin-china-region",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,12 +10,12 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"china-division": "^2.4.0" "china-division": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-client", "name": "@nocobase/plugin-client",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,10 +10,10 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/server": "0.8.0-alpha.5" "@nocobase/server": "0.8.0-alpha.7"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-collection-manager", "name": "@nocobase/plugin-collection-manager",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,13 +10,13 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/database": "0.8.0-alpha.5", "@nocobase/database": "0.8.0-alpha.7",
"@nocobase/plugin-error-handler": "0.8.0-alpha.5", "@nocobase/plugin-error-handler": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"sequelize": "^6.9.0" "sequelize": "^6.9.0"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-error-handler", "name": "@nocobase/plugin-error-handler",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"description": "", "description": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -13,7 +13,7 @@
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"dependencies": { "dependencies": {
"@formily/json-schema": "^2.0.15", "@formily/json-schema": "^2.0.15",
"@nocobase/server": "0.8.0-alpha.5" "@nocobase/server": "0.8.0-alpha.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,10 +1,10 @@
{ {
"name": "@nocobase/plugin-export", "name": "@nocobase/plugin-export",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"dependencies": { "dependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"node-xlsx": "^0.16.1" "node-xlsx": "^0.16.1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-file-manager", "name": "@nocobase/plugin-file-manager",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -11,8 +11,8 @@
], ],
"dependencies": { "dependencies": {
"@koa/multer": "^3.0.0", "@koa/multer": "^3.0.0",
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"aws-sdk": "^2.2.32", "aws-sdk": "^2.2.32",
"cos-nodejs-sdk-v5": "^2.11.14", "cos-nodejs-sdk-v5": "^2.11.14",
"koa-static": "^5.0.0", "koa-static": "^5.0.0",
@ -24,7 +24,7 @@
"multer-s3": "^2.10.0" "multer-s3": "^2.10.0"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5", "@nocobase/test": "0.8.0-alpha.7",
"@types/koa-multer": "^1.0.1", "@types/koa-multer": "^1.0.1",
"@types/multer": "^1.4.5" "@types/multer": "^1.4.5"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-import", "name": "@nocobase/plugin-import",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,8 +10,8 @@
} }
], ],
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-multi-app-manager", "name": "@nocobase/plugin-multi-app-manager",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,7 +10,7 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/server": "0.8.0-alpha.5" "@nocobase/server": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-notifications", "name": "@nocobase/plugin-notifications",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -13,7 +13,7 @@
"nodemailer": "^6.6.1" "nodemailer": "^6.6.1"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5", "@nocobase/test": "0.8.0-alpha.7",
"@types/nodemailer": "6.4.4", "@types/nodemailer": "6.4.4",
"nodemailer-mock": "^1.5.11" "nodemailer-mock": "^1.5.11"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-system-settings", "name": "@nocobase/plugin-system-settings",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,7 +10,7 @@
} }
], ],
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-ui-routes-storage", "name": "@nocobase/plugin-ui-routes-storage",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -13,7 +13,7 @@
"flat-to-nested": "^1.1.1" "flat-to-nested": "^1.1.1"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-ui-schema-storage", "name": "@nocobase/plugin-ui-schema-storage",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -11,7 +11,7 @@
], ],
"devDependencies": { "devDependencies": {
"@formily/json-schema": "2.0.20", "@formily/json-schema": "2.0.20",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-users", "name": "@nocobase/plugin-users",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,16 +10,16 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/actions": "0.8.0-alpha.5", "@nocobase/actions": "0.8.0-alpha.7",
"@nocobase/database": "0.8.0-alpha.5", "@nocobase/database": "0.8.0-alpha.7",
"@nocobase/resourcer": "0.8.0-alpha.5", "@nocobase/resourcer": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/utils": "0.8.0-alpha.5", "@nocobase/utils": "0.8.0-alpha.7",
"json-templates": "^4.2.0", "json-templates": "^4.2.0",
"jsonwebtoken": "^8.5.1" "jsonwebtoken": "^8.5.1"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5", "@nocobase/test": "0.8.0-alpha.7",
"@types/jsonwebtoken": "^8.5.8" "@types/jsonwebtoken": "^8.5.8"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-verification", "name": "@nocobase/plugin-verification",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -13,13 +13,13 @@
"@alicloud/dysmsapi20170525": "2.0.17", "@alicloud/dysmsapi20170525": "2.0.17",
"@alicloud/openapi-client": "0.4.1", "@alicloud/openapi-client": "0.4.1",
"@alicloud/tea-util": "1.4.4", "@alicloud/tea-util": "1.4.4",
"@nocobase/actions": "0.8.0-alpha.5", "@nocobase/actions": "0.8.0-alpha.7",
"@nocobase/resourcer": "0.8.0-alpha.5", "@nocobase/resourcer": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/utils": "0.8.0-alpha.5" "@nocobase/utils": "0.8.0-alpha.7"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53" "gitHead": "7e9556e489007577fc0ed89063b3a9ce2f9aae53"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/plugin-workflow", "name": "@nocobase/plugin-workflow",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
@ -10,18 +10,18 @@
} }
], ],
"dependencies": { "dependencies": {
"@nocobase/actions": "0.8.0-alpha.5", "@nocobase/actions": "0.8.0-alpha.7",
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/database": "0.8.0-alpha.5", "@nocobase/database": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/utils": "0.8.0-alpha.5", "@nocobase/utils": "0.8.0-alpha.7",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"cron-parser": "4.4.0", "cron-parser": "4.4.0",
"json-templates": "^4.2.0", "json-templates": "^4.2.0",
"react-js-cron": "^1.4.0" "react-js-cron": "^1.4.0"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990" "gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nocobase/preset-nocobase", "name": "@nocobase/preset-nocobase",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"license": "Apache-2.0", "license": "Apache-2.0",
"licenses": [ "licenses": [
{ {
@ -11,32 +11,23 @@
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"dependencies": { "dependencies": {
"@nocobase/plugin-acl": "0.8.0-alpha.5", "@nocobase/plugin-acl": "0.8.0-alpha.7",
"@nocobase/plugin-audit-logs": "0.8.0-alpha.5", "@nocobase/plugin-audit-logs": "0.8.0-alpha.7",
"@nocobase/plugin-china-region": "0.8.0-alpha.5", "@nocobase/plugin-china-region": "0.8.0-alpha.7",
"@nocobase/plugin-client": "0.8.0-alpha.5", "@nocobase/plugin-client": "0.8.0-alpha.7",
"@nocobase/plugin-collection-manager": "0.8.0-alpha.5", "@nocobase/plugin-collection-manager": "0.8.0-alpha.7",
"@nocobase/plugin-error-handler": "0.8.0-alpha.5", "@nocobase/plugin-error-handler": "0.8.0-alpha.7",
"@nocobase/plugin-export": "0.8.0-alpha.5", "@nocobase/plugin-export": "0.8.0-alpha.7",
"@nocobase/plugin-file-manager": "0.8.0-alpha.5", "@nocobase/plugin-file-manager": "0.8.0-alpha.7",
"@nocobase/plugin-import": "0.8.0-alpha.5", "@nocobase/plugin-import": "0.8.0-alpha.7",
"@nocobase/plugin-sample-command": "0.8.0-alpha.5", "@nocobase/plugin-sample-hello": "0.8.0-alpha.7",
"@nocobase/plugin-sample-custom-block": "0.8.0-alpha.5", "@nocobase/plugin-system-settings": "0.8.0-alpha.7",
"@nocobase/plugin-sample-custom-page": "0.8.0-alpha.5", "@nocobase/plugin-ui-routes-storage": "0.8.0-alpha.7",
"@nocobase/plugin-sample-custom-signup-page": "0.8.0-alpha.5", "@nocobase/plugin-ui-schema-storage": "0.8.0-alpha.7",
"@nocobase/plugin-sample-hello": "0.8.0-alpha.5", "@nocobase/plugin-users": "0.8.0-alpha.7",
"@nocobase/plugin-sample-ratelimit": "0.8.0-alpha.5", "@nocobase/plugin-verification": "0.8.0-alpha.7",
"@nocobase/plugin-sample-shop-actions": "0.8.0-alpha.5", "@nocobase/plugin-workflow": "0.8.0-alpha.7",
"@nocobase/plugin-sample-shop-events": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7"
"@nocobase/plugin-sample-shop-i18n": "0.8.0-alpha.5",
"@nocobase/plugin-sample-shop-modeling": "0.8.0-alpha.5",
"@nocobase/plugin-system-settings": "0.8.0-alpha.5",
"@nocobase/plugin-ui-routes-storage": "0.8.0-alpha.5",
"@nocobase/plugin-ui-schema-storage": "0.8.0-alpha.5",
"@nocobase/plugin-users": "0.8.0-alpha.5",
"@nocobase/plugin-verification": "0.8.0-alpha.5",
"@nocobase/plugin-workflow": "0.8.0-alpha.5",
"@nocobase/server": "0.8.0-alpha.5"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -24,18 +24,7 @@ export class PresetNocoBase extends Plugin {
builtIn: true, builtIn: true,
installed: true, installed: true,
}); });
const samples = [ const samples = ['sample-hello'];
'sample-command',
'sample-custom-block',
'sample-custom-page',
'sample-custom-signup-page',
'sample-hello',
'sample-ratelimit',
'sample-shop-actions',
'sample-shop-events',
'sample-shop-i18n',
'sample-shop-modeling',
];
await this.app.pm.add(samples, {}); await this.app.pm.add(samples, {});
await this.app.reload(); await this.app.reload();
} }

View File

@ -1,11 +1,11 @@
{ {
"name": "@nocobase/plugin-sample-command", "name": "@nocobase/plugin-sample-command",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "*", "@nocobase/client": "*",

View File

@ -1,10 +1,10 @@
{ {
"name": "@nocobase/plugin-sample-custom-block", "name": "@nocobase/plugin-sample-custom-block",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
} }
} }

View File

@ -1,10 +1,10 @@
{ {
"name": "@nocobase/plugin-sample-custom-page", "name": "@nocobase/plugin-sample-custom-page",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
} }
} }

View File

@ -1,10 +1,10 @@
{ {
"name": "@nocobase/plugin-sample-custom-signup-page", "name": "@nocobase/plugin-sample-custom-signup-page",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
} }
} }

View File

@ -1,11 +1,11 @@
{ {
"name": "@nocobase/plugin-sample-hello", "name": "@nocobase/plugin-sample-hello",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "*", "@nocobase/client": "*",

View File

@ -1,13 +1,13 @@
{ {
"name": "@nocobase/plugin-sample-ratelimit", "name": "@nocobase/plugin-sample-ratelimit",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"dependencies": { "dependencies": {
"koa-ratelimit": "^5.0.1" "koa-ratelimit": "^5.0.1"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
} }
} }

View File

@ -1,11 +1,11 @@
{ {
"name": "@nocobase/plugin-sample-shop-actions", "name": "@nocobase/plugin-sample-shop-actions",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "*", "@nocobase/client": "*",

View File

@ -1,11 +1,11 @@
{ {
"name": "@nocobase/plugin-sample-shop-events", "name": "@nocobase/plugin-sample-shop-events",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "*", "@nocobase/client": "*",

View File

@ -1,14 +1,14 @@
{ {
"name": "@nocobase/plugin-sample-shop-i18n", "name": "@nocobase/plugin-sample-shop-i18n",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"dependencies": { "dependencies": {
"nodejs-snowflake": "2.0.1" "nodejs-snowflake": "2.0.1"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "*", "@nocobase/client": "*",

View File

@ -1,14 +1,14 @@
{ {
"name": "@nocobase/plugin-sample-shop-modeling", "name": "@nocobase/plugin-sample-shop-modeling",
"version": "0.8.0-alpha.5", "version": "0.8.0-alpha.7",
"main": "lib/server/index.js", "main": "lib/server/index.js",
"dependencies": { "dependencies": {
"nodejs-snowflake": "2.0.1" "nodejs-snowflake": "2.0.1"
}, },
"devDependencies": { "devDependencies": {
"@nocobase/client": "0.8.0-alpha.5", "@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.5", "@nocobase/server": "0.8.0-alpha.7",
"@nocobase/test": "0.8.0-alpha.5" "@nocobase/test": "0.8.0-alpha.7"
}, },
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "*", "@nocobase/client": "*",