@grove-sh/cli 0.1.0-beta.1 → 0.1.0
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/bin/grove.js +9 -3
- package/package.json +5 -5
package/bin/grove.js
CHANGED
|
@@ -47,11 +47,17 @@ function locate() {
|
|
|
47
47
|
try {
|
|
48
48
|
manifest = require.resolve(`${pkg}/package.json`);
|
|
49
49
|
} catch {
|
|
50
|
-
// npm does not report an optional dependency
|
|
51
|
-
//
|
|
50
|
+
// npm does not report an optional dependency it could not fetch, so this
|
|
51
|
+
// is the first anyone hears of it. Blaming --no-optional was wrong often
|
|
52
|
+
// enough to be worth not saying: an install run in the first minutes after
|
|
53
|
+
// a release does this too, when the wrapper has reached a mirror ahead of
|
|
54
|
+
// the platform package it depends on.
|
|
52
55
|
fail(
|
|
53
56
|
`${pkg} is not installed, so there is no binary to run.\n` +
|
|
54
|
-
"
|
|
57
|
+
"npm counts it as optional, so an install that skipped optional\n" +
|
|
58
|
+
"dependencies leaves it out, and so does one run before a new release\n" +
|
|
59
|
+
"has reached every mirror. Installing again fixes both:\n" +
|
|
60
|
+
" npm install -g @grove-sh/cli"
|
|
55
61
|
);
|
|
56
62
|
}
|
|
57
63
|
return path.join(path.dirname(manifest), "bin", "grove");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grove-sh/cli",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Local HTTPS hostnames, ports, and env vars, scoped per git worktree",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git-worktree",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"@grove-sh/cli-darwin-arm64": "0.1.0
|
|
36
|
-
"@grove-sh/cli-darwin-x64": "0.1.0
|
|
37
|
-
"@grove-sh/cli-linux-arm64": "0.1.0
|
|
38
|
-
"@grove-sh/cli-linux-x64": "0.1.0
|
|
35
|
+
"@grove-sh/cli-darwin-arm64": "0.1.0",
|
|
36
|
+
"@grove-sh/cli-darwin-x64": "0.1.0",
|
|
37
|
+
"@grove-sh/cli-linux-arm64": "0.1.0",
|
|
38
|
+
"@grove-sh/cli-linux-x64": "0.1.0"
|
|
39
39
|
}
|
|
40
40
|
}
|