athombv / homey-apps-sdk-issues

This issue tracker is for Homey Developers using the Apps SDK.
21 stars 4 forks source link

.homeyignore not ignoring anything #302

Open Coderaxx opened 1 year ago

Coderaxx commented 1 year ago

I've been trying to figure out how to get the .homeyignore file working properly. I've tried a ton of different ways to "find" the files and paths, without luck. Whenever i do publish from CLI, it still includes everything that's supposed to be ignored. Any idea what I'm doing wrong?

Here's what I have now:

/.homeycompose/capabilities/sensor_PostNord.json
./drivers/postnord/*
OlivierZal commented 1 month ago

Happens here: https://github.com/athombv/node-homey/blob/4810d75bb2c8204407ca9888bfd6ca0f4edd07f5/lib/App.js#L1529

By the way, @jeroenwienk, with the new ESM option, you probably also want to handle *.{ts,mts;cts} (and not only *.ts) here: https://github.com/athombv/node-homey/blob/4810d75bb2c8204407ca9888bfd6ca0f4edd07f5/lib/App.js#L1537

Raised: https://github.com/athombv/node-homey/pull/477