Skip to content

Commit 0701310

Browse files
Melhorias
1 parent 6f44d66 commit 0701310

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

src/Commands/Package/stubs/composer.stub

+31-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"description": "A description for DummyPackageName.",
44
"type": "package",
55
"license": "MIT",
6+
"homepage": "https://github.com/DummyVendor/DummyPackageName",
67
"keywords": [
8+
"DummyVendor/DummyPackageName",
79
"laravel"
810
],
911
"authors": [
@@ -13,7 +15,21 @@
1315
}
1416
],
1517
"require": {
16-
"illuminate/support": "^7.0|^8.0"
18+
"php": "^8.0.2",
19+
"illuminate/contracts": "^9.0"
20+
},
21+
"require-dev": {
22+
"laravel/pint": "^1.0",
23+
"nunomaduro/collision": "^6.0",
24+
"nunomaduro/larastan": "^2.0.1",
25+
"orchestra/testbench": "^7.0",
26+
"pestphp/pest": "^1.21",
27+
"pestphp/pest-plugin-laravel": "^1.1",
28+
"phpstan/extension-installer": "^1.1",
29+
"phpstan/phpstan-deprecation-rules": "^1.0",
30+
"phpstan/phpstan-phpunit": "^1.0",
31+
"phpunit/phpunit": "^9.5",
32+
"spatie/laravel-ray": "^1.26"
1733
},
1834
"autoload": {
1935
"psr-4": {
@@ -26,7 +42,18 @@
2642
}
2743
},
2844
"scripts": {
29-
"test": "vendor/bin/phpunit"
45+
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
46+
"analyse": "vendor/bin/phpstan analyse",
47+
"test": "vendor/bin/pest",
48+
"test-coverage": "vendor/bin/pest --coverage",
49+
"format": "vendor/bin/pint"
50+
},
51+
"config": {
52+
"sort-packages": true,
53+
"allow-plugins": {
54+
"pestphp/pest-plugin": true,
55+
"phpstan/extension-installer": true
56+
}
3057
},
3158
"extra": {
3259
"laravel": {
@@ -35,7 +62,6 @@
3562
]
3663
}
3764
},
38-
"require-dev": {
39-
"orchestra/testbench": "^6.0"
40-
}
65+
"minimum-stability": "dev",
66+
"prefer-stable": true
4167
}

0 commit comments

Comments
 (0)