Skip to content

Commit e92f155

Browse files
committed
Cleanup package code
No need for redundant development packages and other files to be available in the distributed plugin.
1 parent 891a465 commit e92f155

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,22 @@
1111

1212
# Directories
1313
/.github export-ignore
14+
/.phpunit.cache export-ignore
1415
/.wordpress-org export-ignore
1516
/bin export-ignore
17+
/node_modules export-ignore
1618
/tests export-ignore
19+
/vendor export-ignore
1720

1821
# Files
1922
/.editorconfig export-ignore
2023
/.gitattributes export-ignore
2124
/.gitignore export-ignore
2225
/.phpcs.xml.dist export-ignore
2326
/CHANGELOG.md export-ignore
27+
/clover.xml export-ignore
2428
/composer.json export-ignore
29+
/composer.lock export-ignore
30+
/package.json export-ignore
31+
/package-lock.json export-ignore
2532
/phpunit.xml.dist export-ignore

.github/workflows/deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
1616

17-
- name: Install Dependencies
18-
run: npm install
19-
2017
- name: WordPress Plugin Deploy
2118
uses: 10up/action-wordpress-plugin-deploy@stable
2219
env:

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/.phpunit.cache
2+
/node_modules
3+
/vendor
4+
25
/clover.xml
36
/composer.lock
47
/package-lock.json
5-
/vendor

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
"author": "Automattic",
77
"repository": "automattic/ad-code-manager",
88
"devDependencies": {
9-
"@actions/github": "^2",
10-
"replace-in-file": "^5",
11-
"semver": "^7",
129
"version-bump-prompt": "^6.1.0"
1310
},
1411
"scripts": {

0 commit comments

Comments
 (0)