Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

homey

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homey - npm Package Compare versions

Comparing version 2.7.3 to 2.8.0

@@ -2034,5 +2034,11 @@ 'use strict';

await writeFileAsync( path.join(appPath, '.homeycompose', 'app.json'), JSON.stringify(appJson, false, 2) );
const generatedAppManifestWarning = {
"_comment": "This file is generated. Please edit .homeycompose/app.json instead."
};
await writeFileAsync( path.join(appPath, 'app.json'), JSON.stringify(generatedAppManifestWarning, false, 2) );
} else {
await writeFileAsync( path.join(appPath, 'app.json'), JSON.stringify(appJson, false, 2) );
}
await writeFileAsync( path.join(appPath, 'app.json'), JSON.stringify(appJson, false, 2) );
await writeFileAsync( path.join(appPath, 'locales', 'en.json'), JSON.stringify({}, false, 2) );

@@ -2039,0 +2045,0 @@ await writeFileAsync( path.join(appPath, 'app.js'), '' );

@@ -66,3 +66,7 @@ 'use strict';

try {
this._appJson = await this._getJsonFile(this._appJsonPathCompose);
const appJSON = await this._getJsonFile(this._appJsonPathCompose);
this._appJson = {
"_comment": "This file is generated. Please edit .homeycompose/app.json instead.",
...appJSON,
};
} catch( err ) {

@@ -69,0 +73,0 @@ if( err.code !== 'ENOENT' ) throw new Error(err);

{
"name": "homey",
"version": "2.7.3",
"version": "2.8.0",
"description": "Command-line interface and type declarations for Homey Apps",

@@ -5,0 +5,0 @@ "main": "index.js",