@superblocksteam/cli 2.0.3-next.118 → 2.0.3-next.119

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
@@ -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.118 linux-x64 node-v20.19.0
17
+ @superblocksteam/cli/2.0.3-next.119 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.118",
329164
+ version: "2.0.3-next.119",
329165
329165
  type: "module",
329166
329166
  description: "Superblocks JS SDK",
329167
329167
  homepage: "https://www.superblocks.com",
@@ -329177,7 +329177,8 @@ var package_default = {
329177
329177
  }
329178
329178
  },
329179
329179
  scripts: {
329180
- build: "tsc --build",
329180
+ "update-cdn-url": 'echo "export const DEFAULT_CDN_URL = \\"${SUPERBLOCKS_CDN_URL:-https://assets-cdn.superblocks.com}\\";" > src/dev-utils/cdn-url.mts',
329181
+ build: "pnpm run update-cdn-url && tsc --build",
329181
329182
  check: "pnpm run lint && pnpm run typecheck",
329182
329183
  clean: "rm -rf dist tsconfig.tsbuildinfo",
329183
329184
  dev: "tsc --build --watch",
@@ -329191,8 +329192,8 @@ var package_default = {
329191
329192
  "@rollup/wasm-node": "^4.35.0",
329192
329193
  "@superblocksteam/bucketeer-sdk": "0.4.1",
329193
329194
  "@superblocksteam/shared": "^0.9081.0",
329194
- "@superblocksteam/util": "2.0.3-next.118",
329195
- "@superblocksteam/vite-plugin-file-sync": "2.0.3-next.118",
329195
+ "@superblocksteam/util": "2.0.3-next.119",
329196
+ "@superblocksteam/vite-plugin-file-sync": "2.0.3-next.119",
329196
329197
  "@vitejs/plugin-react": "^4.3.4",
329197
329198
  axios: "^1.4.0",
329198
329199
  chokidar: "^4.0.3",
@@ -370879,6 +370880,10 @@ function ensureRelative(dir, path210) {
370879
370880
  return isAbsolute(path210) ? relative(dir, path210) : path210;
370880
370881
  }
370881
370882
 
370883
+ // ../sdk/dist/dev-utils/cdn-url.mjs
370884
+ init_cjs_shims();
370885
+ var DEFAULT_CDN_URL = "https://assets-cdn.superblocks.com/library/2.0.3-next.119";
370886
+
370882
370887
  // ../sdk/dist/dev-utils/custom-build.mjs
370883
370888
  init_cjs_shims();
370884
370889
  import path20 from "node:path";
@@ -373618,7 +373623,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, fsOp
373618
373623
  };
373619
373624
  const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
373620
373625
  const customFolder = path21.join(root2, "custom");
373621
- const cdnUrl = process.env.SUPERBLOCKS_CDN_URL ?? "https://assets-cdn.superblocks.com";
373626
+ const cdnUrl = process.env.SUPERBLOCKS_CDN_URL ?? DEFAULT_CDN_URL;
373622
373627
  const env3 = loadEnv(mode, root2, "");
373623
373628
  const hmrPort = await getFreePort();
373624
373629
  const viteServer = await createServer({
@@ -509,5 +509,5 @@
509
509
  "strict": true
510
510
  }
511
511
  },
512
- "version": "2.0.3-next.118"
512
+ "version": "2.0.3-next.119"
513
513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/cli",
3
- "version": "2.0.3-next.118",
3
+ "version": "2.0.3-next.119",
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.118",
45
+ "@superblocksteam/sdk": "2.0.3-next.119",
46
46
  "@superblocksteam/shared": "^0.9081.0",
47
- "@superblocksteam/util": "2.0.3-next.118",
47
+ "@superblocksteam/util": "2.0.3-next.119",
48
48
  "@types/babel__core": "^7.20.0",
49
49
  "@types/chai": "^4",
50
50
  "@types/fs-extra": "^11.0.1",