Skip to content

Commit

Permalink
General: do not ship development config files in production build (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve authored Nov 14, 2023
1 parent bb1b509 commit 571519e
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 7 deletions.
1 change: 1 addition & 0 deletions projects/packages/admin-ui/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ package.json export-ignore
# 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
.phpcs.dir.xml production-exclude
changelog/** production-exclude
phpunit.xml.dist production-exclude
tests/** production-exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Do not ship development tooling config files in production build.


2 changes: 1 addition & 1 deletion projects/packages/admin-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-admin-ui",
"version": "0.2.24",
"version": "0.2.25-alpha",
"description": "Generic Jetpack wp-admin UI elements",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/admin-ui/#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion projects/packages/admin-ui/src/class-admin-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class Admin_Menu {

const PACKAGE_VERSION = '0.2.24';
const PACKAGE_VERSION = '0.2.25-alpha';

/**
* Whether this class has been initialized
Expand Down
1 change: 1 addition & 0 deletions projects/packages/backup/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Files not needed to be distributed.
.babelrc export-ignore
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Do not ship development tooling config files in production build.


1 change: 1 addition & 0 deletions projects/packages/compat/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.github/ export-ignore

# Files not needed in the production build.
.phpcs.dir.xml production-exclude
/changelog/** production-exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Do not ship development tooling config files in production build.


1 change: 1 addition & 0 deletions projects/packages/my-jetpack/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Files not needed to be distributed in the package.
.babelrc export-ignore
.gitattributes export-ignore
.github/ export-ignore
package.json export-ignore
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Do not ship development tooling config files in production build.


1 change: 1 addition & 0 deletions projects/packages/plugins-installer/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package.json export-ignore

# Files to exclude from the mirror repo, but included in the monorepo.
# Remember to end all directories with `/**` to properly tag every file.
.phpcs.dir.xml production-exclude
.gitignore production-exclude
changelog/** production-exclude
phpunit.xml.dist production-exclude
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Do not ship development tooling config files in production build.


12 changes: 7 additions & 5 deletions projects/packages/waf/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ package.json export-ignore

# 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
phpunit.xml.dist production-exclude
.phpcs.dir.xml production-exclude
tests/** production-exclude
.phpcs.dir.phpcompatibility.xml production-exclude
.phpcsignore production-exclude
.gitignore production-exclude
changelog/** production-exclude
phpunit.xml.dist production-exclude
.phpcs.dir.xml production-exclude
tests/** production-exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Do not ship development tooling config files in production build.


0 comments on commit 571519e

Please sign in to comment.