blokctl 0.2.3 → 0.2.5

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.
@@ -382,13 +382,20 @@ export async function createProject(opts, version, currentPath = false, localRep
382
382
  const deps = packageJsonContent[depGroup];
383
383
  if (!deps)
384
384
  continue;
385
+ for (const pkg of Object.keys(deps)) {
386
+ if (pkg.startsWith("@blok/")) {
387
+ const newPkg = pkg.replace("@blok/", "@blokjs/");
388
+ deps[newPkg] = "^0.2.0";
389
+ delete deps[pkg];
390
+ }
391
+ }
385
392
  for (const [pkg, ver] of Object.entries(deps)) {
386
393
  if (typeof ver === "string" && ver.startsWith("workspace:")) {
387
394
  if (localRepoPath && workspacePackageMap[pkg]) {
388
395
  deps[pkg] = `file:${path.resolve(repoSource, workspacePackageMap[pkg])}`;
389
396
  }
390
397
  else {
391
- deps[pkg] = "^0.1.0";
398
+ deps[pkg] = "^0.2.0";
392
399
  }
393
400
  }
394
401
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blokctl",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "author": "Deskree Technologies Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "description": "cli for blok",
@@ -56,7 +56,8 @@
56
56
  "ai": "^4.3.16",
57
57
  "@ai-sdk/openai": "^1.3.22",
58
58
  "fast-glob": "^3.3.3",
59
- "pluralize": "^8.0.0"
59
+ "pluralize": "^8.0.0",
60
+ "typescript": "^5.8.3"
60
61
  },
61
62
  "devDependencies": {
62
63
  "@types/figlet": "^1.7.0",
@@ -64,7 +65,6 @@
64
65
  "@types/node": "^22.15.21",
65
66
  "@types/react": "^19.2.10",
66
67
  "rimraf": "^6.1.2",
67
- "typescript": "^5.8.3",
68
68
  "vitest": "^4.0.18",
69
69
  "@types/pluralize": "^0.0.33"
70
70
  },