api2cli 0.3.10 → 0.3.12

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2227,7 +2227,8 @@ function replacePlaceholders(dir, vars) {
2227
2227
  ["{{APP_CLI}}", vars.appCli],
2228
2228
  ["{{BASE_URL}}", vars.baseUrl],
2229
2229
  ["{{AUTH_TYPE}}", vars.authType],
2230
- ["{{AUTH_HEADER}}", vars.authHeader]
2230
+ ["{{AUTH_HEADER}}", vars.authHeader],
2231
+ ["api2cli-template", vars.appCli]
2231
2232
  ];
2232
2233
  walkFiles(dir, (filePath) => {
2233
2234
  if (filePath.includes("node_modules"))
@@ -2285,7 +2286,7 @@ async function publishToMarketplace(githubUrl) {
2285
2286
  return false;
2286
2287
  }
2287
2288
  console.log(` ${import_picocolors.default.green("\u2713")} Published ${import_picocolors.default.bold(data.skill.displayName)} to marketplace`);
2288
- console.log(` ${import_picocolors.default.dim(`\u2192 ${data.skill.url || `https://api2cli.dev/registry/${data.skill.name}`}`)}`);
2289
+ console.log(` ${import_picocolors.default.dim(`\u2192 ${data.skill.url || `https://api2cli.dev/cli/${data.skill.name}`}`)}`);
2289
2290
  return true;
2290
2291
  } catch {
2291
2292
  console.error(` ${import_picocolors.default.red("\u2717")} Could not reach api2cli.dev`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api2cli",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "Turn any REST API into a standardized, agent-ready CLI",
5
5
  "type": "module",
6
6
  "bin": {