@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 +6 -6
- package/package.json +2 -2
- package/scripts/version-check.js +2 -1
package/checksums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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.
|
|
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",
|
package/scripts/version-check.js
CHANGED
|
@@ -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(), ".
|
|
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
|
};
|