@pippit-dev/cli 0.0.20 → 0.0.21

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/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 200e40ca3a4ef54a76860bcbe807233fc548d5686eea8b4bb5069f4d393e6fd2 pippit-tool-cli-0.0.20-darwin-amd64.tar.gz
2
- 2371e7b72c39b8b590604afe1abdba34e583b69ad787a78913b306de0145401b pippit-tool-cli-0.0.20-darwin-arm64.tar.gz
3
- 1df765184d0f7061c15e2829c7792f7982eeb711da534f3883488efc34b02b5d pippit-tool-cli-0.0.20-linux-amd64.tar.gz
4
- d5e0d1fcd774cc7d05ab3c749fff79e7f3507e8f92c0c5abaed4ef884ff46f20 pippit-tool-cli-0.0.20-linux-arm64.tar.gz
5
- 0ccfa68f9fd289b680756ba664a82d68af6636c1337368946c53fc58d74f1f2a pippit-tool-cli-0.0.20-windows-amd64.zip
6
- 2fac1102a7e0fbd75fae736636a3c2e9a2559b7a1a297530f18fa66adc5e11c7 pippit-tool-cli-0.0.20-windows-arm64.zip
1
+ ccd86bb8dcfc02ab6d199c951d93a946a9a594436d68f096b3d400e770117101 pippit-tool-cli-0.0.21-darwin-amd64.tar.gz
2
+ 7aebaaffe3ae5115e6896889316d79662591816deaac7db629029c44b692c18b pippit-tool-cli-0.0.21-darwin-arm64.tar.gz
3
+ 8b7b63d04e778eedb0acddf9ad922c6db45c4e2ae98f8432dc5912fde3b11ead pippit-tool-cli-0.0.21-linux-amd64.tar.gz
4
+ baf3b5fccbad34bdcfb374680536ec9da7a38b5dad988dcdf8ad82d9647c2c4d pippit-tool-cli-0.0.21-linux-arm64.tar.gz
5
+ dca29c43a2d968eaef1d69236920479893c0e7351b822577645b7e9ed747ce21 pippit-tool-cli-0.0.21-windows-amd64.zip
6
+ a309a1b47d1116be922d92826df75933f721cfab1f9fa99c95332611f8a9cbf9 pippit-tool-cli-0.0.21-windows-arm64.zip
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pippit-dev/cli",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Pippit CLI",
5
5
  "bin": {
6
6
  "pippit-tool-cli": "scripts/run.js"
7
7
  },
8
8
  "scripts": {
9
9
  "postinstall": "node scripts/install.js",
10
- "test": "go test ./... && go vet ./..."
10
+ "test": "node scripts/version-check.test.js && go test ./... && go vet ./..."
11
11
  },
12
12
  "os": [
13
13
  "darwin",
@@ -7,7 +7,7 @@ const { DEFAULT_PKG } = require("./skills");
7
7
  const CHECK_INTERVAL_MS = 24 * 60 * 60 * 1000;
8
8
 
9
9
  function defaultCacheFile() {
10
- return path.join(os.homedir(), ".pippit-cli", "version-check.json");
10
+ return path.join(os.homedir(), ".pippit_tool_cli", "version-check.json");
11
11
  }
12
12
 
13
13
  function currentVersion() {
@@ -91,6 +91,7 @@ function maybeWarnNewVersion(args = [], opts = {}) {
91
91
  module.exports = {
92
92
  CHECK_INTERVAL_MS,
93
93
  compareSemver,
94
+ defaultCacheFile,
94
95
  maybeWarnNewVersion,
95
96
  parseSemver,
96
97
  };