forked from guanguans/favorite-link
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
194 lines (194 loc) · 7.95 KB
/
Copy pathcomposer.json
File metadata and controls
194 lines (194 loc) · 7.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "laravel-zero/laravel-zero",
"description": "The Laravel Zero Framework.",
"license": "MIT",
"type": "project",
"keywords": [
"framework",
"laravel",
"laravel zero",
"console",
"cli"
],
"authors": [
{
"name": "Nuno Maduro",
"email": "enunomaduro@gmail.com"
}
],
"homepage": "https://laravel-zero.com",
"support": {
"issues": "https://github.com/laravel-zero/laravel-zero/issues",
"source": "https://github.com/laravel-zero/laravel-zero"
},
"require": {
"php": "^8.4",
"cerbero/command-validator": "^3.0",
"graham-campbell/github": "^13.0",
"illuminate/validation": "^12.0",
"laminas/laminas-feed": "^2.25",
"laravel-zero/framework": "^12.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"ergebnis/composer-normalize": "^2.48",
"ergebnis/license": "^2.7",
"ergebnis/php-cs-fixer-config": "dev-main",
"fakerphp/faker": "^1.24",
"guanguans/ai-commit": "dev-main",
"ion-bazan/composer-diff": "^1.13",
"mockery/mockery": "^1.6",
"pestphp/pest": "^4.1",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"rector/rector": "^2.2"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"bin": [
"favorite-link"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"ergebnis/composer-normalize": true,
"ion-bazan/composer-diff": true,
"pestphp/pest-plugin": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true,
"target-directory": "vendor-bin"
},
"composer-normalize": {
"indent-size": 4,
"indent-style": "space"
},
"hooks": {
"post-merge": [
"composer checks"
],
"pre-commit": [
"composer checks"
]
}
},
"scripts": {
"post-install-cmd": [
"@composer-bin-all-update"
],
"post-update-cmd": [
"@composer-bin-all-update"
],
"ai-commit": "@php ./vendor/bin/ai-commit commit --ansi",
"ai-commit-bito": "@ai-commit --generator=bito_cli",
"ai-commit-bito-no-verify": "@ai-commit-bito --no-verify",
"ai-commit-github-copilot": "@ai-commit --generator=github_copilot_cli",
"ai-commit-github-copilot-no-verify": "@ai-commit-github-copilot --no-verify",
"ai-commit-github-models": "@ai-commit --generator=github_models_cli",
"ai-commit-github-models-no-verify": "@ai-commit-github-models --no-verify",
"ai-commit-no-verify": "@ai-commit --no-verify",
"autocorrect": "autocorrect README.md",
"autocorrect-fix": "@autocorrect --fix",
"autocorrect-lint": "@autocorrect --lint",
"cghooks": "@php ./vendor/bin/cghooks --ansi -v",
"checks": [
"@composer-normalize",
"@composer-validate",
"@style-lint",
"@md-lint",
"@zh-lint",
"@autocorrect-lint",
"@test",
"@rector-dry-run"
],
"composer-bin-all-update": "@composer bin all update --ansi -v",
"composer-check-platform-reqs": "@composer check-platform-reqs --lock --ansi -v",
"composer-diff": "@composer diff --with-platform --ansi -vv",
"composer-normalize": "@composer normalize --dry-run --diff --ansi -v",
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/php@8.4/bin/php --ansi",
"composer-updater-dry-run": "@composer-updater --dry-run",
"composer-validate": "@composer validate --check-lock --strict --ansi -v",
"facade-lint": "@facade-update --lint",
"facade-update": "/opt/homebrew/opt/php@8.4/bin/php -f ./facade.php -- App\\\\Facades\\\\Music",
"json-lint": "@php ./vendor/bin/jsonlint *.json .*rc",
"lint": [
"for DIR in .; do find $DIR -maxdepth 1 -type f -name '*.php' -type f ! -name 'xxx.php' -exec php -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done",
"for DIR in ./app ./bootstrap ./config ./tests; do find $DIR -type f -name '*.php' -type f ! -name 'xxx.php' -exec php -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done"
],
"md-fix": "@md-lint --fix",
"md-lint": "lint-md 'README.md' --config=.lintmdrc --threads",
"pest": "@php ./vendor/bin/pest --configuration=phpunit.xml.dist --colors=always --coverage --profile -v",
"pest-coverage": "@pest --coverage-html=./.build/phpunit/ --coverage-clover=./.build/phpunit/clover.xml",
"pest-migrate-configuration": "@pest --migrate-configuration",
"pest-profile": "@pest --profile",
"pest-type-coverage": "@pest --type-coverage",
"phpstan": "@php ./vendor/bin/phpstan analyse --ansi -vv",
"phpstan-baseline": "@phpstan --generate-baseline --allow-empty-baseline",
"post-merge": [
"@composer install"
],
"psalm": "@php ./vendor/bin/psalm",
"psalm-baseline": "@psalm --update-baseline",
"putenvs": [
"@putenv PHP73=/opt/homebrew/opt/php@7.3/bin/php",
"@putenv PHP74=/opt/homebrew/opt/php@7.4/bin/php",
"@putenv PHP80=/opt/homebrew/opt/php@8.0/bin/php",
"@putenv PHP81=/opt/homebrew/opt/php@8.1/bin/php",
"@putenv PHP82=/opt/homebrew/opt/php@8.2/bin/php",
"@putenv PHP83=/opt/homebrew/opt/php@8.3/bin/php",
"@putenv PHP84=/opt/homebrew/opt/php@8.4/bin/php",
"@putenv PHP_CS_FIXER_IGNORE_ENV=1"
],
"readme-fix": [
"@md-fix",
"@zh-fix",
"@autocorrect-fix"
],
"rector": "@php ./vendor/bin/rector --ansi",
"rector-dry-run": "@rector --dry-run",
"release": "@php ./vendor/bin/monorepo-builder release --ansi -v",
"release-major": "@release major",
"release-major-dry-run": "@release-major --dry-run",
"release-minor": "@release minor",
"release-minor-dry-run": "@release-minor --dry-run",
"release-patch": "@release patch",
"release-patch-dry-run": "@release-patch --dry-run",
"style-fix": [
"@putenvs",
"@php ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --show-progress=dots --diff --ansi -v"
],
"style-lint": "@style-fix --dry-run",
"test": "@pest",
"test-coverage": "@pest-coverage",
"test-migrate-configuration": "@pest-migrate-configuration",
"test-phpunit": "@php ./vendor/bin/phpunit --cache-result-file=./.build/phpunit/.phpunit.result.cache --coverage-text --ansi -v",
"test-phpunit-coverage": "@test --coverage-html=./.build/phpunit/ --coverage-clover=./.build/phpunit/clover.xml",
"test-type-coverage": "@pest-type-coverage",
"text-fix": "npx textlint --fix ./*.md ./.github/*.md ./docs/**/*.md",
"text-lint": "npx textlint --format=pretty-error ./*.md ./.github/*.md ./docs/**/*.md",
"trufflehog": "trufflehog git https://github.com/guanguans/ai-commit --only-verified",
"yaml-lint": "@php ./vendor/bin/yaml-lint .*.yml .github/ --ansi -v",
"zh-fix": "@zh-lint --fix",
"zh-lint": "zhlint 'README.md' --config=.zhlintrc"
}
}