@steedos/steedos-plugin-schema-builder 2.5.16 → 2.5.17-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,36 +1,5 @@
1
- ### 安装 yarn
2
- ```
3
- npm i yarn -g
4
- ```
1
+ # Object Schema Builder
5
2
 
6
- ### 国内建议使用npm淘宝镜像
7
- ```
8
- npm config set registry https://registry.npmmirror.com/
9
- ```
3
+ By enabling this package, a new "Schema Builder" button is added within the object manager interface.
10
4
 
11
- ### 使用yarn安装依赖包
12
- ```
13
- yarn
14
- ```
15
-
16
- ### 启动服务器
17
- ```
18
- yarn start
19
- ```
20
-
21
- ### 启动前端调试
22
- ```
23
- yarn fe-watch
24
- ```
25
-
26
-
27
- ### 编译前端
28
- ```
29
- yarn fe-build
30
- ```
31
-
32
- ### 了解更多
33
- - [开发文档](https://www.steedos.com/developer/)
34
-
35
- ## 功能说明
36
- - 用于生成表结构关系图
5
+ Clicking this button allows you to view the object relationship graph.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos/steedos-plugin-schema-builder",
3
- "version": "2.5.16",
4
- "description": "显示对象关系图",
3
+ "version": "2.5.17-beta.10",
4
+ "description": "Add Schema Builder to Steedos Object Manager.",
5
5
  "main": "index.js",
6
6
  "author": "",
7
7
  "license": "ISC",
@@ -9,6 +9,6 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "homepage": "https://www.steedos.com",
13
- "gitHead": "29c5576aac882d8ae615c0542c458bb82afd77db"
12
+ "homepage": "https://github.com/steedos/steedos-platform/tree/master/packages/steedos-plugin-schema-builder",
13
+ "gitHead": "d4a1c8b4938c6b7853b4890902ec7b9ea60a1a70"
14
14
  }
@@ -0,0 +1,3 @@
1
+ label: Schema Builder
2
+ description: Add schema builder button to object manager page.
3
+ icon: hierarchy
@@ -3,7 +3,7 @@
3
3
 
4
4
  <head>
5
5
  <meta charset="UTF-8" />
6
- <title>schema-builder</title>
6
+ <title>Schema Builder</title>
7
7
  <style>
8
8
  body {
9
9
  background-color:auto !important;
@@ -1,6 +1,6 @@
1
1
  extend: objects
2
2
  actions:
3
3
  schemaBuilder:
4
- label: 对象关系图
4
+ label: Schema Builder
5
5
  visible: true
6
6
  on: list
@@ -1,35 +0,0 @@
1
- const { execSync } = require('child_process');
2
- const path = require('path');
3
- console.log("Running npm-postinstall.js");
4
-
5
- //execSync('cp node_modules/devextreme/dist/css/fonts/* public/fonts/devextreme/');
6
-
7
- // fix DevExtreme的 formatISO8601函数没用使用utc时间
8
- execSync('rm -rf ./node_modules/crypto');
9
- execSync('rm -rf ./node_modules/bcrypt');
10
-
11
- // if (process.platform == "darwin"){
12
- // execSync('cp -r .scripts/bcrypt-57-darwin-x64/* node_modules/bcrypt/');
13
- // execSync('cp -r .scripts/bcrypt-57-darwin-x64/* ../node_modules/bcrypt/');
14
- // }
15
- // else if (process.platform == "win32") {
16
- // execSync('cp -r .scripts/bcrypt-57-win32-x64/* node_modules/bcrypt/');
17
- // execSync('cp -r .scripts/bcrypt-57-win32-x64/* ../node_modules/bcrypt/');
18
- // }
19
-
20
- // 修正 旧版 windows 客户端
21
-
22
- execSync('rm -rf node_modules/@steedos');
23
- execSync('rm -rf node_modules/steedos-server');
24
- execSync('rm -rf node_modules/graphql');
25
- if (process.platform == "win32") {
26
- execSync('mklink /J '+path.join(process.cwd(), '/node_modules/@steedos')+' '+ path.join('F:/GitHub/steedos-platform/node_modules/@steedos')); //指向本地platform
27
- execSync('mklink /J '+path.join(process.cwd(), '/node_modules/steedos-server')+' '+ path.join('F:/GitHub/steedos-platform/node_modules/steedos-server')); //指向本地platform
28
- execSync('rm -rf node_modules/@steedos/metadata-api');
29
- execSync('mklink /J '+path.join(process.cwd(), '/node_modules/@steedos/metadata-api')+' '+ path.join('F:/GitHub/steedos-enterprise/packages/metadata-api')); //指向本地platform
30
- execSync('rm -rf node_modules/@steedos/metadata-core');
31
- execSync('mklink /J '+path.join(process.cwd(), '/node_modules/@steedos/metadata-core')+' '+ path.join('F:/GitHub/steedos-enterprise/packages/metadata-core')); //指向本地platform
32
- execSync('mklink /J '+path.join(process.cwd(), '/node_modules/graphql')+' '+ path.join('F:/GitHub/steedos-platform/node_modules/graphql')); //指向本地platform
33
- }else{
34
- execSync('ln -s ' + process.cwd() + '/../node_modules/@steedos ' + process.cwd() + '/node_modules/@steedos' );
35
- }
@@ -1,5 +0,0 @@
1
- {
2
- "recommendations": [
3
- "redhat.vscode-yaml", "mongodb.mongodb-vscode"
4
- ]
5
- }
@@ -1,10 +0,0 @@
1
- {
2
- "yaml.completion": true,
3
- "yaml.customTags": [
4
- "tag:yaml.org,2002:js/function"
5
- ],
6
- "yaml.schemas": {
7
- "https://steedos.github.io/schemas/app/schema.json": "/*.app.yml",
8
- "https://steedos.github.io/schemas/object/schema.json": "/*.object.yml"
9
- }
10
- }
package/nodemon.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "restartable": "rs",
3
- "ignore": [
4
- ".git",
5
- "node_modules/**/node_modules"
6
- ],
7
- "verbose": true,
8
- "env": {
9
- "NODE_ENV": "development"
10
- },
11
- "ext": "js,json,yml",
12
- "delay": "3000"
13
- }
@@ -1,31 +0,0 @@
1
- datasources:
2
- default:
3
- connection:
4
- url: ${MONGO_URL}
5
- objectFiles:
6
- - "./src/**"
7
- public:
8
- cfs:
9
- store: "local"
10
- local:
11
- folder: "./storage"
12
- email:
13
- host:
14
- port: 465
15
- username:
16
- password:
17
- secure: true
18
- from:
19
- tenant:
20
- _id:
21
- name: 华炎魔方
22
- logo_url:
23
- background_url:
24
- enable_register: true
25
- enable_forget_password: false
26
- enable_create_tenant: true
27
- enable_password_login: true
28
- enable_bind_email: false
29
- enable_bind_mobile: false
30
- plugins:
31
- - "@steedos/accounts"