homey 4.2.0 → 4.2.1

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.
@@ -1,5 +1,6 @@
1
1
  import Log from '../../../lib/Log.js';
2
2
  import AppFactory from '../../../lib/AppFactory.js';
3
+ import AppPython from '../../../lib/AppPython.js';
3
4
 
4
5
  export const desc = 'Validate a Homey App';
5
6
  export const builder = (yargs) => {
@@ -25,7 +26,7 @@ export const handler = async (yargs) => {
25
26
  try {
26
27
  const app = AppFactory.getAppInstance(yargs.path);
27
28
  await app.preprocess({
28
- copyAppProductionDependencies: false,
29
+ copyAppProductionDependencies: app instanceof AppPython,
29
30
  dockerSocketPath: yargs.dockerSocketPath,
30
31
  findLinks: yargs.findLinks,
31
32
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Command-line interface and type declarations for Homey Apps",
5
5
  "main": "bin/homey.js",
6
6
  "files": [