@mifune/agro 0.16.1 → 0.16.2
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/README.md +3 -3
- package/dist/agro.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,17 +26,17 @@ Or run it once without installing:
|
|
|
26
26
|
npx @mifune/agro sandbox install docker
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Prefer a `curl | bash` bootstrap (also installs Node when missing)? `
|
|
29
|
+
Prefer a `curl | bash` bootstrap (also installs Node when missing)? `install.sh`
|
|
30
30
|
installs the prebuilt `agro` artifact from the latest GitHub release — it never
|
|
31
31
|
clones or builds on your machine:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
curl -fsSL https://github.com/mifunedev/agro/releases/latest/download/
|
|
34
|
+
curl -fsSL https://github.com/mifunedev/agro/releases/latest/download/install.sh | bash
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Requirements
|
|
38
38
|
|
|
39
|
-
- **Node.js ≥ 20** (22 recommended) on your `PATH`. Unlike the `
|
|
39
|
+
- **Node.js ≥ 20** (22 recommended) on your `PATH`. Unlike the `install.sh` bootstrap,
|
|
40
40
|
npm will not install Node for you.
|
|
41
41
|
- **Docker** and **git** for the sandbox lifecycle commands (`agro sandbox install`, `agro shell`).
|
|
42
42
|
|
package/dist/agro.js
CHANGED
|
@@ -531,7 +531,7 @@ function refuseUnsupported(installation, bin) {
|
|
|
531
531
|
return new Error(`${at} \u2014 rebuild from the checkout: npm --prefix .agro/cli run build`);
|
|
532
532
|
default:
|
|
533
533
|
return new Error(
|
|
534
|
-
`unknown installation (${reason ?? target}) \u2014 install with npm install -g ${PACKAGE} or
|
|
534
|
+
`unknown installation (${reason ?? target}) \u2014 install with npm install -g ${PACKAGE} or install.sh`
|
|
535
535
|
);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -638,7 +638,7 @@ async function upgradeStandalone(installation, opts, deps, io) {
|
|
|
638
638
|
deps.access(dir, constants.W_OK);
|
|
639
639
|
} catch {
|
|
640
640
|
throw new Error(
|
|
641
|
-
`${dir} is not writable; re-run as the user who owns ${target}, or reinstall into a writable directory with
|
|
641
|
+
`${dir} is not writable; re-run as the user who owns ${target}, or reinstall into a writable directory with install.sh`
|
|
642
642
|
);
|
|
643
643
|
}
|
|
644
644
|
let artifact;
|
|
@@ -2238,7 +2238,7 @@ function resolveExecutionTarget(opts) {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
|
|
2240
2240
|
// src/lib/version.ts
|
|
2241
|
-
var AGRO_VERSION = true ? "0.16.
|
|
2241
|
+
var AGRO_VERSION = true ? "0.16.2" : "0.0.0-dev";
|
|
2242
2242
|
var OFFICIAL_IMAGE = "ghcr.io/mifunedev/agro";
|
|
2243
2243
|
var RELEASE_VERSION = /^[0-9]+\.[0-9]+\.[0-9]+(?:-[a-z][a-z0-9]*\.[0-9]+)?$/;
|
|
2244
2244
|
function parseReleaseVersion(value) {
|
|
@@ -6603,7 +6603,7 @@ The upgrade follows whichever mechanism installed this executable:
|
|
|
6603
6603
|
npm-managed realpath under node_modules/${AGRO_PRODUCT.packageName}/: reads the registry
|
|
6604
6604
|
version with \`npm view\`, then runs
|
|
6605
6605
|
\`npm install -g --prefix <owning prefix> ${AGRO_PRODUCT.packageName}@<version>\`.
|
|
6606
|
-
standalone a plain file (
|
|
6606
|
+
standalone a plain file (install.sh): downloads AGRO_JS_URL (default
|
|
6607
6607
|
${DEFAULT_ARTIFACT_URL})
|
|
6608
6608
|
into the same directory, checks its shebang and \`--version\`,
|
|
6609
6609
|
renames it over the executable, and keeps <path>.prev until the
|