@superblocksteam/cli 1.2.0 → 1.2.1

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.2.0 linux-x64 node-v18.18.2
15
+ @superblocksteam/cli/1.2.1 linux-x64 node-v18.18.2
16
16
  $ superblocks --help [COMMAND]
17
17
  USAGE
18
18
  $ superblocks COMMAND
@@ -7,7 +7,7 @@
7
7
  "lint:fix": "npx eslint . --fix"
8
8
  },
9
9
  "dependencies": {
10
- "@superblocksteam/custom-components": "1.2.0",
10
+ "@superblocksteam/custom-components": "1.2.1",
11
11
  "react": "^18",
12
12
  "react-dom": "^18"
13
13
  },
@@ -155,10 +155,10 @@ Would you like to also delete these resources from your filesystem?`,
155
155
  });
156
156
  }
157
157
  catch (error) {
158
- if ((error === null || error === void 0 ? void 0 : error.name) === sdk_1.BranchNotCheckedOutError.name) {
158
+ if (error instanceof sdk_1.BranchNotCheckedOutError) {
159
159
  this.log(`WARN: Application ${applicationConfig.application.name} failed to push, please check branch out in the Superblocks UI first in order to check this branch out for this resource.`);
160
160
  }
161
- else if ((error === null || error === void 0 ? void 0 : error.name) === sdk_1.CommitAlreadyExistsError.name) {
161
+ else if (error instanceof sdk_1.CommitAlreadyExistsError) {
162
162
  this.log(`WARN: Application ${applicationConfig.application.name} failed to push as the commit already exists in Superblocks.`);
163
163
  }
164
164
  else {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0",
2
+ "version": "1.2.1",
3
3
  "commands": {
4
4
  "init": {
5
5
  "id": "init",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Official Superblocks CLI",
5
5
  "bin": {
6
6
  "superblocks": "bin/run"
@@ -18,11 +18,11 @@
18
18
  "@oclif/core": "^2.11.7",
19
19
  "@oclif/plugin-help": "^5.2.16",
20
20
  "@oclif/plugin-plugins": "^3.1.10",
21
- "@superblocksteam/css-plugin": "1.2.0",
22
- "@superblocksteam/react-shim": "1.2.0",
23
- "@superblocksteam/sdk": "1.2.0",
24
- "@superblocksteam/util": "1.2.0",
25
- "@superblocksteam/vite-custom-component-reload-plugin": "1.2.0",
21
+ "@superblocksteam/css-plugin": "1.2.1",
22
+ "@superblocksteam/react-shim": "1.2.1",
23
+ "@superblocksteam/sdk": "1.2.1",
24
+ "@superblocksteam/util": "1.2.1",
25
+ "@superblocksteam/vite-custom-component-reload-plugin": "1.2.1",
26
26
  "@vitejs/plugin-react": "^4.1.0",
27
27
  "colorette": "^2.0.19",
28
28
  "enquirer": "^2.3.6",