@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 +3 -34
- package/package.json +4 -4
- package/package.service.yml +3 -0
- package/public/schema-builder/index.html +1 -1
- package/src/objects.object.yml +1 -1
- package/.scripts/npm-postinstall.js +0 -35
- package/.vscode/extensions.json +0 -5
- package/.vscode/settings.json +0 -10
- package/nodemon.json +0 -13
- package/steedos-config.yml +0 -31
package/README.md
CHANGED
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
```
|
|
3
|
-
npm i yarn -g
|
|
4
|
-
```
|
|
1
|
+
# Object Schema Builder
|
|
5
2
|
|
|
6
|
-
|
|
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
|
-
|
|
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.
|
|
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://
|
|
13
|
-
"gitHead": "
|
|
12
|
+
"homepage": "https://github.com/steedos/steedos-platform/tree/master/packages/steedos-plugin-schema-builder",
|
|
13
|
+
"gitHead": "d4a1c8b4938c6b7853b4890902ec7b9ea60a1a70"
|
|
14
14
|
}
|
package/src/objects.object.yml
CHANGED
|
@@ -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
|
-
}
|
package/.vscode/extensions.json
DELETED
package/.vscode/settings.json
DELETED
|
@@ -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
package/steedos-config.yml
DELETED
|
@@ -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"
|