diff --git a/projects/plugins/automattic-for-agencies-client/.gitattributes b/projects/plugins/automattic-for-agencies-client/.gitattributes index 8219a0e5abbd..40ce0fd1fc34 100644 --- a/projects/plugins/automattic-for-agencies-client/.gitattributes +++ b/projects/plugins/automattic-for-agencies-client/.gitattributes @@ -31,6 +31,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/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..8bbd39db627a --- /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, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/backup/.gitattributes b/projects/plugins/backup/.gitattributes index e67024fb62ec..2b5720a45123 100644 --- a/projects/plugins/backup/.gitattributes +++ b/projects/plugins/backup/.gitattributes @@ -21,6 +21,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/backup/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/backup/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 15ac2d572b79..a63b6acf3fc3 100644 --- a/projects/plugins/beta/.gitattributes +++ b/projects/plugins/beta/.gitattributes @@ -11,6 +11,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/beta/changelog/exclude-dev-vendor-files b/projects/plugins/beta/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/beta/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 7a30e10317cf..8d180988d65e 100644 --- a/projects/plugins/boost/.gitattributes +++ b/projects/plugins/boost/.gitattributes @@ -24,6 +24,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/boost/changelog/exclude-dev-vendor-files b/projects/plugins/boost/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/boost/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 423ed52e4282..884594c7f384 100644 --- a/projects/plugins/classic-theme-helper-plugin/.gitattributes +++ b/projects/plugins/classic-theme-helper-plugin/.gitattributes @@ -30,6 +30,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/classic-theme-helper-plugin/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /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, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/crm/.gitattributes b/projects/plugins/crm/.gitattributes index 78c34258275b..0eaa28775d48 100644 --- a/projects/plugins/crm/.gitattributes +++ b/projects/plugins/crm/.gitattributes @@ -35,6 +35,38 @@ /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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/crm/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/crm/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 50a28579e373..4eef07c14db9 100644 --- a/projects/plugins/inspect/.gitattributes +++ b/projects/plugins/inspect/.gitattributes @@ -32,5 +32,37 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/inspect/changelog/exclude-dev-vendor-files b/projects/plugins/inspect/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/inspect/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 fdfc79074cea..45376c40ee94 100644 --- a/projects/plugins/jetpack/.gitattributes +++ b/projects/plugins/jetpack/.gitattributes @@ -50,9 +50,24 @@ /extensions/**/*.scss production-exclude /extensions/**/*.svg production-exclude /extensions/**/test/** production-exclude +/jetpack_vendor/automattic/**/.babelrc production-exclude +/jetpack_vendor/automattic/**/.gitignore production-exclude +/jetpack_vendor/automattic/**/*.jsx production-exclude +/jetpack_vendor/automattic/**/*.scss production-exclude +/jetpack_vendor/automattic/**/*.ts production-exclude +/jetpack_vendor/automattic/**/*.tsx 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/**/src/css/*.scss 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 @@ -64,10 +79,26 @@ /tests/** production-exclude /to-test.md production-exclude /tools/** production-exclude +/vendor/automattic/**/.babelrc production-exclude +/vendor/automattic/**/.gitignore production-exclude +/vendor/automattic/**/*.jsx production-exclude +/vendor/automattic/**/*.scss production-exclude +/vendor/automattic/**/*.ts production-exclude +/vendor/automattic/**/*.tsx production-exclude +/vendor/automattic/**/CHANGELOG.md production-exclude +/vendor/automattic/**/LICENSE.txt production-exclude /vendor/automattic/**/README.md production-exclude -/vendor/automattic/**/src/css/*.scss 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 /wp-cli-templates/** 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..1303057b7104 --- /dev/null +++ b/projects/plugins/jetpack/changelog/exclude-dev-files-from-production @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +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 6e19dcb22c66..7e9f20b7eed7 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,10 +18,42 @@ 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. .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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/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..8bbd39db627a --- /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, .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 a1a4d76e18c9..4b6b8e942b45 100644 --- a/projects/plugins/paypal-payment-buttons/.gitattributes +++ b/projects/plugins/paypal-payment-buttons/.gitattributes @@ -43,6 +43,38 @@ package.json production-exclude README.md production-exclude src/js/** production-exclude tests/** production-exclude -/vendor/automattic/jetpack-changelogger/** production-exclude -/vendor/automattic/jetpack-composer-plugin/** 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/**/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/**/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/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..8bbd39db627a --- /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, .jsx, and .scss source files from production builds. diff --git a/projects/plugins/protect/.gitattributes b/projects/plugins/protect/.gitattributes index 86c154c9b7c8..6acaaeb3c071 100644 --- a/projects/plugins/protect/.gitattributes +++ b/projects/plugins/protect/.gitattributes @@ -29,6 +29,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/protect/changelog/exclude-dev-vendor-files b/projects/plugins/protect/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/protect/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 5e739b471735..01ed57f474b9 100644 --- a/projects/plugins/search/.gitattributes +++ b/projects/plugins/search/.gitattributes @@ -20,6 +20,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/search/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/search/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 86c154c9b7c8..6acaaeb3c071 100644 --- a/projects/plugins/social/.gitattributes +++ b/projects/plugins/social/.gitattributes @@ -29,6 +29,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/social/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/social/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 2d66b1c3bf3c..b3905bda3e0f 100644 --- a/projects/plugins/starter-plugin/.gitattributes +++ b/projects/plugins/starter-plugin/.gitattributes @@ -31,6 +31,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 44ee55ac7bde..2f5a91403199 100644 --- a/projects/plugins/super-cache/.gitattributes +++ b/projects/plugins/super-cache/.gitattributes @@ -18,3 +18,35 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/super-cache/changelog/exclude-dev-vendor-files b/projects/plugins/super-cache/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/super-cache/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 3fee5f394e0b..5fc1c950dc2b 100644 --- a/projects/plugins/vaultpress/.gitattributes +++ b/projects/plugins/vaultpress/.gitattributes @@ -19,5 +19,37 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/vaultpress/changelog/exclude-dev-vendor-files b/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/vaultpress/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 86c154c9b7c8..6acaaeb3c071 100644 --- a/projects/plugins/videopress/.gitattributes +++ b/projects/plugins/videopress/.gitattributes @@ -29,6 +29,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/videopress/changelog/exclude-dev-vendor-files b/projects/plugins/videopress/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/videopress/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 8708ada48459..cb8142fa2cce 100644 --- a/projects/plugins/wpcloud-sso/.gitattributes +++ b/projects/plugins/wpcloud-sso/.gitattributes @@ -19,6 +19,38 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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/changelog/exclude-dev-vendor-files b/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/wpcloud-sso/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 403880a7dceb..d5d8fa0c36e8 100644 --- a/projects/plugins/wpcomsh/.gitattributes +++ b/projects/plugins/wpcomsh/.gitattributes @@ -37,12 +37,42 @@ 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/**/*.jsx 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 **/*/*.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/**/*.jsx 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/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files b/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files new file mode 100644 index 000000000000..8bbd39db627a --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/exclude-dev-vendor-files @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +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 acce6e05d995..54a5efe5d661 100644 --- a/tools/cli/skeletons/plugins/.gitattributes +++ b/tools/cli/skeletons/plugins/.gitattributes @@ -12,3 +12,35 @@ 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 +/jetpack_vendor/automattic/**/*.jsx 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/**/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