@akanjs/cli 2.1.0-rc.7 → 2.1.0-rc.9

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/index.js CHANGED
@@ -10370,10 +10370,10 @@ ${chalk7.green("\u27A4")} Authentication Required`));
10370
10370
  }
10371
10371
  async update(workspace, tag = "latest") {
10372
10372
  if (!await workspace.exists("package.json"))
10373
- await workspace.spawn("npm", ["update", "-g", "akanjs", "--latest", `--tag=${tag}`]);
10373
+ await workspace.spawn("bun", ["update", "-g", "akanjs", "--latest", `--tag=${tag}`]);
10374
10374
  else
10375
10375
  await Promise.all([
10376
- workspace.spawn("npm", ["update", "-g", "akanjs", "--latest", `--tag=${tag}`]),
10376
+ workspace.spawn("bun", ["update", "-g", "akanjs", "--latest", `--tag=${tag}`]),
10377
10377
  this.#updateAkanPkgs(workspace, tag)
10378
10378
  ]);
10379
10379
  }
@@ -10386,6 +10386,10 @@ ${chalk7.green("\u27A4")} Authentication Required`));
10386
10386
  rootPackageJson.dependencies.akanjs = latestPublishedVersion;
10387
10387
  if (rootPackageJson.devDependencies?.akanjs)
10388
10388
  rootPackageJson.devDependencies.akanjs = latestPublishedVersion;
10389
+ if (rootPackageJson.dependencies["@akanjs/devkit"])
10390
+ rootPackageJson.dependencies["@akanjs/devkit"] = latestPublishedVersion;
10391
+ if (rootPackageJson.devDependencies?.["@akanjs/devkit"])
10392
+ rootPackageJson.devDependencies["@akanjs/devkit"] = latestPublishedVersion;
10389
10393
  workspace.setPackageJson(rootPackageJson);
10390
10394
  await workspace.spawn("bun", ["install"]);
10391
10395
  }
@@ -11606,7 +11610,10 @@ class WorkspaceRunner extends runner("workspace") {
11606
11610
  const workspaceRoot = path38.join(cwdPath, dirname3, repoName);
11607
11611
  const workspace = WorkspaceExecutor.fromRoot({ workspaceRoot, repoName });
11608
11612
  const templateSpinner = workspace.spinning(`Creating workspace template files in ${dirname3}/${repoName}...`);
11609
- const latestTypesBunVersion = await getLatestPackageVersion("@types/bun");
11613
+ const [latestBiomeVersion, latestTypesBunVersion] = await Promise.all([
11614
+ getLatestPackageVersion("@biomejs/biome"),
11615
+ getLatestPackageVersion("@types/bun")
11616
+ ]);
11610
11617
  await workspace.applyTemplate({
11611
11618
  basePath: ".",
11612
11619
  template: "workspaceRoot",
@@ -11627,7 +11634,9 @@ class WorkspaceRunner extends runner("workspace") {
11627
11634
  },
11628
11635
  devDependencies: {
11629
11636
  ...rootPackageJson.devDependencies,
11637
+ "@biomejs/biome": latestBiomeVersion,
11630
11638
  "@types/bun": latestTypesBunVersion,
11639
+ "@akanjs/devkit": akanVersion,
11631
11640
  ...typescript ? { typescript } : {}
11632
11641
  }
11633
11642
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "2.1.0-rc.7",
3
+ "version": "2.1.0-rc.9",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  "@langchain/deepseek": "^1.0.26",
35
35
  "@langchain/openai": "^1.4.6",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "2.1.0-rc.6",
37
+ "akanjs": "2.1.0-rc.8",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "daisyui": "^5.5.20",
@@ -117,4 +117,5 @@ libs/*/common/index.ts
117
117
  libs/*/client.ts
118
118
  libs/*/server.ts
119
119
  libs/*/index.ts
120
- **/.akan
120
+ **/.akan
121
+ **/bun.lock