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
services:
app:
image: nocobase/nocobase:0.8.0-alpha.5
image: nocobase/nocobase:0.8.0-alpha.7
networks:
- nocobase
depends_on:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/acl",
"version": "0.8.0-alpha.5",
"version": "0.8.0-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.8.0-alpha.5",
"@nocobase/resourcer": "0.8.0-alpha.7",
"json-templates": "^4.2.0"
},
"repository": {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/client",
"version": "0.8.0-alpha.5",
"version": "0.8.0-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.8.0-alpha.5",
"@nocobase/utils": "0.8.0-alpha.5",
"@nocobase/sdk": "0.8.0-alpha.7",
"@nocobase/utils": "0.8.0-alpha.7",
"ahooks": "^3.0.5",
"antd": "~4.19.5",
"axios": "^0.26.1",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -189,9 +189,17 @@ export class PluginManager {
return instance;
}
async add(plugin: any, options: any = {}) {
async add(plugin: any, options: any = {}, transaction?: any) {
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`);
const packageName = await PluginManager.findPackage(plugin);
@ -201,6 +209,7 @@ export class PluginManager {
async: true,
});
let model = await this.repository.findOne({
transaction,
filter: { name: plugin },
});
if (model) {
@ -208,6 +217,7 @@ export class PluginManager {
}
const { enabled, builtIn, installed, ...others } = options;
await this.repository.create({
transaction,
values: {
name: plugin,
version: packageJson.version,

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/plugin-audit-logs",
"version": "0.8.0-alpha.5",
"version": "0.8.0-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.8.0-alpha.5",
"@nocobase/server": "0.8.0-alpha.5"
"@nocobase/client": "0.8.0-alpha.7",
"@nocobase/server": "0.8.0-alpha.7"
},
"devDependencies": {
"@nocobase/test": "0.8.0-alpha.5"
"@nocobase/test": "0.8.0-alpha.7"
},
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
}

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/plugin-error-handler",
"version": "0.8.0-alpha.5",
"version": "0.8.0-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.8.0-alpha.5"
"@nocobase/server": "0.8.0-alpha.7"
},
"repository": {
"type": "git",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/plugin-ui-routes-storage",
"version": "0.8.0-alpha.5",
"version": "0.8.0-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.8.0-alpha.5"
"@nocobase/test": "0.8.0-alpha.7"
},
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
}

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/plugin-ui-schema-storage",
"version": "0.8.0-alpha.5",
"version": "0.8.0-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.8.0-alpha.5"
"@nocobase/test": "0.8.0-alpha.7"
},
"gitHead": "b17d1ecae5dd0b9d4e7170dcf9663bb225598990"
}

View File

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

View File

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

View File

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

View File

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

View File

@ -24,18 +24,7 @@ export class PresetNocoBase extends Plugin {
builtIn: true,
installed: true,
});
const samples = [
'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',
];
const samples = ['sample-hello'];
await this.app.pm.add(samples, {});
await this.app.reload();
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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