Skip to content

Commit 76aea87

Browse files
committed
improve the composer dist script
1 parent 8994177 commit 76aea87

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,14 @@
2525
],
2626
"scripts": {
2727
"dist": [
28-
"rm -rf ./vendor",
29-
"npm run build",
28+
"rm -rf ./vendor",
29+
"npm install",
30+
"npm run build",
31+
"rm -rf ./node_modules",
32+
"rm -rf ./apigen.neon",
33+
"rm -rf ./readme.md",
34+
"rm -rf ./CHANGELOG.md",
35+
"rm -rf ./CODEOWNERS",
3036
"@composer install --no-dev -a",
3137
"@composer archive --format=zip --file constant-contact-forms",
3238
"mv constant-contact-forms.zip $HOME/Desktop"

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)