@construct-space/cli 1.7.0 → 1.7.2
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/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10232,7 +10232,11 @@ var allowedDirs = [
|
|
|
10232
10232
|
"public",
|
|
10233
10233
|
"tests",
|
|
10234
10234
|
"widgets",
|
|
10235
|
-
"models"
|
|
10235
|
+
"models",
|
|
10236
|
+
"icons",
|
|
10237
|
+
"assets",
|
|
10238
|
+
"media",
|
|
10239
|
+
"bin"
|
|
10236
10240
|
];
|
|
10237
10241
|
var allowedRootFiles = [
|
|
10238
10242
|
"space.manifest.json",
|
|
@@ -11097,6 +11101,8 @@ async function graphPush() {
|
|
|
11097
11101
|
}
|
|
11098
11102
|
if (pushOrgID)
|
|
11099
11103
|
headers["X-Auth-Org-ID"] = pushOrgID;
|
|
11104
|
+
if (creds.publisherKey)
|
|
11105
|
+
headers["X-API-Key"] = creds.publisherKey;
|
|
11100
11106
|
const resp = await fetch(`${graphURL}/api/schemas/register`, {
|
|
11101
11107
|
method: "POST",
|
|
11102
11108
|
headers,
|
|
@@ -11413,7 +11419,7 @@ function graphFork(newSpaceID) {
|
|
|
11413
11419
|
// package.json
|
|
11414
11420
|
var package_default = {
|
|
11415
11421
|
name: "@construct-space/cli",
|
|
11416
|
-
version: "1.7.
|
|
11422
|
+
version: "1.7.2",
|
|
11417
11423
|
description: "Construct CLI \u2014 scaffold, build, develop, and publish spaces",
|
|
11418
11424
|
type: "module",
|
|
11419
11425
|
bin: {
|