Skip to content

Commit

Permalink
Merge pull request #1127 from alleyinteractive/chore/release-prep
Browse files Browse the repository at this point in the history
Remove deployignore, update distignore, add script to generate a test deploy package
  • Loading branch information
kevinfodness authored May 23, 2024
2 parents 9ee2bce + 59808dc commit 4fd2824
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 114 deletions.
52 changes: 0 additions & 52 deletions .deployignore

This file was deleted.

62 changes: 21 additions & 41 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,53 +1,33 @@
# A set of files you probably don't want in your WordPress.org distribution
*.sql
*.tar.gz
*.zip
.DS_Store
.babelrc
.circleci/config.yml
# Exclusions when publishing to WordPress.org

# Directories
.git
.github
assets/js/admin-settings
assets/js/components
assets/js/config
assets/js/pluginsidebar
assets/js/services
assets/js/util
node_modules
tests
vendor

# Files
.distignore
.editorconfig
.eslintignore
.eslintrc.json
.git
.github
.gitignore
.gitlab-ci.yml
.idea
.phpcs
.phpcs-cache.json
.nvmrc
.phpcs.xml
.phpcs.xml.dist
.phpstan
.phpcs-cache.json
.phpunit.result.cache
.travis.yml
.vscode
.wordpress-org
.wp-env.json
Gruntfile.js
README.md
Thumbs.db
assets/js/pluginsidebar
assets/js/util
behat.yml
bin
bitbucket-pipelines.yml
babel.config.json
composer.json
composer.lock
multisite.xml
multisite.xml.dist
node_modules
npm-debug.log
package-lock.json
package.json
phpcs.xml
phpcs.xml.dist
phpstan.neon.dist
phpunit.xml
package-lock.json
phpunit.xml.dist
tags
tests
vendor
README.md
webpack.config.js
wp-cli.local.yml
yarn.lock
23 changes: 2 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,14 @@
"test": [
"@phpcs",
"@phpunit"
]
],
"test-release": "rsync -rc --exclude-from=.distignore ./ ~/Desktop/publish-to-apple-news/ --delete --delete-excluded"
},
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"archive": {
"exclude": [
"*.xml",
"*.dist",
"*.cache",
".phpcs.xml",
".editorconfig",
".gitignore",
".distignore",
".deployignore",
".github/",
".phpcs/",
".phpstan/",
"plugin-build/",
"tests/",
"publish-to-apple-news.zip",
"!vendor/",
"!.wordpress-org/"
]
}
}

0 comments on commit 4fd2824

Please sign in to comment.