@aerostack/cli 1.5.35 → 1.5.37

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/bin/run.js +4 -0
  2. package/package.json +1 -1
package/bin/run.js CHANGED
@@ -120,6 +120,10 @@ async function downloadBinary(version, asset) {
120
120
  }
121
121
 
122
122
  async function ensureBinary() {
123
+ // Developer override: prefer the binary in the root of the Go project if we are running from the monorepo
124
+ const localRepoBin = resolve(__dirname, "..", "..", BINARY);
125
+ if (existsSync(localRepoBin)) return localRepoBin;
126
+
123
127
  const binPath = join(INSTALL_DIR, process.platform === "win32" ? `${BINARY}.exe` : BINARY);
124
128
  const { arch, asset } = getPlatform();
125
129
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aerostack/cli",
3
- "version": "1.5.35",
3
+ "version": "1.5.37",
4
4
  "description": "Aerostack CLI - Zero-config serverless development for Cloudflare",
5
5
  "type": "module",
6
6
  "files": [