@superblocksteam/cli 1.14.2 → 1.14.4
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
|
@@ -12,7 +12,7 @@ $ npm install -g @superblocksteam/cli
|
|
|
12
12
|
$ superblocks COMMAND
|
|
13
13
|
running command...
|
|
14
14
|
$ superblocks (--version)
|
|
15
|
-
@superblocksteam/cli/1.14.
|
|
15
|
+
@superblocksteam/cli/1.14.4 linux-x64 node-v20.19.5
|
|
16
16
|
$ superblocks --help [COMMAND]
|
|
17
17
|
USAGE
|
|
18
18
|
$ superblocks COMMAND
|
|
@@ -196,7 +196,7 @@ DESCRIPTION
|
|
|
196
196
|
Display help for superblocks.
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
199
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.27/src/commands/help.ts)_
|
|
200
200
|
|
|
201
201
|
## `superblocks init [RESOURCE_URL]`
|
|
202
202
|
|
package/dist/commands/deploy.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { green, yellow } from "colorette";
|
|
|
7
7
|
import { Listr } from "listr2";
|
|
8
8
|
import { isEmpty } from "lodash-es";
|
|
9
9
|
import { AuthenticatedCommand } from "../common/authenticated-command.mjs";
|
|
10
|
-
import { atLeastOneSelection,
|
|
10
|
+
import { atLeastOneSelection, MULTI_SELECT_PROMPT_HELP, } from "../common/version-control.mjs";
|
|
11
11
|
var DeploymentStatus;
|
|
12
12
|
(function (DeploymentStatus) {
|
|
13
13
|
DeploymentStatus["SUCCESS"] = "SUCCESS";
|
|
@@ -90,8 +90,8 @@ export default class Deploy extends AuthenticatedCommand {
|
|
|
90
90
|
await this.validateGitSetup(resource.resourceType, resource.resourceId, ComponentEvent.DEPLOY);
|
|
91
91
|
}
|
|
92
92
|
catch (error) {
|
|
93
|
-
if (
|
|
94
|
-
this.log(`WARN:
|
|
93
|
+
if (error instanceof ValidateGitSetupError) {
|
|
94
|
+
this.log(`WARN: ${error.message}.`);
|
|
95
95
|
ctx.resourceIdsToSkip.add(resource.resourceId);
|
|
96
96
|
}
|
|
97
97
|
else {
|
package/dist/commands/pull.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { ValidateGitSetupError, } from "@superblocksteam/sdk";
|
|
|
4
4
|
import { getSuperblocksMonorepoConfigJson, getSuperblocksResourceConfigIfExists, ComponentEvent, COMPONENT_EVENT_HEADER, NotFoundError, } from "@superblocksteam/util";
|
|
5
5
|
import { Listr } from "listr2";
|
|
6
6
|
import { AuthenticatedCommand } from "../common/authenticated-command.mjs";
|
|
7
|
-
import { DEFAULT_BRANCH, FileStructureType, LATEST_EDITS_MODE, MULTI_SELECT_PROMPT_HELP, atLeastOneSelection, deleteResourcesAndUpdateRootConfig, getCurrentGitBranchIfGit, getFileStructureType, getMode,
|
|
7
|
+
import { DEFAULT_BRANCH, FileStructureType, LATEST_EDITS_MODE, MULTI_SELECT_PROMPT_HELP, atLeastOneSelection, deleteResourcesAndUpdateRootConfig, getCurrentGitBranchIfGit, getFileStructureType, getMode, modeFlagValuesMap, writeMultiPageApplicationToDisk, writeResourceToDisk, } from "../common/version-control.mjs";
|
|
8
8
|
export default class Pull extends AuthenticatedCommand {
|
|
9
9
|
static description = "Download objects from Superblocks and save them locally";
|
|
10
10
|
static examples = [
|
|
@@ -178,8 +178,8 @@ Would you like to also delete these resources from your filesystem?`,
|
|
|
178
178
|
ctx.branchToPullFrom.set(resourceId, branchName);
|
|
179
179
|
}
|
|
180
180
|
catch (error) {
|
|
181
|
-
if (
|
|
182
|
-
this.log(`WARN:
|
|
181
|
+
if (error instanceof ValidateGitSetupError) {
|
|
182
|
+
this.log(`WARN: ${error.message}.`);
|
|
183
183
|
ctx.resourceIdsToSkip.add(resourceId);
|
|
184
184
|
}
|
|
185
185
|
else {
|
package/dist/commands/push.mjs
CHANGED
|
@@ -193,8 +193,8 @@ Would you like to also delete these resources from your filesystem?`,
|
|
|
193
193
|
ctx.branchToPushTo.set(resourceId, branchName);
|
|
194
194
|
}
|
|
195
195
|
catch (error) {
|
|
196
|
-
if (
|
|
197
|
-
this.log(`WARN:
|
|
196
|
+
if (error instanceof ValidateGitSetupError) {
|
|
197
|
+
this.log(`WARN: ${error.message}.`);
|
|
198
198
|
ctx.resourceIdsToSkip.add(resourceId);
|
|
199
199
|
}
|
|
200
200
|
else {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/cli",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
4
4
|
"description": "Official Superblocks CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superblocks": "./bin/run"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"slugify": "^1.6.6",
|
|
30
30
|
"vite": "^6.2.0",
|
|
31
31
|
"yaml": "^2.6.1",
|
|
32
|
-
"@superblocksteam/sdk": "1.14.
|
|
33
|
-
"@superblocksteam/util": "1.14.
|
|
32
|
+
"@superblocksteam/sdk": "1.14.4",
|
|
33
|
+
"@superblocksteam/util": "1.14.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@oclif/test": "^4.1.11",
|