gregale 0.1.18-rc.229 → 0.1.18-rc.263

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 CHANGED
@@ -4,7 +4,7 @@ The CLI for [Gregale](https://github.com/poyrazK/faas) — scale-to-zero
4
4
  Functions-as-a-Service on Firecracker microVMs.
5
5
 
6
6
  ```sh
7
- npm install -g gregale
7
+ npm install -g gregale@rc
8
8
  gregale login
9
9
  gregale deploy
10
10
  ```
@@ -12,7 +12,7 @@ gregale deploy
12
12
  Or without installing:
13
13
 
14
14
  ```sh
15
- npx gregale deploy
15
+ npx gregale@rc deploy
16
16
  ```
17
17
 
18
18
  ## What this package contains
@@ -29,10 +29,11 @@ downloads only the one matching your machine:
29
29
  | Linux arm64 | `@gregale/cli-linux-arm64` |
30
30
 
31
31
  If the launcher reports a missing platform package, optional dependencies
32
- were skipped during install:
32
+ may have been skipped, or the platform version may not yet be public. Retry
33
+ the exact version printed by the launcher, or the current release candidate:
33
34
 
34
35
  ```sh
35
- npm install --include=optional gregale
36
+ npm install -g --include=optional gregale@rc
36
37
  ```
37
38
 
38
39
  **Windows is not supported yet.** The `os` field makes npm refuse the
@@ -40,7 +41,8 @@ install rather than leave you with a launcher that cannot find a binary.
40
41
 
41
42
  ## Release channels
42
43
 
43
- `latest` tracks stable releases. Pre-1.0 release candidates publish under
44
+ `latest` tracks stable releases. Use `npm install -g gregale` after a stable
45
+ release publishes. Release candidates publish under
44
46
  the `rc` tag:
45
47
 
46
48
  ```sh
package/bin/gregale.js CHANGED
@@ -45,10 +45,11 @@ function resolveBinary() {
45
45
  try {
46
46
  return require.resolve(`${pkg}/bin/gregale`);
47
47
  } catch {
48
+ const version = require("../package.json").version;
48
49
  fail(
49
50
  `the platform package ${pkg} is missing.\n` +
50
- `This usually means npm skipped optional dependencies. Reinstall with:\n` +
51
- ` npm install --include=optional gregale\n` +
51
+ `npm may have skipped optional dependencies, or this platform version is not yet public. Reinstall with:\n` +
52
+ ` npm install -g --include=optional gregale@${version}\n` +
52
53
  `or install directly: curl -fsSL https://get.gregale.dev | sh`,
53
54
  );
54
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gregale",
3
- "version": "0.1.18-rc.229",
3
+ "version": "0.1.18-rc.263",
4
4
  "description": "Gregale CLI — deploy and operate scale-to-zero apps on Firecracker microVMs",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://github.com/poyrazK/faas",
@@ -39,9 +39,9 @@
39
39
  "arm64"
40
40
  ],
41
41
  "optionalDependencies": {
42
- "@gregale/cli-darwin-amd64": "0.1.18-rc.229",
43
- "@gregale/cli-darwin-arm64": "0.1.18-rc.229",
44
- "@gregale/cli-linux-amd64": "0.1.18-rc.229",
45
- "@gregale/cli-linux-arm64": "0.1.18-rc.229"
42
+ "@gregale/cli-darwin-amd64": "0.1.18-rc.263",
43
+ "@gregale/cli-darwin-arm64": "0.1.18-rc.263",
44
+ "@gregale/cli-linux-amd64": "0.1.18-rc.263",
45
+ "@gregale/cli-linux-arm64": "0.1.18-rc.263"
46
46
  }
47
47
  }