Skip to content

Commit

Permalink
Cleanup package code
Browse files Browse the repository at this point in the history
No need for redundant development packages and other files to be available in the distributed plugin.
  • Loading branch information
GaryJones committed Sep 9, 2023
1 parent 891a465 commit e92f155
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,22 @@

# Directories
/.github export-ignore
/.phpunit.cache export-ignore
/.wordpress-org export-ignore
/bin export-ignore
/node_modules export-ignore
/tests export-ignore
/vendor export-ignore

# Files
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.phpcs.xml.dist export-ignore
/CHANGELOG.md export-ignore
/clover.xml export-ignore
/composer.json export-ignore
/composer.lock export-ignore
/package.json export-ignore
/package-lock.json export-ignore
/phpunit.xml.dist export-ignore
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Dependencies
run: npm install

- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/.phpunit.cache
/node_modules
/vendor

/clover.xml
/composer.lock
/package-lock.json
/vendor
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"author": "Automattic",
"repository": "automattic/ad-code-manager",
"devDependencies": {
"@actions/github": "^2",
"replace-in-file": "^5",
"semver": "^7",
"version-bump-prompt": "^6.1.0"
},
"scripts": {
Expand Down

0 comments on commit e92f155

Please sign in to comment.