@akanjs/cli 0.0.37 → 0.0.38

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.
Files changed (2) hide show
  1. package/index.js +11 -6
  2. package/package.json +27 -27
package/index.js CHANGED
@@ -4315,7 +4315,10 @@ ${import_chalk.default.green("\u27A4")} Authentication Required`));
4315
4315
  ...distPackageJson,
4316
4316
  ...distPackageJson.dependencies ? {
4317
4317
  dependencies: Object.fromEntries(
4318
- Object.entries(distPackageJson.dependencies).map(([key, value]) => [key, `^${value}`])
4318
+ Object.entries(distPackageJson.dependencies).map(([key, value]) => [
4319
+ key,
4320
+ value.startsWith("^") ? value : `^${value}`
4321
+ ])
4319
4322
  )
4320
4323
  } : {},
4321
4324
  version: nextVersion
@@ -4329,11 +4332,13 @@ ${import_chalk.default.green("\u27A4")} Authentication Required`));
4329
4332
  Logger.info("Deployment cancelled");
4330
4333
  return;
4331
4334
  }
4332
- for (const library of akanPkgs) {
4333
- Logger.info(`Publishing ${library}@${nextVersion} to npm...`);
4334
- await workspace.exec(`npm publish`, { cwd: `dist/pkgs/${library}` });
4335
- Logger.info(`${library}@${nextVersion} is published to npm`);
4336
- }
4335
+ await Promise.all(
4336
+ akanPkgs.map(async (library) => {
4337
+ Logger.info(`Publishing ${library}@${nextVersion} to npm...`);
4338
+ await workspace.exec(`npm publish`, { cwd: `dist/pkgs/${library}` });
4339
+ Logger.info(`${library}@${nextVersion} is published to npm`);
4340
+ })
4341
+ );
4337
4342
  Logger.info("All libraries are published to npm");
4338
4343
  }
4339
4344
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "@akanjs/cli",
4
- "version": "0.0.37",
4
+ "version": "0.0.38",
5
5
  "bin": {
6
6
  "akan": "index.js"
7
7
  },
@@ -18,34 +18,34 @@
18
18
  "node": ">=22"
19
19
  },
20
20
  "dependencies": {
21
- "@inquirer/prompts": "^^7.2.1",
22
- "@langchain/core": "^^0.3.27",
23
- "@langchain/openai": "^^0.3.16",
24
- "@next/bundle-analyzer": "^^15.1.3",
21
+ "@inquirer/prompts": "^7.2.1",
22
+ "@langchain/core": "^0.3.27",
23
+ "@langchain/openai": "^0.3.16",
24
+ "@next/bundle-analyzer": "^15.1.3",
25
25
  "@nx/devkit": "^20.7.2",
26
- "@trapezedev/project": "^^7.1.3",
27
- "@vitejs/plugin-react": "^^4.4.1",
28
- "axios": "^^1.7.9",
29
- "chalk": "^^5.4.1",
30
- "commander": "^^13.1.0",
31
- "dayjs": "^^1.11.13",
32
- "dotenv": "^^16.4.7",
33
- "esbuild": "^^0.19.2",
34
- "form-data": "^^4.0.1",
35
- "js-yaml": "^^4.1.0",
36
- "latest-version": "^^9.0.0",
37
- "lodash": "^^4.17.21",
26
+ "@trapezedev/project": "^7.1.3",
27
+ "@vitejs/plugin-react": "^4.4.1",
28
+ "axios": "^1.7.9",
29
+ "chalk": "^5.4.1",
30
+ "commander": "^13.1.0",
31
+ "dayjs": "^1.11.13",
32
+ "dotenv": "^16.4.7",
33
+ "esbuild": "^0.19.2",
34
+ "form-data": "^4.0.1",
35
+ "js-yaml": "^4.1.0",
36
+ "latest-version": "^9.0.0",
37
+ "lodash": "^4.17.21",
38
38
  "next-pwa": "^5.6.0",
39
- "open": "^^10.1.1",
40
- "ora": "^^3.4.0",
41
- "pluralize": "^^8.0.0",
42
- "qrcode": "^^1.5.4",
43
- "reflect-metadata": "^^0.2.2",
44
- "tunnel-ssh": "^^5.2.0",
39
+ "open": "^10.1.1",
40
+ "ora": "^3.4.0",
41
+ "pluralize": "^8.0.0",
42
+ "qrcode": "^1.5.4",
43
+ "reflect-metadata": "^0.2.2",
44
+ "tunnel-ssh": "^5.2.0",
45
45
  "typescript": "^5.8.3",
46
- "uuid": "^^11.0.3",
47
- "vite": "^^6.3.4",
48
- "vite-plugin-node-polyfills": "^^0.23.0",
49
- "vite-tsconfig-paths": "^^5.1.4"
46
+ "uuid": "^11.0.3",
47
+ "vite": "^6.3.4",
48
+ "vite-plugin-node-polyfills": "^0.23.0",
49
+ "vite-tsconfig-paths": "^5.1.4"
50
50
  }
51
51
  }