@superblocksteam/cli 2.0.3-next.175 → 2.0.3-next.177
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 +1 -1
- package/dist/index.js +8 -5
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ $ npm install -g @superblocksteam/cli
|
|
|
14
14
|
$ superblocks COMMAND
|
|
15
15
|
running command...
|
|
16
16
|
$ superblocks (--version)
|
|
17
|
-
@superblocksteam/cli/2.0.3-next.
|
|
17
|
+
@superblocksteam/cli/2.0.3-next.177 linux-x64 node-v20.19.0
|
|
18
18
|
$ superblocks --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ superblocks COMMAND
|
package/dist/index.js
CHANGED
|
@@ -302671,6 +302671,7 @@ var LockService = class extends import_shared19.TracedEventEmitter {
|
|
|
302671
302671
|
if (lockResponse.appBranchLock[0]) {
|
|
302672
302672
|
const lock = lockResponse.appBranchLock[0];
|
|
302673
302673
|
this._lockId = lock.lockId;
|
|
302674
|
+
logger3.info(`[lock-service] lock acquired: ${this._lockId}`);
|
|
302674
302675
|
this.status = LockServiceStatus.LOCKED;
|
|
302675
302676
|
this.emit("lockAcquired", this._lockId);
|
|
302676
302677
|
this.scheduleNextHeartbeat();
|
|
@@ -318416,7 +318417,7 @@ var import_util28 = __toESM(require_dist3(), 1);
|
|
|
318416
318417
|
// ../sdk/package.json
|
|
318417
318418
|
var package_default = {
|
|
318418
318419
|
name: "@superblocksteam/sdk",
|
|
318419
|
-
version: "2.0.3-next.
|
|
318420
|
+
version: "2.0.3-next.177",
|
|
318420
318421
|
type: "module",
|
|
318421
318422
|
description: "Superblocks JS SDK",
|
|
318422
318423
|
homepage: "https://www.superblocks.com",
|
|
@@ -318458,8 +318459,8 @@ var package_default = {
|
|
|
318458
318459
|
"@rollup/wasm-node": "^4.35.0",
|
|
318459
318460
|
"@superblocksteam/bucketeer-sdk": "0.5.0",
|
|
318460
318461
|
"@superblocksteam/shared": "0.9160.0",
|
|
318461
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
318462
|
-
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.
|
|
318462
|
+
"@superblocksteam/util": "2.0.3-next.177",
|
|
318463
|
+
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.177",
|
|
318463
318464
|
"@vitejs/plugin-react": "^4.3.4",
|
|
318464
318465
|
axios: "^1.4.0",
|
|
318465
318466
|
chokidar: "^4.0.3",
|
|
@@ -325433,7 +325434,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
|
|
|
325433
325434
|
};
|
|
325434
325435
|
const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
|
|
325435
325436
|
const customFolder = path34.join(root2, "custom");
|
|
325436
|
-
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.
|
|
325437
|
+
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.177";
|
|
325437
325438
|
const env3 = loadEnv(mode, root2, "");
|
|
325438
325439
|
const hmrPort = await getFreePort();
|
|
325439
325440
|
const hmrOptions = {
|
|
@@ -325878,7 +325879,8 @@ async function getCurrentCliVersion() {
|
|
|
325878
325879
|
return void 0;
|
|
325879
325880
|
const { stdout: versionOutput } = await exec3(`${superblocksPath} version --json`);
|
|
325880
325881
|
const json2 = JSON.parse(versionOutput);
|
|
325881
|
-
|
|
325882
|
+
const version2 = json2.cliVersion?.replace(/@superblocksteam\/cli(-ephemeral)?\//, "");
|
|
325883
|
+
return version2;
|
|
325882
325884
|
} catch (error) {
|
|
325883
325885
|
if (isNativeError(error)) {
|
|
325884
325886
|
logger2.error(`Error getting CLI version: ${error.message}`);
|
|
@@ -326003,6 +326005,7 @@ async function checkVersionsAndUpgrade(lockService, config2) {
|
|
|
326003
326005
|
return;
|
|
326004
326006
|
const currentCliVersion = await getCurrentCliVersion();
|
|
326005
326007
|
const currentLibraryInfo = await getCurrentLibraryVersion(pm);
|
|
326008
|
+
logger2.info(`@superblocksteam/cli/${currentCliVersion} ${currentLibraryInfo?.alias} ${currentLibraryInfo?.version}`);
|
|
326006
326009
|
if (!currentCliVersion || !(0, import_valid.default)(currentCliVersion) || currentCliVersion.startsWith("file:") || currentCliVersion.startsWith("link:") || !currentLibraryInfo || !(0, import_valid.default)(currentLibraryInfo.version) || currentLibraryInfo.version.startsWith("file:") || currentLibraryInfo.version.startsWith("link:")) {
|
|
326007
326010
|
return;
|
|
326008
326011
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/cli",
|
|
3
|
-
"version": "2.0.3-next.
|
|
3
|
+
"version": "2.0.3-next.177",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official Superblocks CLI",
|
|
6
6
|
"homepage": "https://www.superblocks.com",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@eslint/js": "^9.16.0",
|
|
44
44
|
"@oclif/test": "^4.1.11",
|
|
45
|
-
"@superblocksteam/sdk": "2.0.3-next.
|
|
45
|
+
"@superblocksteam/sdk": "2.0.3-next.177",
|
|
46
46
|
"@superblocksteam/shared": "0.9160.0",
|
|
47
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
47
|
+
"@superblocksteam/util": "2.0.3-next.177",
|
|
48
48
|
"@types/babel__core": "^7.20.0",
|
|
49
49
|
"@types/chai": "^4",
|
|
50
50
|
"@types/fs-extra": "^11.0.1",
|