Skip to content

Commit d40a613

Browse files
authored
Bundled production dependencies only in the PHAR and pinned Box. (#335)
1 parent 044824e commit d40a613

6 files changed

Lines changed: 4209 additions & 6 deletions

File tree

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
.logs
99
tests
1010
vendor
11-
vendor-bin
11+
vendor-bin/*/vendor

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/.build
55
/.logs
66
/vendor
7-
/vendor-bin
7+
/vendor-bin/*/vendor

box.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
"compression": "GZ",
44
"finder": [
55
{
6-
"in": "./",
6+
"in": [
7+
"src",
8+
"vendor"
9+
],
710
"exclude": [
8-
"php-script",
9-
"tests"
11+
"bin"
1012
]
1113
}
1214
]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
},
6767
"scripts": {
6868
"build": [
69-
"@composer bin box require --dev humbug/box",
69+
"@composer bin box install",
7070
"box validate",
7171
"box compile"
7272
],

vendor-bin/box/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"humbug/box": "^4.7"
4+
}
5+
}

0 commit comments

Comments
 (0)