I'm trying to use composer to archive my project for distribution via zip and I want to be able to ignore miscellaneous files and folders in particular I have in a .gitignore file
/storage/
which ignores the folder and its contents. However I have the following in the composer.json
"archive": {
"exclude": ["!vendor","!storage","storage/**/*","*/**/*.json","*/**/*.lock","*/**/tests","*/**/docs","*.md","*/**/.git","gulpfile.js",".git*","!storage/*/","*/node_modules","**/*.xml","web.config","resources","!public/",".env"]
}
i want to be able to include the folder and subfolders but NOT the files. However, the pattern matching doesn't seem to be working. Is there any other way to accomplish what I am doing