xdpm has a problem, using .gitignore blindly as one of its to-ignore files (using the ignore-walk package).
The problem is that you might well have things in .gitignore that you still need packaging in a plugin. In our case, we have a folder of images that we generate from another source, and don’t want them tracked in git.
So there should be an option to not include .gitignore in the
const files = ignoreWalk
.sync({
path: sourcePath,
ignoreFiles: ['.gitignore', '.xdignore', '.npmignore'],
includeEmpty: false,
})
.filter(filterAlwaysIgnoredFile)
lines in both install.js and package.js.
For now I’ve just commented them out in my local copy.
(BTW, I think there’s a bug in there, in that I see .DS_Store being copied even when it’s supposedly filtered out by the filterAlwaysIgnoredFile.)