Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,49 @@ zip_dependencies: version.json ## Zip relevant files
-x "composer.phar" \
-x "package.json" \
-x "package-lock.json" \
-x "**/*.map" \
-x "**/*.md" \
-x "**/README*" \
-x "**/CHANGELOG*" \
-x "**/LICENSE*" \
-x "**/COPYING*" \
-x "**/tests/**" \
-x "**/test/**" \
-x "**/__tests__/**" \
-x "**/spec/**" \
-x "**/*.test.js" \
-x "**/*.spec.js" \
-x "**/*.test.ts" \
-x "**/*.spec.ts" \
-x "**/.eslintrc*" \
-x "**/.prettierrc*" \
-x "**/.babelrc*" \
-x "**/tsconfig*.json" \
-x "**/.npmignore" \
-x "**/.gitattributes" \
-x "**/phpunit.xml*" \
-x "**/.phpunit.result.cache" \
-x "**/phpstan.neon*" \
-x "**/.php_cs*" \
-x "**/.php-cs-fixer*" \
-x "**/docs/**" \
-x "**/doc/**" \
-x "**/documentation/**" \
-x "**/examples/**" \
-x "**/.gitlab-ci.yml" \
-x "**/.travis.yml" \
-x "**/Makefile" \
Copy link

Copilot AI Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This exclusion pattern will remove the root Makefile itself from the package, which may be needed for production operations. Consider using a more specific pattern like -x '**/vendor/**/Makefile' or -x '**/node_modules/**/Makefile' to only exclude Makefiles within dependencies.

Suggested change
-x "**/Makefile" \
-x "**/vendor/**/Makefile" \

Copilot uses AI. Check for mistakes.
-x "**/Gruntfile.js" \
-x "**/webpack*.js" \
-x "**/rollup*.js" \
-x "**/vite*.js" \
-x "**/.stylelintrc*" \
-x "**/jest.config*" \
-x "**/.jshintrc*" \
-x "**/vendor/*/test/**" \
-x "**/vendor/*/tests/**" \
-x "**/vendor/*/Test/**" \
-x "**/vendor/*/Tests/**" \
$(foreach app,$(REMOVE_UNWANTED_APPS),-x "$(app)/*")
@echo "[i] Package $(TARGET_PACKAGE_NAME) created successfully"

Expand Down