@budibase/cli 2.1.39 → 2.1.40-alpha.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.40-alpha.0",
|
|
4
4
|
"description": "Budibase CLI, for developers, self hosting and migrations.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"outputPath": "build"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@budibase/backend-core": "
|
|
30
|
-
"@budibase/string-templates": "
|
|
31
|
-
"@budibase/types": "
|
|
29
|
+
"@budibase/backend-core": "2.1.40-alpha.0",
|
|
30
|
+
"@budibase/string-templates": "2.1.40-alpha.0",
|
|
31
|
+
"@budibase/types": "2.1.40-alpha.0",
|
|
32
32
|
"axios": "0.21.2",
|
|
33
33
|
"chalk": "4.1.0",
|
|
34
34
|
"cli-progress": "3.11.2",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"eslint": "^7.20.0",
|
|
55
55
|
"renamer": "^4.0.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "c1e2c04c89df9f5ce6d5b25d7f6726a9473d9a34"
|
|
58
58
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
const { objectStore } = require("@budibase/backend-core")
|
|
2
|
+
const fs = require("fs")
|
|
3
|
+
const { join } = require("path")
|
|
4
|
+
const { TEMP_DIR, MINIO_DIR } = require("./utils")
|
|
5
|
+
const { progressBar } = require("../utils")
|
|
1
6
|
const {
|
|
2
7
|
ObjectStoreBuckets,
|
|
3
8
|
ObjectStore,
|
|
4
9
|
retrieve,
|
|
5
10
|
uploadDirectory,
|
|
6
11
|
makeSureBucketExists,
|
|
7
|
-
} =
|
|
8
|
-
const fs = require("fs")
|
|
9
|
-
const { join } = require("path")
|
|
10
|
-
const { TEMP_DIR, MINIO_DIR } = require("./utils")
|
|
11
|
-
const { progressBar } = require("../utils")
|
|
12
|
+
} = objectStore
|
|
12
13
|
|
|
13
14
|
const bucketList = Object.values(ObjectStoreBuckets)
|
|
14
15
|
|
package/src/plugins/index.js
CHANGED
|
@@ -4,7 +4,7 @@ const { getSkeleton, fleshOutSkeleton } = require("./skeleton")
|
|
|
4
4
|
const questions = require("../questions")
|
|
5
5
|
const fs = require("fs")
|
|
6
6
|
const { PLUGIN_TYPE_ARR } = require("@budibase/types")
|
|
7
|
-
const {
|
|
7
|
+
const { plugins } = require("@budibase/backend-core")
|
|
8
8
|
const { runPkgCommand } = require("../exec")
|
|
9
9
|
const { join } = require("path")
|
|
10
10
|
const { success, error, info, moveDirectory } = require("../utils")
|
|
@@ -107,7 +107,7 @@ async function verify() {
|
|
|
107
107
|
}
|
|
108
108
|
name = pkgJson.name
|
|
109
109
|
version = pkgJson.version
|
|
110
|
-
validate(schemaJson)
|
|
110
|
+
plugins.validate(schemaJson)
|
|
111
111
|
return { name, version }
|
|
112
112
|
} catch (err) {
|
|
113
113
|
if (err && err.message && err.message.includes("not valid JSON")) {
|