@capawesome/cli 1.4.0-dev.62a72e4.1741443606 → 1.4.0-dev.62a72e4.1741443824

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/dist/index.js CHANGED
@@ -51,7 +51,7 @@ const main = (0, citty_1.defineCommand)({
51
51
  // No op
52
52
  },
53
53
  cleanup() {
54
- void update_1.default.checkForUpdate();
54
+ return update_1.default.checkForUpdate();
55
55
  },
56
56
  subCommands: {
57
57
  whoami: Promise.resolve().then(() => __importStar(require('./commands/whoami'))).then((mod) => mod.default),
@@ -49,7 +49,7 @@ class UpdateServiceImpl {
49
49
  const response = yield this.httpClient.get(`https://registry.npmjs.org/${package_json_1.default.name}/latest`);
50
50
  const latestVersion = response.data.version;
51
51
  if (semver.gt(latestVersion, package_json_1.default.version)) {
52
- consola_1.default.warn(`New version of Capawesome CLI available: ${package_json_1.default.name}@${latestVersion}. Please update to receive the latest features and bug fixes.`);
52
+ consola_1.default.info(`New version of Capawesome CLI available: ${package_json_1.default.name}@${latestVersion}. Please update to receive the latest features and bug fixes.`);
53
53
  }
54
54
  }
55
55
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capawesome/cli",
3
- "version": "1.4.0-dev.62a72e4.1741443606",
3
+ "version": "1.4.0-dev.62a72e4.1741443824",
4
4
  "description": "The Capawesome Cloud Command Line Interface (CLI) to manage Live Updates and more.",
5
5
  "scripts": {
6
6
  "build": "patch-package && rimraf ./dist && tsc",