From 270822f8d62b4232fe85a1b7ae2239dc039a723b Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Thu, 26 Feb 2026 16:44:48 -0600 Subject: [PATCH 1/5] Exclude .ts, .tsx, and .scss source files from vendor packages in production Broadens the production-exclude rules in .gitattributes to catch all TypeScript and SCSS source files under jetpack_vendor/ and vendor/. The previous SCSS rules only matched src/css/*.scss, missing files in other paths (15 SCSS files leaking). There were no TypeScript rules at all for vendor packages (225 .ts/.tsx files leaking). Fixes MONOREP-371 --- projects/plugins/jetpack/.gitattributes | 8 ++++++-- .../jetpack/changelog/exclude-dev-files-from-production | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/exclude-dev-files-from-production diff --git a/projects/plugins/jetpack/.gitattributes b/projects/plugins/jetpack/.gitattributes index fdfc79074cea..1b10af09bbd9 100644 --- a/projects/plugins/jetpack/.gitattributes +++ b/projects/plugins/jetpack/.gitattributes @@ -51,7 +51,9 @@ /extensions/**/*.svg production-exclude /extensions/**/test/** production-exclude /jetpack_vendor/automattic/**/README.md production-exclude -/jetpack_vendor/automattic/**/src/css/*.scss production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/composer.json production-exclude /modules/**/test/** production-exclude /modules/subscriptions/newsletter-widget/src/** production-exclude @@ -65,7 +67,9 @@ /to-test.md production-exclude /tools/** production-exclude /vendor/automattic/**/README.md production-exclude -/vendor/automattic/**/src/css/*.scss production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/composer.json production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/jetpack/changelog/exclude-dev-files-from-production b/projects/plugins/jetpack/changelog/exclude-dev-files-from-production new file mode 100644 index 000000000000..cf415afb1763 --- /dev/null +++ b/projects/plugins/jetpack/changelog/exclude-dev-files-from-production @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Exclude TypeScript and SCSS source files from vendor packages in production builds. From 13d0dfaa7775937b0afb59fea608e4f1ef641908 Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Thu, 26 Feb 2026 16:51:34 -0600 Subject: [PATCH 2/5] Exclude vendor .ts, .tsx, and .scss source files from all plugin production builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add production-exclude rules for TypeScript and SCSS source files under jetpack_vendor/automattic/ and vendor/automattic/ to every plugin's .gitattributes. These are build inputs with compiled output already shipping — they're not needed at runtime. For wpcomsh, also broadens the existing narrow SCSS rules from **/src/css/*.scss to **/*.scss to catch files in other paths. Also updates the plugin skeleton template so new plugins get these rules from the start. --- .../plugins/automattic-for-agencies-client/.gitattributes | 6 ++++++ .../changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/backup/.gitattributes | 6 ++++++ .../plugins/backup/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/beta/.gitattributes | 6 ++++++ projects/plugins/beta/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/boost/.gitattributes | 6 ++++++ projects/plugins/boost/changelog/exclude-dev-vendor-files | 4 ++++ .../plugins/classic-theme-helper-plugin/.gitattributes | 6 ++++++ .../changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/crm/.gitattributes | 6 ++++++ projects/plugins/crm/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/inspect/.gitattributes | 6 ++++++ .../plugins/inspect/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/mu-wpcom-plugin/.gitattributes | 6 ++++++ .../mu-wpcom-plugin/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/paypal-payment-buttons/.gitattributes | 6 ++++++ .../changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/protect/.gitattributes | 6 ++++++ .../plugins/protect/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/search/.gitattributes | 6 ++++++ .../plugins/search/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/social/.gitattributes | 6 ++++++ .../plugins/social/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/starter-plugin/.gitattributes | 6 ++++++ .../starter-plugin/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/super-cache/.gitattributes | 6 ++++++ .../super-cache/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/vaultpress/.gitattributes | 6 ++++++ .../plugins/vaultpress/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/videopress/.gitattributes | 6 ++++++ .../plugins/videopress/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/wpcloud-sso/.gitattributes | 6 ++++++ .../wpcloud-sso/changelog/exclude-dev-vendor-files | 4 ++++ projects/plugins/wpcomsh/.gitattributes | 8 ++++++-- .../plugins/wpcomsh/changelog/exclude-dev-vendor-files | 4 ++++ tools/cli/skeletons/plugins/.gitattributes | 6 ++++++ 37 files changed, 186 insertions(+), 2 deletions(-) create mode 100644 projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/backup/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/beta/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/boost/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/crm/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/inspect/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/protect/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/search/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/social/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/super-cache/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/vaultpress/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/videopress/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files create mode 100644 projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files diff --git a/projects/plugins/automattic-for-agencies-client/.gitattributes b/projects/plugins/automattic-for-agencies-client/.gitattributes index 8219a0e5abbd..a95aa4355f92 100644 --- a/projects/plugins/automattic-for-agencies-client/.gitattributes +++ b/projects/plugins/automattic-for-agencies-client/.gitattributes @@ -31,6 +31,12 @@ README.md production-exclude src/js/** production-exclude src/scss/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files b/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/backup/.gitattributes b/projects/plugins/backup/.gitattributes index e67024fb62ec..1bdebb932a47 100644 --- a/projects/plugins/backup/.gitattributes +++ b/projects/plugins/backup/.gitattributes @@ -21,6 +21,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/backup/changelog/exclude-dev-vendor-files b/projects/plugins/backup/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/backup/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/beta/.gitattributes b/projects/plugins/beta/.gitattributes index 15ac2d572b79..11fd56b2f055 100644 --- a/projects/plugins/beta/.gitattributes +++ b/projects/plugins/beta/.gitattributes @@ -11,6 +11,12 @@ vendor/jetpack-autoloader/** production-include # Files not needed in the production build. /changelog/** production-exclude /composer.lock production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude .phpcs.dir.xml production-exclude diff --git a/projects/plugins/beta/changelog/exclude-dev-vendor-files b/projects/plugins/beta/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/beta/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/boost/.gitattributes b/projects/plugins/boost/.gitattributes index 7a30e10317cf..1db27f229a0d 100644 --- a/projects/plugins/boost/.gitattributes +++ b/projects/plugins/boost/.gitattributes @@ -24,6 +24,12 @@ vendor/wikimedia/aho-corasick/** production-include /docs/** production-exclude /node_modules/** production-exclude /tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/boost/changelog/exclude-dev-vendor-files b/projects/plugins/boost/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/boost/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/classic-theme-helper-plugin/.gitattributes b/projects/plugins/classic-theme-helper-plugin/.gitattributes index 423ed52e4282..b8177035316d 100644 --- a/projects/plugins/classic-theme-helper-plugin/.gitattributes +++ b/projects/plugins/classic-theme-helper-plugin/.gitattributes @@ -30,6 +30,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files b/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/crm/.gitattributes b/projects/plugins/crm/.gitattributes index 78c34258275b..b36ff87414fc 100644 --- a/projects/plugins/crm/.gitattributes +++ b/projects/plugins/crm/.gitattributes @@ -35,6 +35,12 @@ /tsconfig.json production-exclude /sass/** production-exclude /tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/crm/changelog/exclude-dev-vendor-files b/projects/plugins/crm/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/crm/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/inspect/.gitattributes b/projects/plugins/inspect/.gitattributes index 50a28579e373..323fbf503a7e 100644 --- a/projects/plugins/inspect/.gitattributes +++ b/projects/plugins/inspect/.gitattributes @@ -32,5 +32,11 @@ vendor/jetpack-autoloader/** production-include /testbed/** production-exclude /tests/** production-exclude /tsconfig.json production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/inspect/changelog/exclude-dev-vendor-files b/projects/plugins/inspect/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/inspect/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/mu-wpcom-plugin/.gitattributes b/projects/plugins/mu-wpcom-plugin/.gitattributes index 6e19dcb22c66..dde5f904e848 100644 --- a/projects/plugins/mu-wpcom-plugin/.gitattributes +++ b/projects/plugins/mu-wpcom-plugin/.gitattributes @@ -25,3 +25,9 @@ vendor/symfony/polyfill-mbstring/** production-include .gitignore production-exclude changelog/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude diff --git a/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files b/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/paypal-payment-buttons/.gitattributes b/projects/plugins/paypal-payment-buttons/.gitattributes index a1a4d76e18c9..640aedd11a2b 100644 --- a/projects/plugins/paypal-payment-buttons/.gitattributes +++ b/projects/plugins/paypal-payment-buttons/.gitattributes @@ -43,6 +43,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude webpack.config.js production-exclude \ No newline at end of file diff --git a/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files b/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/protect/.gitattributes b/projects/plugins/protect/.gitattributes index 86c154c9b7c8..25128ca0b043 100644 --- a/projects/plugins/protect/.gitattributes +++ b/projects/plugins/protect/.gitattributes @@ -29,6 +29,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/protect/changelog/exclude-dev-vendor-files b/projects/plugins/protect/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/protect/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/search/.gitattributes b/projects/plugins/search/.gitattributes index 5e739b471735..d9741affba0d 100644 --- a/projects/plugins/search/.gitattributes +++ b/projects/plugins/search/.gitattributes @@ -20,6 +20,12 @@ composer.lock production-exclude package.json production-exclude README.md production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/search/changelog/exclude-dev-vendor-files b/projects/plugins/search/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/search/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/social/.gitattributes b/projects/plugins/social/.gitattributes index 86c154c9b7c8..25128ca0b043 100644 --- a/projects/plugins/social/.gitattributes +++ b/projects/plugins/social/.gitattributes @@ -29,6 +29,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/social/changelog/exclude-dev-vendor-files b/projects/plugins/social/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/social/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/starter-plugin/.gitattributes b/projects/plugins/starter-plugin/.gitattributes index 2d66b1c3bf3c..b89bed834e29 100644 --- a/projects/plugins/starter-plugin/.gitattributes +++ b/projects/plugins/starter-plugin/.gitattributes @@ -31,6 +31,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files b/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/super-cache/.gitattributes b/projects/plugins/super-cache/.gitattributes index 44ee55ac7bde..83c553e821ff 100644 --- a/projects/plugins/super-cache/.gitattributes +++ b/projects/plugins/super-cache/.gitattributes @@ -18,3 +18,9 @@ package.json export-ignore .phpcs.dir.xml production-exclude changelog/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude diff --git a/projects/plugins/super-cache/changelog/exclude-dev-vendor-files b/projects/plugins/super-cache/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/super-cache/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/vaultpress/.gitattributes b/projects/plugins/vaultpress/.gitattributes index 3fee5f394e0b..94d15b3c3810 100644 --- a/projects/plugins/vaultpress/.gitattributes +++ b/projects/plugins/vaultpress/.gitattributes @@ -19,5 +19,11 @@ composer.lock production-exclude package.json production-exclude .phpcs.dir.xml production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files b/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/videopress/.gitattributes b/projects/plugins/videopress/.gitattributes index 86c154c9b7c8..25128ca0b043 100644 --- a/projects/plugins/videopress/.gitattributes +++ b/projects/plugins/videopress/.gitattributes @@ -29,6 +29,12 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/videopress/changelog/exclude-dev-vendor-files b/projects/plugins/videopress/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/videopress/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/wpcloud-sso/.gitattributes b/projects/plugins/wpcloud-sso/.gitattributes index 8708ada48459..bef024498279 100644 --- a/projects/plugins/wpcloud-sso/.gitattributes +++ b/projects/plugins/wpcloud-sso/.gitattributes @@ -19,6 +19,12 @@ changelog/** production-exclude composer.lock production-exclude .phpcs.dir.xml production-exclude README.md production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files b/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/projects/plugins/wpcomsh/.gitattributes b/projects/plugins/wpcomsh/.gitattributes index 403880a7dceb..e46ba7f3c460 100644 --- a/projects/plugins/wpcomsh/.gitattributes +++ b/projects/plugins/wpcomsh/.gitattributes @@ -37,12 +37,16 @@ composer.lock production-exclude /.phpcs.dir.phpcompatibility.xml production-exclude /changelog/** production-exclude /jetpack_vendor/automattic/**/README.md production-exclude -/jetpack_vendor/automattic/**/src/css/*.scss production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/composer.json production-exclude /node_modules/** production-exclude /README.md production-exclude **/*/*.md production-exclude -/vendor/automattic/**/src/css/*.scss production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/composer.json production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files b/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..eaa00f8f8fcb --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Exclude vendor .ts, .tsx, and .scss source files from production builds. diff --git a/tools/cli/skeletons/plugins/.gitattributes b/tools/cli/skeletons/plugins/.gitattributes index acce6e05d995..aeb22415c496 100644 --- a/tools/cli/skeletons/plugins/.gitattributes +++ b/tools/cli/skeletons/plugins/.gitattributes @@ -12,3 +12,9 @@ package.json export-ignore .gitignore production-exclude changelog/** production-exclude tests/** production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude From abe92daada3d53465485ad1f5987ba678735f22e Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Fri, 27 Feb 2026 08:21:45 -0600 Subject: [PATCH 3/5] Also exclude .jsx source files from vendor packages in production builds Adds production-exclude rules for .jsx files alongside the existing .ts, .tsx, and .scss rules. 25 JSX source files were leaking into jetpack-production (mostly forms block icons and connection components). --- projects/plugins/automattic-for-agencies-client/.gitattributes | 2 ++ .../changelog/exclude-dev-vendor-files | 2 +- projects/plugins/backup/.gitattributes | 2 ++ projects/plugins/backup/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/beta/.gitattributes | 2 ++ projects/plugins/beta/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/boost/.gitattributes | 2 ++ projects/plugins/boost/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/classic-theme-helper-plugin/.gitattributes | 2 ++ .../changelog/exclude-dev-vendor-files | 2 +- projects/plugins/crm/.gitattributes | 2 ++ projects/plugins/crm/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/inspect/.gitattributes | 2 ++ projects/plugins/inspect/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/jetpack/.gitattributes | 2 ++ .../plugins/jetpack/changelog/exclude-dev-files-from-production | 2 +- projects/plugins/mu-wpcom-plugin/.gitattributes | 2 ++ .../plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/paypal-payment-buttons/.gitattributes | 2 ++ .../paypal-payment-buttons/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/protect/.gitattributes | 2 ++ projects/plugins/protect/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/search/.gitattributes | 2 ++ projects/plugins/search/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/social/.gitattributes | 2 ++ projects/plugins/social/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/starter-plugin/.gitattributes | 2 ++ .../plugins/starter-plugin/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/super-cache/.gitattributes | 2 ++ projects/plugins/super-cache/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/vaultpress/.gitattributes | 2 ++ projects/plugins/vaultpress/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/videopress/.gitattributes | 2 ++ projects/plugins/videopress/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/wpcloud-sso/.gitattributes | 2 ++ projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files | 2 +- projects/plugins/wpcomsh/.gitattributes | 2 ++ projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files | 2 +- tools/cli/skeletons/plugins/.gitattributes | 2 ++ 39 files changed, 59 insertions(+), 19 deletions(-) diff --git a/projects/plugins/automattic-for-agencies-client/.gitattributes b/projects/plugins/automattic-for-agencies-client/.gitattributes index a95aa4355f92..3f351f574b51 100644 --- a/projects/plugins/automattic-for-agencies-client/.gitattributes +++ b/projects/plugins/automattic-for-agencies-client/.gitattributes @@ -34,9 +34,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files b/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files +++ b/projects/plugins/automattic-for-agencies-client/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/backup/.gitattributes b/projects/plugins/backup/.gitattributes index 1bdebb932a47..ea44eeaaffa6 100644 --- a/projects/plugins/backup/.gitattributes +++ b/projects/plugins/backup/.gitattributes @@ -24,9 +24,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/backup/changelog/exclude-dev-vendor-files b/projects/plugins/backup/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/backup/changelog/exclude-dev-vendor-files +++ b/projects/plugins/backup/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/beta/.gitattributes b/projects/plugins/beta/.gitattributes index 11fd56b2f055..614c29542b0d 100644 --- a/projects/plugins/beta/.gitattributes +++ b/projects/plugins/beta/.gitattributes @@ -14,9 +14,11 @@ vendor/jetpack-autoloader/** production-include /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude .phpcs.dir.xml production-exclude diff --git a/projects/plugins/beta/changelog/exclude-dev-vendor-files b/projects/plugins/beta/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/beta/changelog/exclude-dev-vendor-files +++ b/projects/plugins/beta/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/boost/.gitattributes b/projects/plugins/boost/.gitattributes index 1db27f229a0d..c137e4937cf4 100644 --- a/projects/plugins/boost/.gitattributes +++ b/projects/plugins/boost/.gitattributes @@ -27,9 +27,11 @@ vendor/wikimedia/aho-corasick/** production-include /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/boost/changelog/exclude-dev-vendor-files b/projects/plugins/boost/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/boost/changelog/exclude-dev-vendor-files +++ b/projects/plugins/boost/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/classic-theme-helper-plugin/.gitattributes b/projects/plugins/classic-theme-helper-plugin/.gitattributes index b8177035316d..801dc1ec7779 100644 --- a/projects/plugins/classic-theme-helper-plugin/.gitattributes +++ b/projects/plugins/classic-theme-helper-plugin/.gitattributes @@ -33,9 +33,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files b/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files +++ b/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/crm/.gitattributes b/projects/plugins/crm/.gitattributes index b36ff87414fc..4d70b300db32 100644 --- a/projects/plugins/crm/.gitattributes +++ b/projects/plugins/crm/.gitattributes @@ -38,9 +38,11 @@ /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/crm/changelog/exclude-dev-vendor-files b/projects/plugins/crm/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/crm/changelog/exclude-dev-vendor-files +++ b/projects/plugins/crm/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/inspect/.gitattributes b/projects/plugins/inspect/.gitattributes index 323fbf503a7e..39eeb01a191f 100644 --- a/projects/plugins/inspect/.gitattributes +++ b/projects/plugins/inspect/.gitattributes @@ -35,8 +35,10 @@ vendor/jetpack-autoloader/** production-include /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/inspect/changelog/exclude-dev-vendor-files b/projects/plugins/inspect/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/inspect/changelog/exclude-dev-vendor-files +++ b/projects/plugins/inspect/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/jetpack/.gitattributes b/projects/plugins/jetpack/.gitattributes index 1b10af09bbd9..8aa0f4b6778e 100644 --- a/projects/plugins/jetpack/.gitattributes +++ b/projects/plugins/jetpack/.gitattributes @@ -54,6 +54,7 @@ /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /jetpack_vendor/automattic/**/composer.json production-exclude /modules/**/test/** production-exclude /modules/subscriptions/newsletter-widget/src/** production-exclude @@ -70,6 +71,7 @@ /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/composer.json production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/jetpack/changelog/exclude-dev-files-from-production b/projects/plugins/jetpack/changelog/exclude-dev-files-from-production index cf415afb1763..1303057b7104 100644 --- a/projects/plugins/jetpack/changelog/exclude-dev-files-from-production +++ b/projects/plugins/jetpack/changelog/exclude-dev-files-from-production @@ -1,4 +1,4 @@ Significance: patch Type: other -Exclude TypeScript and SCSS source files from vendor packages in production builds. +Exclude TypeScript, JSX, and SCSS source files from vendor packages in production builds. diff --git a/projects/plugins/mu-wpcom-plugin/.gitattributes b/projects/plugins/mu-wpcom-plugin/.gitattributes index dde5f904e848..b98bebbc07ce 100644 --- a/projects/plugins/mu-wpcom-plugin/.gitattributes +++ b/projects/plugins/mu-wpcom-plugin/.gitattributes @@ -28,6 +28,8 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude diff --git a/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files b/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files +++ b/projects/plugins/mu-wpcom-plugin/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/paypal-payment-buttons/.gitattributes b/projects/plugins/paypal-payment-buttons/.gitattributes index 640aedd11a2b..1b749ac92059 100644 --- a/projects/plugins/paypal-payment-buttons/.gitattributes +++ b/projects/plugins/paypal-payment-buttons/.gitattributes @@ -46,9 +46,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude webpack.config.js production-exclude \ No newline at end of file diff --git a/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files b/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files +++ b/projects/plugins/paypal-payment-buttons/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/protect/.gitattributes b/projects/plugins/protect/.gitattributes index 25128ca0b043..802374fe5b82 100644 --- a/projects/plugins/protect/.gitattributes +++ b/projects/plugins/protect/.gitattributes @@ -32,9 +32,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/protect/changelog/exclude-dev-vendor-files b/projects/plugins/protect/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/protect/changelog/exclude-dev-vendor-files +++ b/projects/plugins/protect/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/search/.gitattributes b/projects/plugins/search/.gitattributes index d9741affba0d..4378aa8b4cda 100644 --- a/projects/plugins/search/.gitattributes +++ b/projects/plugins/search/.gitattributes @@ -23,9 +23,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/search/changelog/exclude-dev-vendor-files b/projects/plugins/search/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/search/changelog/exclude-dev-vendor-files +++ b/projects/plugins/search/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/social/.gitattributes b/projects/plugins/social/.gitattributes index 25128ca0b043..802374fe5b82 100644 --- a/projects/plugins/social/.gitattributes +++ b/projects/plugins/social/.gitattributes @@ -32,9 +32,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/social/changelog/exclude-dev-vendor-files b/projects/plugins/social/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/social/changelog/exclude-dev-vendor-files +++ b/projects/plugins/social/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/starter-plugin/.gitattributes b/projects/plugins/starter-plugin/.gitattributes index b89bed834e29..3fb72d78c851 100644 --- a/projects/plugins/starter-plugin/.gitattributes +++ b/projects/plugins/starter-plugin/.gitattributes @@ -34,9 +34,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files b/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files +++ b/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/super-cache/.gitattributes b/projects/plugins/super-cache/.gitattributes index 83c553e821ff..cacc632dcd25 100644 --- a/projects/plugins/super-cache/.gitattributes +++ b/projects/plugins/super-cache/.gitattributes @@ -21,6 +21,8 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude diff --git a/projects/plugins/super-cache/changelog/exclude-dev-vendor-files b/projects/plugins/super-cache/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/super-cache/changelog/exclude-dev-vendor-files +++ b/projects/plugins/super-cache/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/vaultpress/.gitattributes b/projects/plugins/vaultpress/.gitattributes index 94d15b3c3810..53406af42b5c 100644 --- a/projects/plugins/vaultpress/.gitattributes +++ b/projects/plugins/vaultpress/.gitattributes @@ -22,8 +22,10 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files b/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files +++ b/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/videopress/.gitattributes b/projects/plugins/videopress/.gitattributes index 25128ca0b043..802374fe5b82 100644 --- a/projects/plugins/videopress/.gitattributes +++ b/projects/plugins/videopress/.gitattributes @@ -32,9 +32,11 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/videopress/changelog/exclude-dev-vendor-files b/projects/plugins/videopress/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/videopress/changelog/exclude-dev-vendor-files +++ b/projects/plugins/videopress/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/wpcloud-sso/.gitattributes b/projects/plugins/wpcloud-sso/.gitattributes index bef024498279..1ab507d2832c 100644 --- a/projects/plugins/wpcloud-sso/.gitattributes +++ b/projects/plugins/wpcloud-sso/.gitattributes @@ -22,9 +22,11 @@ README.md production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files b/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files +++ b/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/wpcomsh/.gitattributes b/projects/plugins/wpcomsh/.gitattributes index e46ba7f3c460..11f2c0d5fe39 100644 --- a/projects/plugins/wpcomsh/.gitattributes +++ b/projects/plugins/wpcomsh/.gitattributes @@ -40,6 +40,7 @@ composer.lock production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /jetpack_vendor/automattic/**/composer.json production-exclude /node_modules/** production-exclude /README.md production-exclude @@ -47,6 +48,7 @@ composer.lock production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/composer.json production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files b/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files index eaa00f8f8fcb..8bbd39db627a 100644 --- a/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files +++ b/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files @@ -1,4 +1,4 @@ Significance: patch Type: changed -Exclude vendor .ts, .tsx, and .scss source files from production builds. +Exclude vendor .ts, .tsx, .jsx, and .scss source files from production builds. diff --git a/tools/cli/skeletons/plugins/.gitattributes b/tools/cli/skeletons/plugins/.gitattributes index aeb22415c496..b5b90f188cb7 100644 --- a/tools/cli/skeletons/plugins/.gitattributes +++ b/tools/cli/skeletons/plugins/.gitattributes @@ -15,6 +15,8 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/*.jsx production-exclude From 26c3319e6be9238a46e5f852df3c10823ae35f5c Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Fri, 27 Feb 2026 11:32:55 -0600 Subject: [PATCH 4/5] Exclude additional dev files from production builds: source maps, changelogs, licenses, configs Extends the production-exclude rules to cover more development-only files that ship in vendor packages but provide zero runtime value: - Source maps (*.map) -- 2.1M in jetpack-forms alone - CHANGELOG.md files (53 files, 1.9M total) - LICENSE.txt, SECURITY.md, TRACKING.md (1.3M) - docs/ directories, dev configs (.babelrc, babel.config.*, webpack/jest configs) - .gitignore, package.json, test/ directories in vendor packages - Jetpack-specific: root CHANGELOG.md, SECURITY.md, vendor/composer metadata Total estimated savings: ~5.8M across all plugins. --- .../.gitattributes | 26 +++++++++++++ projects/plugins/backup/.gitattributes | 26 +++++++++++++ projects/plugins/beta/.gitattributes | 26 +++++++++++++ projects/plugins/boost/.gitattributes | 26 +++++++++++++ .../.gitattributes | 26 +++++++++++++ projects/plugins/crm/.gitattributes | 26 +++++++++++++ projects/plugins/inspect/.gitattributes | 26 +++++++++++++ projects/plugins/jetpack/.gitattributes | 39 +++++++++++++++++-- .../plugins/mu-wpcom-plugin/.gitattributes | 32 +++++++++++++-- .../paypal-payment-buttons/.gitattributes | 30 +++++++++++++- projects/plugins/protect/.gitattributes | 26 +++++++++++++ projects/plugins/search/.gitattributes | 26 +++++++++++++ projects/plugins/social/.gitattributes | 26 +++++++++++++ .../plugins/starter-plugin/.gitattributes | 26 +++++++++++++ projects/plugins/super-cache/.gitattributes | 26 +++++++++++++ projects/plugins/vaultpress/.gitattributes | 26 +++++++++++++ projects/plugins/videopress/.gitattributes | 26 +++++++++++++ projects/plugins/wpcloud-sso/.gitattributes | 26 +++++++++++++ projects/plugins/wpcomsh/.gitattributes | 26 +++++++++++++ tools/cli/skeletons/plugins/.gitattributes | 26 +++++++++++++ 20 files changed, 534 insertions(+), 9 deletions(-) diff --git a/projects/plugins/automattic-for-agencies-client/.gitattributes b/projects/plugins/automattic-for-agencies-client/.gitattributes index 3f351f574b51..01c4fbbd95c9 100644 --- a/projects/plugins/automattic-for-agencies-client/.gitattributes +++ b/projects/plugins/automattic-for-agencies-client/.gitattributes @@ -35,10 +35,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/backup/.gitattributes b/projects/plugins/backup/.gitattributes index ea44eeaaffa6..e9df47af3ac5 100644 --- a/projects/plugins/backup/.gitattributes +++ b/projects/plugins/backup/.gitattributes @@ -25,10 +25,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/beta/.gitattributes b/projects/plugins/beta/.gitattributes index 614c29542b0d..14033280669c 100644 --- a/projects/plugins/beta/.gitattributes +++ b/projects/plugins/beta/.gitattributes @@ -15,10 +15,36 @@ vendor/jetpack-autoloader/** production-include /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude .phpcs.dir.xml production-exclude diff --git a/projects/plugins/boost/.gitattributes b/projects/plugins/boost/.gitattributes index c137e4937cf4..bae83809a586 100644 --- a/projects/plugins/boost/.gitattributes +++ b/projects/plugins/boost/.gitattributes @@ -28,10 +28,36 @@ vendor/wikimedia/aho-corasick/** production-include /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/classic-theme-helper-plugin/.gitattributes b/projects/plugins/classic-theme-helper-plugin/.gitattributes index 801dc1ec7779..c1a881effd2d 100644 --- a/projects/plugins/classic-theme-helper-plugin/.gitattributes +++ b/projects/plugins/classic-theme-helper-plugin/.gitattributes @@ -34,10 +34,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/crm/.gitattributes b/projects/plugins/crm/.gitattributes index 4d70b300db32..5f32c1a3395d 100644 --- a/projects/plugins/crm/.gitattributes +++ b/projects/plugins/crm/.gitattributes @@ -39,10 +39,36 @@ /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/inspect/.gitattributes b/projects/plugins/inspect/.gitattributes index 39eeb01a191f..4076cf67ecbf 100644 --- a/projects/plugins/inspect/.gitattributes +++ b/projects/plugins/inspect/.gitattributes @@ -36,9 +36,35 @@ vendor/jetpack-autoloader/** production-include /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/jetpack/.gitattributes b/projects/plugins/jetpack/.gitattributes index 8aa0f4b6778e..5ed13c1d95e8 100644 --- a/projects/plugins/jetpack/.gitattributes +++ b/projects/plugins/jetpack/.gitattributes @@ -28,7 +28,9 @@ /.phpcs.dir.xml production-exclude /.sass-cache/** production-exclude /.wp-env.json production-exclude +/CHANGELOG.md production-exclude /LICENSE.txt production-exclude +/SECURITY.md production-exclude /_inc/build/*.css.map production-exclude /_inc/build/*.js.map production-exclude /_inc/build/maps/** production-exclude @@ -50,12 +52,25 @@ /extensions/**/*.scss production-exclude /extensions/**/*.svg production-exclude /extensions/**/test/** production-exclude -/jetpack_vendor/automattic/**/README.md production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude -/jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/README.md production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude /jetpack_vendor/automattic/**/composer.json production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude /modules/**/test/** production-exclude /modules/subscriptions/newsletter-widget/src/** production-exclude /modules/widgets/follow-button.php production-exclude @@ -67,13 +82,29 @@ /tests/** production-exclude /to-test.md production-exclude /tools/** production-exclude -/vendor/automattic/**/README.md production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude -/vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/README.md production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/babel.config.* production-exclude /vendor/automattic/**/composer.json production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude +/vendor/automattic/**/webpack.config.js production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude +/vendor/composer/installed.json production-exclude +/vendor/composer/LICENSE production-exclude +/vendor/wikimedia/**/LICENSE production-exclude /wp-cli-templates/** production-exclude diff --git a/projects/plugins/mu-wpcom-plugin/.gitattributes b/projects/plugins/mu-wpcom-plugin/.gitattributes index b98bebbc07ce..50e1e5857d90 100644 --- a/projects/plugins/mu-wpcom-plugin/.gitattributes +++ b/projects/plugins/mu-wpcom-plugin/.gitattributes @@ -7,8 +7,8 @@ package.json export-ignore # Remember to end all directories with `/**` to properly tag every file. # /src/js/example.min.js production-include vendor/autoload.php production-include -vendor/composer/** production-include -vendor/automattic/** production-include +vendor/composer/** production-include +vendor/automattic/** production-include vendor/league/uri/** production-include vendor/league/uri-interfaces/** production-include vendor/psr/http-factory/** production-include @@ -18,7 +18,7 @@ vendor/scssphp/source-span/** production-include vendor/symfony/filesystem/** production-include vendor/symfony/polyfill-ctype/** production-include vendor/symfony/polyfill-mbstring/** production-include -/jetpack_vendor/** production-include +/jetpack_vendor/** production-include # Files to exclude from the mirror repo, but included in the monorepo. # Remember to end all directories with `/**` to properly tag every file. @@ -29,7 +29,33 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude diff --git a/projects/plugins/paypal-payment-buttons/.gitattributes b/projects/plugins/paypal-payment-buttons/.gitattributes index 1b749ac92059..51cae6b32792 100644 --- a/projects/plugins/paypal-payment-buttons/.gitattributes +++ b/projects/plugins/paypal-payment-buttons/.gitattributes @@ -47,10 +47,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/jetpack-changelogger/** production-exclude -/vendor/automattic/jetpack-composer-plugin/** production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude +/vendor/automattic/jetpack-changelogger/** production-exclude +/vendor/automattic/jetpack-composer-plugin/** production-exclude webpack.config.js production-exclude \ No newline at end of file diff --git a/projects/plugins/protect/.gitattributes b/projects/plugins/protect/.gitattributes index 802374fe5b82..cc0a7260fd31 100644 --- a/projects/plugins/protect/.gitattributes +++ b/projects/plugins/protect/.gitattributes @@ -33,10 +33,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/search/.gitattributes b/projects/plugins/search/.gitattributes index 4378aa8b4cda..1cf1cf7444d3 100644 --- a/projects/plugins/search/.gitattributes +++ b/projects/plugins/search/.gitattributes @@ -24,10 +24,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/social/.gitattributes b/projects/plugins/social/.gitattributes index 802374fe5b82..cc0a7260fd31 100644 --- a/projects/plugins/social/.gitattributes +++ b/projects/plugins/social/.gitattributes @@ -33,10 +33,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/starter-plugin/.gitattributes b/projects/plugins/starter-plugin/.gitattributes index 3fb72d78c851..8048ae94e861 100644 --- a/projects/plugins/starter-plugin/.gitattributes +++ b/projects/plugins/starter-plugin/.gitattributes @@ -35,10 +35,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/super-cache/.gitattributes b/projects/plugins/super-cache/.gitattributes index cacc632dcd25..340842063147 100644 --- a/projects/plugins/super-cache/.gitattributes +++ b/projects/plugins/super-cache/.gitattributes @@ -22,7 +22,33 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude diff --git a/projects/plugins/vaultpress/.gitattributes b/projects/plugins/vaultpress/.gitattributes index 53406af42b5c..e089473a0fb5 100644 --- a/projects/plugins/vaultpress/.gitattributes +++ b/projects/plugins/vaultpress/.gitattributes @@ -23,9 +23,35 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/projects/plugins/videopress/.gitattributes b/projects/plugins/videopress/.gitattributes index 802374fe5b82..cc0a7260fd31 100644 --- a/projects/plugins/videopress/.gitattributes +++ b/projects/plugins/videopress/.gitattributes @@ -33,10 +33,36 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/wpcloud-sso/.gitattributes b/projects/plugins/wpcloud-sso/.gitattributes index 1ab507d2832c..58de2246c28f 100644 --- a/projects/plugins/wpcloud-sso/.gitattributes +++ b/projects/plugins/wpcloud-sso/.gitattributes @@ -23,10 +23,36 @@ README.md production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude diff --git a/projects/plugins/wpcomsh/.gitattributes b/projects/plugins/wpcomsh/.gitattributes index 11f2c0d5fe39..c6c7d3378b4e 100644 --- a/projects/plugins/wpcomsh/.gitattributes +++ b/projects/plugins/wpcomsh/.gitattributes @@ -41,6 +41,19 @@ composer.lock production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /jetpack_vendor/automattic/**/composer.json production-exclude /node_modules/** production-exclude /README.md production-exclude @@ -49,6 +62,19 @@ composer.lock production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude /vendor/automattic/**/composer.json production-exclude /vendor/automattic/jetpack-autoloader/** production-exclude /vendor/automattic/jetpack-changelogger/** production-exclude diff --git a/tools/cli/skeletons/plugins/.gitattributes b/tools/cli/skeletons/plugins/.gitattributes index b5b90f188cb7..b600bd863d24 100644 --- a/tools/cli/skeletons/plugins/.gitattributes +++ b/tools/cli/skeletons/plugins/.gitattributes @@ -16,7 +16,33 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.map production-exclude +/jetpack_vendor/automattic/**/CHANGELOG.md production-exclude +/jetpack_vendor/automattic/**/LICENSE.txt production-exclude +/jetpack_vendor/automattic/**/SECURITY.md production-exclude +/jetpack_vendor/automattic/**/TRACKING.md production-exclude +/jetpack_vendor/automattic/**/docs/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/babel.config.* production-exclude +/jetpack_vendor/automattic/**/webpack.config.js production-exclude +/jetpack_vendor/automattic/**/jest.config.js production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/package.json production-exclude +/jetpack_vendor/automattic/**/test/** production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.map production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude +/vendor/automattic/**/SECURITY.md production-exclude +/vendor/automattic/**/TRACKING.md production-exclude +/vendor/automattic/**/docs/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/babel.config.* production-exclude +/vendor/automattic/**/webpack.config.js production-exclude +/vendor/automattic/**/jest.config.js production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/package.json production-exclude +/vendor/automattic/**/test/** production-exclude From 4fea5140964ee7a1fc75202e85621f73ab166de8 Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Fri, 27 Feb 2026 12:31:04 -0600 Subject: [PATCH 5/5] Restore source maps, root changelogs, and third-party licenses per review Remove *.map, root CHANGELOG.md/SECURITY.md, and third-party LICENSE exclusions added in 26c3319. Source maps are valuable for debugging and i18n; root docs should stay for discoverability; third-party license files must be preserved. --- .../plugins/automattic-for-agencies-client/.gitattributes | 2 -- projects/plugins/backup/.gitattributes | 2 -- projects/plugins/beta/.gitattributes | 2 -- projects/plugins/boost/.gitattributes | 2 -- projects/plugins/classic-theme-helper-plugin/.gitattributes | 2 -- projects/plugins/crm/.gitattributes | 2 -- projects/plugins/inspect/.gitattributes | 2 -- projects/plugins/jetpack/.gitattributes | 6 ------ projects/plugins/mu-wpcom-plugin/.gitattributes | 2 -- projects/plugins/paypal-payment-buttons/.gitattributes | 2 -- projects/plugins/protect/.gitattributes | 2 -- projects/plugins/search/.gitattributes | 2 -- projects/plugins/social/.gitattributes | 2 -- projects/plugins/starter-plugin/.gitattributes | 2 -- projects/plugins/super-cache/.gitattributes | 2 -- projects/plugins/vaultpress/.gitattributes | 2 -- projects/plugins/videopress/.gitattributes | 2 -- projects/plugins/wpcloud-sso/.gitattributes | 2 -- projects/plugins/wpcomsh/.gitattributes | 2 -- tools/cli/skeletons/plugins/.gitattributes | 2 -- 20 files changed, 44 deletions(-) diff --git a/projects/plugins/automattic-for-agencies-client/.gitattributes b/projects/plugins/automattic-for-agencies-client/.gitattributes index 01c4fbbd95c9..40ce0fd1fc34 100644 --- a/projects/plugins/automattic-for-agencies-client/.gitattributes +++ b/projects/plugins/automattic-for-agencies-client/.gitattributes @@ -35,7 +35,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -52,7 +51,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/backup/.gitattributes b/projects/plugins/backup/.gitattributes index e9df47af3ac5..2b5720a45123 100644 --- a/projects/plugins/backup/.gitattributes +++ b/projects/plugins/backup/.gitattributes @@ -25,7 +25,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -42,7 +41,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/beta/.gitattributes b/projects/plugins/beta/.gitattributes index 14033280669c..a63b6acf3fc3 100644 --- a/projects/plugins/beta/.gitattributes +++ b/projects/plugins/beta/.gitattributes @@ -15,7 +15,6 @@ vendor/jetpack-autoloader/** production-include /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -32,7 +31,6 @@ vendor/jetpack-autoloader/** production-include /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/boost/.gitattributes b/projects/plugins/boost/.gitattributes index bae83809a586..8d180988d65e 100644 --- a/projects/plugins/boost/.gitattributes +++ b/projects/plugins/boost/.gitattributes @@ -28,7 +28,6 @@ vendor/wikimedia/aho-corasick/** production-include /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -45,7 +44,6 @@ vendor/wikimedia/aho-corasick/** production-include /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/classic-theme-helper-plugin/.gitattributes b/projects/plugins/classic-theme-helper-plugin/.gitattributes index c1a881effd2d..884594c7f384 100644 --- a/projects/plugins/classic-theme-helper-plugin/.gitattributes +++ b/projects/plugins/classic-theme-helper-plugin/.gitattributes @@ -34,7 +34,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -51,7 +50,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/crm/.gitattributes b/projects/plugins/crm/.gitattributes index 5f32c1a3395d..0eaa28775d48 100644 --- a/projects/plugins/crm/.gitattributes +++ b/projects/plugins/crm/.gitattributes @@ -39,7 +39,6 @@ /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -56,7 +55,6 @@ /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/inspect/.gitattributes b/projects/plugins/inspect/.gitattributes index 4076cf67ecbf..4eef07c14db9 100644 --- a/projects/plugins/inspect/.gitattributes +++ b/projects/plugins/inspect/.gitattributes @@ -36,7 +36,6 @@ vendor/jetpack-autoloader/** production-include /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -53,7 +52,6 @@ vendor/jetpack-autoloader/** production-include /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/jetpack/.gitattributes b/projects/plugins/jetpack/.gitattributes index 5ed13c1d95e8..45376c40ee94 100644 --- a/projects/plugins/jetpack/.gitattributes +++ b/projects/plugins/jetpack/.gitattributes @@ -28,9 +28,7 @@ /.phpcs.dir.xml production-exclude /.sass-cache/** production-exclude /.wp-env.json production-exclude -/CHANGELOG.md production-exclude /LICENSE.txt production-exclude -/SECURITY.md production-exclude /_inc/build/*.css.map production-exclude /_inc/build/*.js.map production-exclude /_inc/build/maps/** production-exclude @@ -55,7 +53,6 @@ /jetpack_vendor/automattic/**/.babelrc production-exclude /jetpack_vendor/automattic/**/.gitignore production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/*.scss production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude @@ -85,7 +82,6 @@ /vendor/automattic/**/.babelrc production-exclude /vendor/automattic/**/.gitignore production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/*.scss production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude @@ -105,6 +101,4 @@ /vendor/automattic/jetpack-changelogger/** production-exclude /vendor/automattic/jetpack-composer-plugin/** production-exclude /vendor/composer/installed.json production-exclude -/vendor/composer/LICENSE production-exclude -/vendor/wikimedia/**/LICENSE production-exclude /wp-cli-templates/** production-exclude diff --git a/projects/plugins/mu-wpcom-plugin/.gitattributes b/projects/plugins/mu-wpcom-plugin/.gitattributes index 50e1e5857d90..7e9f20b7eed7 100644 --- a/projects/plugins/mu-wpcom-plugin/.gitattributes +++ b/projects/plugins/mu-wpcom-plugin/.gitattributes @@ -29,7 +29,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -46,7 +45,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/paypal-payment-buttons/.gitattributes b/projects/plugins/paypal-payment-buttons/.gitattributes index 51cae6b32792..4b6b8e942b45 100644 --- a/projects/plugins/paypal-payment-buttons/.gitattributes +++ b/projects/plugins/paypal-payment-buttons/.gitattributes @@ -47,7 +47,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -64,7 +63,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/protect/.gitattributes b/projects/plugins/protect/.gitattributes index cc0a7260fd31..6acaaeb3c071 100644 --- a/projects/plugins/protect/.gitattributes +++ b/projects/plugins/protect/.gitattributes @@ -33,7 +33,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -50,7 +49,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/search/.gitattributes b/projects/plugins/search/.gitattributes index 1cf1cf7444d3..01ed57f474b9 100644 --- a/projects/plugins/search/.gitattributes +++ b/projects/plugins/search/.gitattributes @@ -24,7 +24,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -41,7 +40,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/social/.gitattributes b/projects/plugins/social/.gitattributes index cc0a7260fd31..6acaaeb3c071 100644 --- a/projects/plugins/social/.gitattributes +++ b/projects/plugins/social/.gitattributes @@ -33,7 +33,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -50,7 +49,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/starter-plugin/.gitattributes b/projects/plugins/starter-plugin/.gitattributes index 8048ae94e861..b3905bda3e0f 100644 --- a/projects/plugins/starter-plugin/.gitattributes +++ b/projects/plugins/starter-plugin/.gitattributes @@ -35,7 +35,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -52,7 +51,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/super-cache/.gitattributes b/projects/plugins/super-cache/.gitattributes index 340842063147..2f5a91403199 100644 --- a/projects/plugins/super-cache/.gitattributes +++ b/projects/plugins/super-cache/.gitattributes @@ -22,7 +22,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -39,7 +38,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/vaultpress/.gitattributes b/projects/plugins/vaultpress/.gitattributes index e089473a0fb5..5fc1c950dc2b 100644 --- a/projects/plugins/vaultpress/.gitattributes +++ b/projects/plugins/vaultpress/.gitattributes @@ -23,7 +23,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -40,7 +39,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/videopress/.gitattributes b/projects/plugins/videopress/.gitattributes index cc0a7260fd31..6acaaeb3c071 100644 --- a/projects/plugins/videopress/.gitattributes +++ b/projects/plugins/videopress/.gitattributes @@ -33,7 +33,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -50,7 +49,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/wpcloud-sso/.gitattributes b/projects/plugins/wpcloud-sso/.gitattributes index 58de2246c28f..cb8142fa2cce 100644 --- a/projects/plugins/wpcloud-sso/.gitattributes +++ b/projects/plugins/wpcloud-sso/.gitattributes @@ -23,7 +23,6 @@ README.md production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -40,7 +39,6 @@ README.md production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/projects/plugins/wpcomsh/.gitattributes b/projects/plugins/wpcomsh/.gitattributes index c6c7d3378b4e..d5d8fa0c36e8 100644 --- a/projects/plugins/wpcomsh/.gitattributes +++ b/projects/plugins/wpcomsh/.gitattributes @@ -41,7 +41,6 @@ composer.lock production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -62,7 +61,6 @@ composer.lock production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude diff --git a/tools/cli/skeletons/plugins/.gitattributes b/tools/cli/skeletons/plugins/.gitattributes index b600bd863d24..54a5efe5d661 100644 --- a/tools/cli/skeletons/plugins/.gitattributes +++ b/tools/cli/skeletons/plugins/.gitattributes @@ -16,7 +16,6 @@ tests/** production-exclude /jetpack_vendor/automattic/**/*.ts production-exclude /jetpack_vendor/automattic/**/*.tsx production-exclude /jetpack_vendor/automattic/**/*.jsx production-exclude -/jetpack_vendor/automattic/**/*.map production-exclude /jetpack_vendor/automattic/**/CHANGELOG.md production-exclude /jetpack_vendor/automattic/**/LICENSE.txt production-exclude /jetpack_vendor/automattic/**/SECURITY.md production-exclude @@ -33,7 +32,6 @@ tests/** production-exclude /vendor/automattic/**/*.ts production-exclude /vendor/automattic/**/*.tsx production-exclude /vendor/automattic/**/*.jsx production-exclude -/vendor/automattic/**/*.map production-exclude /vendor/automattic/**/CHANGELOG.md production-exclude /vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/SECURITY.md production-exclude