@akanjs/cli 2.3.5-rc.9 → 2.3.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.
package/index.js CHANGED
@@ -13893,7 +13893,7 @@ class WorkspaceRunner extends runner("workspace") {
13893
13893
  init = true,
13894
13894
  akanVersion,
13895
13895
  registryUrl,
13896
- owner
13896
+ owner = ""
13897
13897
  }) {
13898
13898
  const cwdPath = process.cwd();
13899
13899
  const workspaceRoot = path41.join(cwdPath, dirname2, repoName);
@@ -13907,7 +13907,7 @@ class WorkspaceRunner extends runner("workspace") {
13907
13907
  await workspace.applyTemplate({
13908
13908
  basePath: ".",
13909
13909
  template: "workspaceRoot",
13910
- dict: { repoName, appName, serveDomain: "localhost" }
13910
+ dict: { repoName, appName, serveDomain: "localhost", owner }
13911
13911
  });
13912
13912
  if (normalizedRegistryUrl)
13913
13913
  await workspace.writeFile(".npmrc", `registry=${normalizedRegistryUrl}/
@@ -14160,9 +14160,15 @@ class WorkspaceCommand extends command("workspace", [WorkspaceScript], ({ public
14160
14160
  desc: "owner of the workspace",
14161
14161
  default: process.env.GITHUB_OWNER,
14162
14162
  nullable: true
14163
- }).exec(async function(workspaceName, app, dir, libs, init, registry) {
14163
+ }).exec(async function(workspaceName, app, dir, libs, init, registry, owner) {
14164
14164
  const appName = app || "app";
14165
- await this.workspaceScript.createWorkspace(workspaceName.toLowerCase().replace(/ /g, "-"), appName.toLowerCase().replace(/ /g, "-"), { dirname: dir, installLibs: libs, init, ...registry ? { registryUrl: registry } : {} });
14165
+ await this.workspaceScript.createWorkspace(workspaceName.toLowerCase().replace(/ /g, "-"), appName.toLowerCase().replace(/ /g, "-"), {
14166
+ dirname: dir,
14167
+ installLibs: libs,
14168
+ init,
14169
+ owner,
14170
+ ...registry ? { registryUrl: registry } : {}
14171
+ });
14166
14172
  }),
14167
14173
  generateAgentRules: target({ desc: "Generate AGENTS.md and optional Cursor rules for Akan coding agents" }).option("overwrite", Boolean, { desc: "Overwrite existing agent rule files", default: false }).option("cursorRules", Boolean, { desc: "Generate .cursor/rules/akan.mdc", default: true }).with(Workspace).exec(async function(overwrite, cursorRules, workspace) {
14168
14174
  await this.workspaceScript.generateAgentRules(workspace, { overwrite, cursorRules });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "2.3.5-rc.9",
3
+ "version": "2.3.5",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -35,7 +35,7 @@
35
35
  "@langchain/openai": "^1.4.6",
36
36
  "@tailwindcss/node": "^4.3.0",
37
37
  "@trapezedev/project": "^7.1.4",
38
- "akanjs": "2.3.5-rc.9",
38
+ "akanjs": "2.3.5",
39
39
  "chalk": "^5.6.2",
40
40
  "commander": "^14.0.3",
41
41
  "daisyui": "^5.5.20",
@@ -57,7 +57,7 @@ ${serviceModules.map((module) => `export const ${module} = SignalRegistry.regist
57
57
 
58
58
  export const fetchSignals = [${signalNames.join(", ")}] as const;
59
59
  export type Fetch = FetchClientType<typeof fetchSignals>;
60
- export const fetch: Fetch = FetchClient.from(...fetchSignals);
60
+ export const fetch = FetchClient.from(...fetchSignals) as unknown as Fetch;
61
61
 
62
62
  export const getSerializedSignal = () => fetch.serializedSignal
63
63
  `;
@@ -4,7 +4,13 @@
4
4
  "features": {
5
5
  "ghcr.io/devcontainers-extra/features/bun:1": {}
6
6
  },
7
- "onCreateCommand": "bun add -g @akanjs/cli@latest",
7
+ "containerEnv": {
8
+ "BUN_INSTALL": "/home/vscode/.bun"
9
+ },
10
+ "remoteEnv": {
11
+ "PATH": "/home/vscode/.bun/bin:${containerEnv:PATH}"
12
+ },
13
+ "onCreateCommand": "export PATH=\"/home/vscode/.bun/bin:$PATH\" && bun add -g @akanjs/cli@latest",
8
14
  "postCreateCommand": "bun install",
9
15
  "forwardPorts": [8282, 8283, 8284, 8285, 8286, 8287, 8288, 8289, 8290],
10
16
  "portsAttributes": {