@capgo/cli 4.4.4 → 4.4.5
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/CHANGELOG.md +7 -0
- package/dist/index.js +3 -2
- package/package.json +1 -1
- package/src/api/update.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.4.5](https://github.com/Cap-go/CLI/compare/v4.4.4...v4.4.5) (2024-04-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* better message recomendation for CLI ([23aad3e](https://github.com/Cap-go/CLI/commit/23aad3e081ed733259efa0ac66668bfbf653b65c))
|
|
11
|
+
|
|
5
12
|
### [4.4.4](https://github.com/Cap-go/CLI/compare/v4.4.3...v4.4.4) (2024-04-23)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.js
CHANGED
|
@@ -91634,7 +91634,7 @@ var {
|
|
|
91634
91634
|
// package.json
|
|
91635
91635
|
var package_default = {
|
|
91636
91636
|
name: "@capgo/cli",
|
|
91637
|
-
version: "4.4.
|
|
91637
|
+
version: "4.4.5",
|
|
91638
91638
|
description: "A CLI to upload to capgo servers",
|
|
91639
91639
|
main: "dist/index.js",
|
|
91640
91640
|
bin: {
|
|
@@ -92256,10 +92256,11 @@ var import_checksum = __toESM(require_dist());
|
|
|
92256
92256
|
var import_get_latest_version = __toESM(require_src3());
|
|
92257
92257
|
async function checkLatest() {
|
|
92258
92258
|
const latest = await (0, import_get_latest_version.default)("@capgo/cli");
|
|
92259
|
+
const major = latest.split(".")[0];
|
|
92259
92260
|
if (latest !== package_default.version) {
|
|
92260
92261
|
f2.warning(
|
|
92261
92262
|
`\u{1F6A8} You are using @capgo/cli@${package_default.version} it's not the latest version.
|
|
92262
|
-
Please use @capgo/cli@${latest}" or @capgo/cli
|
|
92263
|
+
Please use @capgo/cli@${latest}" or @capgo/cli@${major} to keep up to date with the latest features and bug fixes.`
|
|
92263
92264
|
);
|
|
92264
92265
|
}
|
|
92265
92266
|
}
|
package/package.json
CHANGED
package/src/api/update.ts
CHANGED
|
@@ -4,9 +4,10 @@ import pack from '../../package.json'
|
|
|
4
4
|
|
|
5
5
|
export async function checkLatest() {
|
|
6
6
|
const latest = await getLatest('@capgo/cli')
|
|
7
|
+
const major = latest.split('.')[0]
|
|
7
8
|
if (latest !== pack.version) {
|
|
8
9
|
p.log.warning(`🚨 You are using @capgo/cli@${pack.version} it's not the latest version.
|
|
9
|
-
Please use @capgo/cli@${latest}" or @capgo/cli
|
|
10
|
+
Please use @capgo/cli@${latest}" or @capgo/cli@${major} to keep up to date with the latest features and bug fixes.`,
|
|
10
11
|
)
|
|
11
12
|
}
|
|
12
13
|
}
|