@superblocksteam/cli 2.0.3-next.127 → 2.0.3-next.128
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 +10 -12
- 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.128 linux-x64 node-v20.19.0
|
|
18
18
|
$ superblocks --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ superblocks COMMAND
|
package/dist/index.js
CHANGED
|
@@ -329161,7 +329161,7 @@ var import_dd_trace = __toESM(require_dd_trace2(), 1);
|
|
|
329161
329161
|
// ../sdk/package.json
|
|
329162
329162
|
var package_default = {
|
|
329163
329163
|
name: "@superblocksteam/sdk",
|
|
329164
|
-
version: "2.0.3-next.
|
|
329164
|
+
version: "2.0.3-next.128",
|
|
329165
329165
|
type: "module",
|
|
329166
329166
|
description: "Superblocks JS SDK",
|
|
329167
329167
|
homepage: "https://www.superblocks.com",
|
|
@@ -329177,8 +329177,7 @@ var package_default = {
|
|
|
329177
329177
|
}
|
|
329178
329178
|
},
|
|
329179
329179
|
scripts: {
|
|
329180
|
-
|
|
329181
|
-
build: "pnpm run update-cdn-url && tsc --build",
|
|
329180
|
+
build: "tsc --build",
|
|
329182
329181
|
check: "pnpm run lint && pnpm run typecheck",
|
|
329183
329182
|
clean: "rm -rf dist tsconfig.tsbuildinfo",
|
|
329184
329183
|
dev: "tsc --build --watch",
|
|
@@ -329192,8 +329191,8 @@ var package_default = {
|
|
|
329192
329191
|
"@rollup/wasm-node": "^4.35.0",
|
|
329193
329192
|
"@superblocksteam/bucketeer-sdk": "0.4.1",
|
|
329194
329193
|
"@superblocksteam/shared": "^0.9081.0",
|
|
329195
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
329196
|
-
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.
|
|
329194
|
+
"@superblocksteam/util": "2.0.3-next.128",
|
|
329195
|
+
"@superblocksteam/vite-plugin-file-sync": "2.0.3-next.128",
|
|
329197
329196
|
"@vitejs/plugin-react": "^4.3.4",
|
|
329198
329197
|
axios: "^1.4.0",
|
|
329199
329198
|
chokidar: "^4.0.3",
|
|
@@ -370888,10 +370887,6 @@ function ensureRelative(dir, path210) {
|
|
|
370888
370887
|
return isAbsolute(path210) ? relative(dir, path210) : path210;
|
|
370889
370888
|
}
|
|
370890
370889
|
|
|
370891
|
-
// ../sdk/dist/dev-utils/cdn-url.mjs
|
|
370892
|
-
init_cjs_shims();
|
|
370893
|
-
var DEFAULT_CDN_URL = "https://assets-cdn.superblocks.com/library/2.0.3-next.127";
|
|
370894
|
-
|
|
370895
370890
|
// ../sdk/dist/dev-utils/custom-build.mjs
|
|
370896
370891
|
init_cjs_shims();
|
|
370897
370892
|
import path20 from "node:path";
|
|
@@ -373631,7 +373626,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, fsOp
|
|
|
373631
373626
|
};
|
|
373632
373627
|
const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
|
|
373633
373628
|
const customFolder = path21.join(root2, "custom");
|
|
373634
|
-
const cdnUrl =
|
|
373629
|
+
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.128";
|
|
373635
373630
|
const env3 = loadEnv(mode, root2, "");
|
|
373636
373631
|
const hmrPort = await getFreePort();
|
|
373637
373632
|
const viteServer = await createServer({
|
|
@@ -373689,10 +373684,10 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, fsOp
|
|
|
373689
373684
|
// for now, only use the CDN locally
|
|
373690
373685
|
superblocksCdnPlugin({
|
|
373691
373686
|
imports: {
|
|
373692
|
-
"@superblocksteam/library":
|
|
373687
|
+
"@superblocksteam/library": getValidFileUrl(cdnUrl, "index.js")
|
|
373693
373688
|
},
|
|
373694
373689
|
cssImports: {
|
|
373695
|
-
"@superblocksteam/library/index.css":
|
|
373690
|
+
"@superblocksteam/library/index.css": getValidFileUrl(cdnUrl, "index.css")
|
|
373696
373691
|
}
|
|
373697
373692
|
}),
|
|
373698
373693
|
react2(),
|
|
@@ -373727,6 +373722,9 @@ function getFreePort() {
|
|
|
373727
373722
|
});
|
|
373728
373723
|
});
|
|
373729
373724
|
}
|
|
373725
|
+
function getValidFileUrl(url3, file) {
|
|
373726
|
+
return new URL(file, url3.endsWith("/") ? url3 : url3 + "/").href;
|
|
373727
|
+
}
|
|
373730
373728
|
|
|
373731
373729
|
// ../sdk/dist/cli-replacement/dev.mjs
|
|
373732
373730
|
init_cjs_shims();
|
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.128",
|
|
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.128",
|
|
46
46
|
"@superblocksteam/shared": "^0.9081.0",
|
|
47
|
-
"@superblocksteam/util": "2.0.3-next.
|
|
47
|
+
"@superblocksteam/util": "2.0.3-next.128",
|
|
48
48
|
"@types/babel__core": "^7.20.0",
|
|
49
49
|
"@types/chai": "^4",
|
|
50
50
|
"@types/fs-extra": "^11.0.1",
|