gitpreflight 0.1.4 → 0.1.11

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 ADDED
@@ -0,0 +1,22 @@
1
+ # gitpreflight
2
+
3
+ Install the GitPreflight CLI globally:
4
+
5
+ ```bash
6
+ npm i -g gitpreflight
7
+ ```
8
+
9
+ Then run:
10
+
11
+ ```bash
12
+ gitpreflight --help
13
+ gitpreflight setup
14
+ gitpreflight setup local-agent
15
+ gitpreflight version
16
+ ```
17
+
18
+ `gitpreflight` is a lightweight npm wrapper that downloads and runs the official GitPreflight binary for your platform.
19
+
20
+ Docs and source:
21
+
22
+ - https://github.com/un/gitPreflight
@@ -9,7 +9,7 @@ async function main() {
9
9
 
10
10
  if (process.env.GITPREFLIGHT_SKIP_DOWNLOAD === "1" || process.env.GITPREFLIGHT_SKIP_DOWNLOAD === "true") {
11
11
  if (interactive) {
12
- process.stderr.write("GitPreflight: run `gitpreflight install` to choose setup mode (global, local, or repo).\n");
12
+ process.stderr.write("GitPreflight: run `gitpreflight setup` to choose setup mode (global, local, or repo).\n");
13
13
  }
14
14
  return;
15
15
  }
@@ -20,7 +20,7 @@ async function main() {
20
20
  const version = require("../package.json").version;
21
21
  if (version === "0.0.0") {
22
22
  if (interactive) {
23
- process.stderr.write("GitPreflight: run `gitpreflight install` to choose setup mode (global, local, or repo).\n");
23
+ process.stderr.write("GitPreflight: run `gitpreflight setup` to choose setup mode (global, local, or repo).\n");
24
24
  }
25
25
  return;
26
26
  }
@@ -32,7 +32,7 @@ async function main() {
32
32
  await ensureGitPreflightBinary({ reason: "postinstall" });
33
33
 
34
34
  if (interactive) {
35
- process.stderr.write("GitPreflight installed. Next: run `gitpreflight install` to configure hooks.\n");
35
+ process.stderr.write("GitPreflight installed. Next: run `gitpreflight setup` to configure hooks.\n");
36
36
  }
37
37
  }
38
38
 
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "gitpreflight",
3
- "version": "0.1.4",
3
+ "version": "0.1.11",
4
4
  "description": "GitPreflight CLI installer/wrapper (downloads the platform binary)",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/un/gitPreflight"
8
+ },
5
9
  "bin": {
6
10
  "gitpreflight": "bin/gitpreflight.js"
7
11
  },
8
12
  "files": [
9
13
  "bin",
10
- "lib"
14
+ "lib",
15
+ "README.md"
11
16
  ],
12
17
  "scripts": {
13
18
  "postinstall": "node bin/postinstall.js"