Closed jphenow closed 5 years ago
For more context, you can:
Do the same on this branch to see difference
And if it makes you feel better - due to the explanation above - this should only affect load-balancer
and rate-limiter
templates
Whoah good find. This is a good fix, we shouldn't need those file filters for examples since they won't be published independently.
You cool with me merging this?
Absolutely
Having inner
package.json
s withfiles
specified effectively means it ignores non-listed items. This means that these two examples were excluding their prebuilt code (because of how they're configured).This is probably not a real fix considering there are other default things ignored, but perhaps that doesn't matter. To restore the template functionality for now, I'd recommend commenting them out. For future I can think of a few options:
files
from theapps
dir that's a copy ofexamples
npm pack
doesDocs: https://docs.npmjs.com/files/package.json#files
Addressing #182