homey 4.1.1 → 4.2.0

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.
Files changed (2) hide show
  1. package/lib/App.js +16 -0
  2. package/package.json +1 -1
package/lib/App.js CHANGED
@@ -1398,6 +1398,22 @@ $ sudo systemctl restart docker
1398
1398
  }
1399
1399
  }
1400
1400
 
1401
+ if (process.env.HOMEY_HEADLESS !== '1') {
1402
+ Log('');
1403
+ Log.info('Before publishing, please review the Homey App Store guidelines:');
1404
+ Log.info('https://apps.developer.homey.app/app-store/guidelines');
1405
+ Log('');
1406
+ const { hasReadGuidelines } = await inquirer.prompt([
1407
+ {
1408
+ type: 'confirm',
1409
+ name: 'hasReadGuidelines',
1410
+ message: 'I have read the Homey App Store guidelines',
1411
+ default: false,
1412
+ },
1413
+ ]);
1414
+ if (!hasReadGuidelines) return;
1415
+ }
1416
+
1401
1417
  let manifest = App.getManifest({ appPath: this.path });
1402
1418
 
1403
1419
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "Command-line interface and type declarations for Homey Apps",
5
5
  "main": "bin/homey.js",
6
6
  "files": [