@superblocksteam/cli 2.0.0-next.29 → 2.0.0-next.30

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.0-next.29 linux-x64 node-v20.19.0
17
+ @superblocksteam/cli/2.0.0-next.30 linux-x64 node-v20.19.0
18
18
  $ superblocks --help [COMMAND]
19
19
  USAGE
20
20
  $ superblocks COMMAND
package/dist/index.js CHANGED
@@ -263727,7 +263727,7 @@ var import_util8 = __toESM(require_dist4(), 1);
263727
263727
  // ../sdk/package.json
263728
263728
  var package_default = {
263729
263729
  name: "@superblocksteam/sdk",
263730
- version: "2.0.0-next.29",
263730
+ version: "2.0.0-next.30",
263731
263731
  type: "module",
263732
263732
  description: "Superblocks JS SDK",
263733
263733
  homepage: "https://www.superblocks.com",
@@ -263764,8 +263764,8 @@ var package_default = {
263764
263764
  "@rollup/wasm-node": "^4.35.0",
263765
263765
  "@superblocksteam/bucketeer-sdk": "0.4.1",
263766
263766
  "@superblocksteam/shared": "0.9132.0",
263767
- "@superblocksteam/util": "2.0.0-next.29",
263768
- "@superblocksteam/vite-plugin-file-sync": "2.0.0-next.29",
263767
+ "@superblocksteam/util": "2.0.0-next.30",
263768
+ "@superblocksteam/vite-plugin-file-sync": "2.0.0-next.30",
263769
263769
  "@vitejs/plugin-react": "^4.3.4",
263770
263770
  axios: "^1.4.0",
263771
263771
  chokidar: "^4.0.3",
@@ -302953,7 +302953,7 @@ var SourceTracker = class {
302953
302953
  if (!pageElement) {
302954
302954
  throw new Error(`Page element not found for ${widgetSourceId}`);
302955
302955
  }
302956
- const attributes = pageElement.get("attributes");
302956
+ const attributes = pageElement.get("openingElement").get("attributes");
302957
302957
  const attribute = attributes?.find((attr) => attr.isJSXAttribute() && attr.node.name.name === "name");
302958
302958
  attribute?.replaceWith(import_types22.default.jsxAttribute(import_types22.default.jsxIdentifier("name"), import_types22.default.stringLiteral(newName)));
302959
302959
  this.changedFiles.add(filePath);
@@ -308654,7 +308654,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
308654
308654
  };
308655
308655
  const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
308656
308656
  const customFolder = path21.join(root2, "custom");
308657
- const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.0-next.29";
308657
+ const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.0-next.30";
308658
308658
  const env3 = loadEnv(mode, root2, "");
308659
308659
  const hmrPort = await getFreePort();
308660
308660
  const hmrOptions = {
@@ -509,5 +509,5 @@
509
509
  "strict": true
510
510
  }
511
511
  },
512
- "version": "2.0.0-next.29"
512
+ "version": "2.0.0-next.30"
513
513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/cli",
3
- "version": "2.0.0-next.29",
3
+ "version": "2.0.0-next.30",
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.0-next.29",
45
+ "@superblocksteam/sdk": "2.0.0-next.30",
46
46
  "@superblocksteam/shared": "0.9132.0",
47
- "@superblocksteam/util": "2.0.0-next.29",
47
+ "@superblocksteam/util": "2.0.0-next.30",
48
48
  "@types/babel__core": "^7.20.0",
49
49
  "@types/chai": "^4",
50
50
  "@types/fs-extra": "^11.0.1",