@superblocksteam/cli 2.0.3-next.153 → 2.0.3-next.154
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 +9 -8
- 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.154 linux-x64 node-v20.19.0
|
|
18
18
|
$ superblocks --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ superblocks COMMAND
|
package/dist/index.js
CHANGED
|
@@ -331222,7 +331222,7 @@ var import_dd_trace = __toESM(require_dd_trace2(), 1);
|
|
|
331222
331222
|
// ../sdk/package.json
|
|
331223
331223
|
var package_default = {
|
|
331224
331224
|
name: "@superblocksteam/sdk",
|
|
331225
|
-
version: "2.0.3-next.
|
|
331225
|
+
version: "2.0.3-next.154",
|
|
331226
331226
|
type: "module",
|
|
331227
331227
|
description: "Superblocks JS SDK",
|
|
331228
331228
|
homepage: "https://www.superblocks.com",
|
|
@@ -331252,8 +331252,8 @@ var package_default = {
|
|
|
331252
331252
|
"@rollup/wasm-node": "^4.35.0",
|
|
331253
331253
|
"@superblocksteam/bucketeer-sdk": "0.4.1",
|
|
331254
331254
|
"@superblocksteam/shared": "0.9115.0",
|
|
331255
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
331256
|
-
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.
|
|
331255
|
+
"@superblocksteam/util": "2.0.3-next.154",
|
|
331256
|
+
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.154",
|
|
331257
331257
|
"@vitejs/plugin-react": "^4.3.4",
|
|
331258
331258
|
axios: "^1.4.0",
|
|
331259
331259
|
chokidar: "^4.0.3",
|
|
@@ -371712,7 +371712,7 @@ var LockService = class extends EventEmitter7 {
|
|
|
371712
371712
|
await this.shutdown();
|
|
371713
371713
|
throw new Error(`${error}`);
|
|
371714
371714
|
} else {
|
|
371715
|
-
throw new Error(
|
|
371715
|
+
throw new Error(`${error}. Please try again later.`);
|
|
371716
371716
|
}
|
|
371717
371717
|
}
|
|
371718
371718
|
}
|
|
@@ -371787,8 +371787,10 @@ var LockService = class extends EventEmitter7 {
|
|
|
371787
371787
|
*/
|
|
371788
371788
|
async shutdown() {
|
|
371789
371789
|
const logger3 = getLogger();
|
|
371790
|
-
if (this.syncCallback) {
|
|
371790
|
+
if (this.syncCallback && this.isLocked) {
|
|
371791
371791
|
await this.syncCallback();
|
|
371792
|
+
} else {
|
|
371793
|
+
logger3.info("[lock-service] no sync callback because lock is not valid anymore");
|
|
371792
371794
|
}
|
|
371793
371795
|
this.stopHeartbeat();
|
|
371794
371796
|
if (this.isLocked) {
|
|
@@ -375824,8 +375826,7 @@ async function createDevServer({ root: root2, mode, fsOperationQueue, syncServic
|
|
|
375824
375826
|
async function gracefulShutdown(logger4) {
|
|
375825
375827
|
try {
|
|
375826
375828
|
if (lockService?.isLocked) {
|
|
375827
|
-
await
|
|
375828
|
-
await lockService.releaseLock();
|
|
375829
|
+
await lockService.shutdown();
|
|
375829
375830
|
}
|
|
375830
375831
|
if (viteServer) {
|
|
375831
375832
|
await viteServer?.close();
|
|
@@ -375938,7 +375939,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
|
|
|
375938
375939
|
};
|
|
375939
375940
|
const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
|
|
375940
375941
|
const customFolder = path21.join(root2, "custom");
|
|
375941
|
-
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.
|
|
375942
|
+
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.154";
|
|
375942
375943
|
const env3 = loadEnv(mode, root2, "");
|
|
375943
375944
|
const hmrPort = await getFreePort();
|
|
375944
375945
|
const hmrOptions = {
|
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.154",
|
|
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.154",
|
|
46
46
|
"@superblocksteam/shared": "0.9115.0",
|
|
47
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
47
|
+
"@superblocksteam/util": "2.0.3-next.154",
|
|
48
48
|
"@types/babel__core": "^7.20.0",
|
|
49
49
|
"@types/chai": "^4",
|
|
50
50
|
"@types/fs-extra": "^11.0.1",
|