@superblocksteam/cli 2.0.3-next.212 → 2.0.3-next.213

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.212 linux-x64 node-v20.19.0
17
+ @superblocksteam/cli/2.0.3-next.213 linux-x64 node-v20.19.0
18
18
  $ superblocks --help [COMMAND]
19
19
  USAGE
20
20
  $ superblocks COMMAND
package/dist/index.js CHANGED
@@ -400595,27 +400595,22 @@ var doPostProcessing = (clark, { draftInterface, appShell }) => {
400595
400595
  switch (event.type) {
400596
400596
  case LLM_FINISHED: {
400597
400597
  const { files } = event;
400598
- const apiPaths = matchMultiplePaths(
400599
- // we have already drafted the generated apis into yaml at this point,
400600
- // but the api builder files are still in the event's files list
400601
- Paths.ApiYamls,
400602
- Paths.GeneratedApis
400603
- );
400604
400598
  const scopePaths = matchMultiplePaths(Paths.PageScopes, Paths.AppScope);
400599
+ const pageAndComponentPaths = matchMultiplePaths(Paths.PageIndexes, Paths.Components);
400605
400600
  try {
400606
- const { packageJson, scopes, notApiArtifacts } = files.reduce((acc, file) => {
400601
+ const { packageJson, scopes, pagesAndComponents } = files.reduce((acc, file) => {
400607
400602
  if (file.filePath === Paths.PackageJson) {
400608
400603
  acc.packageJson = file;
400609
400604
  } else if (scopePaths(file.filePath).matched) {
400610
400605
  acc.scopes.push(file);
400611
- } else if (!apiPaths(file.filePath).matched) {
400612
- acc.notApiArtifacts.push(file);
400606
+ } else if (pageAndComponentPaths(file.filePath).matched) {
400607
+ acc.pagesAndComponents.push(file);
400613
400608
  }
400614
400609
  return acc;
400615
400610
  }, {
400616
400611
  packageJson: null,
400617
400612
  scopes: [],
400618
- notApiArtifacts: []
400613
+ pagesAndComponents: []
400619
400614
  });
400620
400615
  if (!clark.context.usedDebugging) {
400621
400616
  void sendUserMessage({
@@ -400641,7 +400636,7 @@ var doPostProcessing = (clark, { draftInterface, appShell }) => {
400641
400636
  await handleDependencies(packageJson);
400642
400637
  }
400643
400638
  await createDraftFiles(scopes);
400644
- await createDraftFiles(notApiArtifacts);
400639
+ await createDraftFiles(pagesAndComponents);
400645
400640
  if (!clark.context.usedDebugging) {
400646
400641
  void sendUserMessage({
400647
400642
  type: "control",
@@ -418482,7 +418477,7 @@ var import_util28 = __toESM(require_dist3(), 1);
418482
418477
  // ../sdk/package.json
418483
418478
  var package_default = {
418484
418479
  name: "@superblocksteam/sdk",
418485
- version: "2.0.3-next.212",
418480
+ version: "2.0.3-next.213",
418486
418481
  type: "module",
418487
418482
  description: "Superblocks JS SDK",
418488
418483
  homepage: "https://www.superblocks.com",
@@ -418524,8 +418519,8 @@ var package_default = {
418524
418519
  "@rollup/wasm-node": "^4.35.0",
418525
418520
  "@superblocksteam/bucketeer-sdk": "0.5.0",
418526
418521
  "@superblocksteam/shared": "0.9160.0",
418527
- "@superblocksteam/util": "2.0.3-next.212",
418528
- "@superblocksteam/vite-plugin-file-sync": "2.0.3-next.212",
418522
+ "@superblocksteam/util": "2.0.3-next.213",
418523
+ "@superblocksteam/vite-plugin-file-sync": "2.0.3-next.213",
418529
418524
  "@vitejs/plugin-react": "^4.3.4",
418530
418525
  axios: "^1.4.0",
418531
418526
  chokidar: "^4.0.3",
@@ -426011,7 +426006,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
426011
426006
  };
426012
426007
  const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
426013
426008
  const customFolder = path36.join(root2, "custom");
426014
- const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.212";
426009
+ const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.3-next.213";
426015
426010
  const env3 = loadEnv(mode, root2, "");
426016
426011
  const hmrPort = await getFreePort();
426017
426012
  const hmrOptions = {
@@ -585,5 +585,5 @@
585
585
  "strict": true
586
586
  }
587
587
  },
588
- "version": "2.0.3-next.212"
588
+ "version": "2.0.3-next.213"
589
589
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/cli",
3
- "version": "2.0.3-next.212",
3
+ "version": "2.0.3-next.213",
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.212",
45
+ "@superblocksteam/sdk": "2.0.3-next.213",
46
46
  "@superblocksteam/shared": "0.9160.0",
47
- "@superblocksteam/util": "2.0.3-next.212",
47
+ "@superblocksteam/util": "2.0.3-next.213",
48
48
  "@types/babel__core": "^7.20.0",
49
49
  "@types/chai": "^4",
50
50
  "@types/fs-extra": "^11.0.1",