steedos-cli 2.7.8-beta.2 → 2.7.8-beta.21
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/LICENSE.txt +14 -15
- package/default.steedos.config.js +17 -16
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/LICENSE.txt
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
# Open Source License
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Steedos is licensed under a modified version of the Apache License 2.0, with the following additional conditions:
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
please resort to the header of that file.
|
|
5
|
+
1. Steedos may be utilized commercially, including as a backend service for other applications or as an application development platform for enterprises. Should the conditions below be met, a commercial license must be obtained from the producer:
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
2. source code that is neither (1) is licensed under MIT, see https://opensource.org/licenses/MIT
|
|
7
|
+
a. Multi-tenant service: Unless explicitly authorized by Steedos in writing, you may not use the Steedos source code to operate a multi-tenant environment.
|
|
8
|
+
- Tenant Definition: Within the context of Steedos, one tenant corresponds to one space. The space provides a separated area for each tenant's data and configurations.
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
b. LOGO and copyright information: In the process of using Steedos's frontend, you may not remove or modify the LOGO or copyright information in the Steedos console or applications. This restriction is inapplicable to uses of Steedos that do not involve its frontend.
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
* are in folders named "ee" or start with "ee_", or in subfolders of such folders.
|
|
16
|
-
* contain the strings "ee_" in its filename name.
|
|
17
|
-
The files can be found by running the command `find . -iname ee -or -iname "*_ee*" -or -iname "*ee_*"`
|
|
12
|
+
2. As a contributor, you should agree that:
|
|
18
13
|
|
|
19
|
-
|
|
14
|
+
a. The producer can adjust the open-source agreement to be more strict or relaxed as deemed necessary.
|
|
15
|
+
b. Your contributed code may be used for commercial purposes, including but not limited to its cloud business operations.
|
|
20
16
|
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
Apart from the specific conditions mentioned above, all other rights and restrictions follow the Apache License 2.0. Detailed information about the Apache License 2.0 can be found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
18
|
+
|
|
19
|
+
The interactive design of this product is protected by appearance patent.
|
|
20
|
+
|
|
21
|
+
© 2025 Steedos, Inc.
|
|
@@ -13,6 +13,10 @@ if (_.isEmpty(process.env.STEEDOS_TENANT_ENABLE_PASSWORD_LOGIN)) {
|
|
|
13
13
|
process.env.STEEDOS_TENANT_ENABLE_PASSWORD_LOGIN = 'true';
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
if(_.isEmpty(process.env.STEEDOS_WIDGETS_ADDITIONAL)){
|
|
17
|
+
process.env.STEEDOS_WIDGETS_ADDITIONAL='@steedos-widgets/liveblocks';
|
|
18
|
+
}
|
|
19
|
+
|
|
16
20
|
if (_.isEmpty(process.env.STEEDOS_UNPKG_URL)) {
|
|
17
21
|
process.env.STEEDOS_UNPKG_URL = 'https://unpkg.steedos.cn';
|
|
18
22
|
}
|
|
@@ -38,7 +42,7 @@ if (_.isEmpty(process.env.STEEDOS_AMIS_URL)) {
|
|
|
38
42
|
process.env.STEEDOS_AMIS_URL = process.env.STEEDOS_AMIS_URL.replace(/\/+$/, "");
|
|
39
43
|
|
|
40
44
|
if (_.isEmpty(process.env.STEEDOS_WIDGETS_VERSION)) {
|
|
41
|
-
process.env.STEEDOS_WIDGETS_VERSION = '
|
|
45
|
+
process.env.STEEDOS_WIDGETS_VERSION = 'v6.3.13-beta.3';
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
if (_.isEmpty(process.env.STEEDOS_PUBLIC_PAGE_ASSETURLS)) {
|
|
@@ -47,7 +51,16 @@ if (_.isEmpty(process.env.STEEDOS_PUBLIC_PAGE_ASSETURLS)) {
|
|
|
47
51
|
let steedosPublicPageAsseturls = `${unpkgUrl}/@steedos-widgets/amis-object@${widgetsVersion}/dist/assets.json`;
|
|
48
52
|
if (!_.isEmpty(process.env.STEEDOS_WIDGETS_ADDITIONAL)) {
|
|
49
53
|
process.env.STEEDOS_WIDGETS_ADDITIONAL.split(',').forEach(additional => {
|
|
50
|
-
|
|
54
|
+
const lastAtIndex = additional.lastIndexOf('@');
|
|
55
|
+
let packageName = additional;
|
|
56
|
+
let versionToUse = widgetsVersion;
|
|
57
|
+
|
|
58
|
+
// 只有当 '@' 不在字符串开头(即大于0的位置)才视为存在版本信息
|
|
59
|
+
if (lastAtIndex > 0) {
|
|
60
|
+
packageName = additional.substring(0, lastAtIndex);
|
|
61
|
+
versionToUse = additional.substring(lastAtIndex + 1) || widgetsVersion;
|
|
62
|
+
}
|
|
63
|
+
steedosPublicPageAsseturls += `,${unpkgUrl}/${packageName}@${versionToUse}/dist/assets.json`;
|
|
51
64
|
})
|
|
52
65
|
}
|
|
53
66
|
process.env.STEEDOS_PUBLIC_PAGE_ASSETURLS = steedosPublicPageAsseturls
|
|
@@ -144,23 +157,11 @@ module.exports = {
|
|
|
144
157
|
// More info: https://moleculer.services/docs/0.14/networking.html
|
|
145
158
|
// Note: During the development, you don't need to define it because all services will be loaded locally.
|
|
146
159
|
// In production you can set it via `TRANSPORTER=nats://localhost:4222` environment variable.
|
|
147
|
-
transporter:
|
|
148
|
-
try {
|
|
149
|
-
return JSON.parse(process.env.STEEDOS_TRANSPORTER);
|
|
150
|
-
} catch (error) {
|
|
151
|
-
return process.env.STEEDOS_TRANSPORTER;
|
|
152
|
-
}
|
|
153
|
-
}(), //process.env.STEEDOS_TRANSPORTER,
|
|
160
|
+
transporter: process.env.TRANSPORTER || process.env.STEEDOS_TRANSPORTER,
|
|
154
161
|
|
|
155
162
|
// Define a cacher.
|
|
156
163
|
// More info: https://moleculer.services/docs/0.14/caching.html
|
|
157
|
-
cacher:
|
|
158
|
-
try {
|
|
159
|
-
return JSON.parse(process.env.STEEDOS_CACHER);
|
|
160
|
-
} catch (error) {
|
|
161
|
-
return process.env.STEEDOS_CACHER;
|
|
162
|
-
}
|
|
163
|
-
}(),
|
|
164
|
+
cacher: process.env.CACHER || process.env.STEEDOS_CACHER,
|
|
164
165
|
|
|
165
166
|
// Define a serializer.
|
|
166
167
|
// Available values: "JSON", "Avro", "ProtoBuf", "MsgPack", "Notepack", "Thrift".
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.7.8-beta.
|
|
1
|
+
{"version":"2.7.8-beta.21","commands":{"i18n":{"id":"i18n","description":"sync i18n resources","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"serverDir":{"name":"serverDir","type":"option","char":"s","description":"Steedos Server Dir"},"packageDir":{"name":"packageDir","type":"option","char":"p","description":"Steedos Package Dir"}},"args":[{"name":"name","description":"language","required":true}]},"start":{"id":"start","description":"run steedos projects","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"repl":{"name":"repl","type":"boolean","char":"r","description":"If true, it switches to REPL mode after broker started.","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","description":"Disable the broker logger. It prints nothing to the console.","allowNo":false},"hot":{"name":"hot","type":"boolean","char":"h","description":"Hot reload services when they change.","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"Load configuration file from a different path or a different filename.","default":"steedos.config.js"},"env":{"name":"env","type":"boolean","char":"e","description":"Load environment variables from the ‘.env’ file from the current folder.","allowNo":false},"envfile":{"name":"envfile","type":"option","char":"E","description":"Load environment variables from the specified file."},"instances":{"name":"instances","type":"option","char":"i","description":"Launch [number] node instances or max for all cpu cores (with cluster module)"}},"args":[{"name":"servicePaths","description":"service files or directories or glob masks","required":false,"default":""}]},"auth:login":{"id":"auth:login","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"username":{"name":"username","type":"option","char":"u","description":"user"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"data:export":{"id":"data:export","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"objectName":{"name":"objectName","type":"option","char":"o","description":"objectName","required":true},"ids":{"name":"ids","type":"option","char":"i","description":"ids"},"fields":{"name":"fields","type":"option","char":"f","description":"fields"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"Directory to store generated files."},"prefix":{"name":"prefix","type":"option","char":"x","description":"Prefix of generated files."},"plan":{"name":"plan","type":"boolean","char":"p","description":"Generates multiple sObject tree files and a plan definition file for aggregated import.","allowNo":false}},"args":[]},"data:import":{"id":"data:import","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"sobjectfiles":{"name":"sobjectfiles","type":"option","char":"f","description":"Paths of JSON files containing a collection of record to insert. Either --sobjecttreefiles or --plan is required."},"plan":{"name":"plan","type":"option","char":"p","description":"Path to plan to insert multiple data files that have master-detail relationships. Either --sobjecttreefiles or --plan is required."}},"args":[]},"package:build":{"id":"package:build","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"appPath":{"name":"appPath","type":"option","char":"p","description":"appPath","required":true},"packageName":{"name":"packageName","type":"option","char":"n","description":"package name"},"loglevel":{"name":"loglevel","type":"option","char":"l","description":"(debug|info|warn) [default: warn] logging level for this command invocation"}},"args":[]},"package:start":{"id":"package:start","description":"run steedos packages","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"repl":{"name":"repl","type":"boolean","char":"r","description":"If true, it switches to REPL mode after broker started.","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","description":"Disable the broker logger. It prints nothing to the console.","allowNo":false},"hot":{"name":"hot","type":"boolean","char":"h","description":"Hot reload services when they change.","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"Load configuration file from a different path or a different filename.","default":"steedos.config.js"},"env":{"name":"env","type":"boolean","char":"e","description":"Load environment variables from the ‘.env’ file from the current folder.","allowNo":false},"envfile":{"name":"envfile","type":"option","char":"E","description":"Load environment variables from the specified file."},"instances":{"name":"instances","type":"option","char":"i","description":"Launch [number] node instances or max for all cpu cores (with cluster module)"}},"args":[{"name":"servicePaths","description":"service files or directories or glob masks","required":false,"default":""}]},"source:config":{"id":"source:config","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"source:convert":{"id":"source:convert","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"oldFilesPath":{"name":"oldFilesPath","type":"option","char":"o","description":"oldFilesPath","required":true},"targetPath":{"name":"targetPath","type":"option","char":"t","description":"targetPath","required":true}},"args":[]},"source:delete":{"id":"source:delete","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"source:deploy":{"id":"source:deploy","description":" Use this command to deploy source (metadata that’s in source format)\nTo deploy metadata that’s in metadata format, use \"steedos source:deploy\".\n\nThe source you deploy overwrites the corresponding metadata on the server. This command does not attempt to merge your source with the versions on the server.\n\nExamples:\n\nTo deploy the source files in a directory:\n $ steedos source:deploy -p path/to/source\nTo deploy a specific custom object and the objects whose source is in a directory:\n $ steedos source:deploy -p \"path/to/custom/objects/myObject.object.yml\"\nor\"\n $ steedos source:deploy -p \"path/to/source/objects/my_object\"\n\n","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"sourcePath":{"name":"sourcePath","type":"option","char":"p","description":"Submit the local file under the path to the server"}},"args":[]},"source:retrieve":{"id":"source:retrieve","description":"Use this command to retrieve source (metadata that’s in source format)\nTo retrieve metadata that’s in metadata format, use \"steedos source:retrieve\".\n\nThe source you retrieve overwrites the corresponding source files in your local project. This command does not attempt to merge the source from your org with your local source files.\n\nExamples:\n\nTo retrieve the source files in a directory:\n $ steedos source:retrieve -p path/to/source\nTo retrieve a specific Custom object and the objects whose source is in a directory:\n $ steedos source:retrieve -p \"path/to/custom/objects/myObject.object.yml\"\nor\n $ steedos source:retrieve -p \"path/to/source/objects/my_object\"\nTo retrieve all Custom objects:\n $ steedos source:retrieve -m CustomObject\nTo retrieve a specific Custom object:\n $ steedos source:retrieve -m CustomObject:myObject\n\nTo retrieve all metadata components listed in a manifest:\n $ steedos source:retrieve -y path/to/package.yml\n\n\nMetaDataList:\n[\"ApprovalProcess\",\"Chart\",\"CustomAction\",\"CustomApplication\",\"CustomField\",\"CustomListview\",\"CustomObject\",\"CustomPermission\",\"CustomPermissionset\",\"CustomProfile\",\"CustomReport\",\"CustomValidationRule\",\"Dashboard\",\"Flow\",\"FlowRole\",\"FunctionYML\",\"Import\",\"Layout\",\"Page\",\"Print\",\"Process\",\"Query\",\"Question\",\"RestrictionRule\",\"Role\",\"ShareRule\",\"Tab\",\"Trigger\",\"Workflow\"]\n","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"serverDir":{"name":"serverDir","type":"option","char":"p","description":"generate request according to the path and update it"},"manifest":{"name":"manifest","type":"option","char":"y","description":"file path for manifest (package.yml) of components to deploy"},"metadata":{"name":"metadata","type":"option","char":"m","description":"metadata"}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "steedos-cli",
|
|
3
|
-
"version": "2.7.8-beta.
|
|
3
|
+
"version": "2.7.8-beta.21",
|
|
4
4
|
"description": "Develop and run your enterprise apps in miniutes",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@oclif/command": "^1.8.16",
|
|
39
39
|
"@oclif/config": "^1.8.3",
|
|
40
40
|
"@oclif/plugin-help": "^5.1.12",
|
|
41
|
-
"@steedos/metadata-core": "2.7.8-beta.
|
|
42
|
-
"@steedos/metadata-registrar": "2.7.8-beta.
|
|
41
|
+
"@steedos/metadata-core": "2.7.8-beta.21",
|
|
42
|
+
"@steedos/metadata-registrar": "2.7.8-beta.21",
|
|
43
43
|
"archiver": "^5.0.2",
|
|
44
44
|
"chalk": "2.4.2",
|
|
45
45
|
"change-case": "^3.1.0",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "bde64f8e1f880f54583600a8bb0a6018f36061b7"
|
|
85
85
|
}
|