@superblocksteam/cli 2.0.3-next.149 → 2.0.3-next.150
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 +21 -4
- 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.150 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.150",
|
|
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.150",
|
|
331256
|
+
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.150",
|
|
331257
331257
|
"@vitejs/plugin-react": "^4.3.4",
|
|
331258
331258
|
axios: "^1.4.0",
|
|
331259
331259
|
chokidar: "^4.0.3",
|
|
@@ -372193,6 +372193,23 @@ var fileSyncVitePlugin = (pluginParams, options8) => {
|
|
|
372193
372193
|
res.setHeader("Content-Type", "application/json");
|
|
372194
372194
|
return res.end(JSON.stringify(appScope));
|
|
372195
372195
|
});
|
|
372196
|
+
server.middlewares.use("/sb-ping", async (req, res, _next) => {
|
|
372197
|
+
if (req.method !== "GET" && req.method !== "OPTIONS") {
|
|
372198
|
+
res.statusCode = 405;
|
|
372199
|
+
res.end("Method not allowed");
|
|
372200
|
+
return res.end();
|
|
372201
|
+
}
|
|
372202
|
+
res.setHeader("Access-Control-Allow-Origin", "*");
|
|
372203
|
+
res.setHeader("Access-Control-Allow-Methods", "GET, OPTIONS");
|
|
372204
|
+
res.setHeader("Access-Control-Allow-Headers", "Content-Type");
|
|
372205
|
+
if (req.method === "OPTIONS") {
|
|
372206
|
+
res.statusCode = 204;
|
|
372207
|
+
res.end();
|
|
372208
|
+
return;
|
|
372209
|
+
}
|
|
372210
|
+
res.setHeader("Content-Type", "application/json");
|
|
372211
|
+
return res.end(JSON.stringify({ status: "ok", timestamp: Date.now() }));
|
|
372212
|
+
});
|
|
372196
372213
|
const socketManager = new SocketManager();
|
|
372197
372214
|
socketManager.startSocketServer({
|
|
372198
372215
|
server: httpServer2,
|
|
@@ -375836,7 +375853,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
|
|
|
375836
375853
|
};
|
|
375837
375854
|
const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
|
|
375838
375855
|
const customFolder = path21.join(root2, "custom");
|
|
375839
|
-
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.
|
|
375856
|
+
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.150";
|
|
375840
375857
|
const env3 = loadEnv(mode, root2, "");
|
|
375841
375858
|
const hmrPort = await getFreePort();
|
|
375842
375859
|
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.150",
|
|
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.150",
|
|
46
46
|
"@superblocksteam/shared": "0.9115.0",
|
|
47
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
47
|
+
"@superblocksteam/util": "2.0.3-next.150",
|
|
48
48
|
"@types/babel__core": "^7.20.0",
|
|
49
49
|
"@types/chai": "^4",
|
|
50
50
|
"@types/fs-extra": "^11.0.1",
|