Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 77655a8

Browse files
committed
Separate development dependencies
1 parent 5a15057 commit 77655a8

File tree

4 files changed

+41
-16
lines changed

4 files changed

+41
-16
lines changed

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
- name: Install composer dependencies
3030
env:
3131
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
32-
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
32+
run: COMPOSER=composer-dev.json composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
3333
- name: Run tests
3434
run: vendor/bin/phpunit

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
/.vscode
66
/.vagrant
77
/.phpunit.cache
8-
composer.lock
8+
composer*.lock

Diff for: composer-dev.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "laravel-shift/cli",
3+
"description": "A CLI tool for running automated tasks from Shift",
4+
"keywords": ["laravel", "php", "code", "refactor", "automation", "cli"],
5+
"license": "MIT",
6+
"require": {
7+
"php": "^8.1",
8+
"symfony/console": "^6.3",
9+
"laravel-shift/cli-sdk": "dev-main"
10+
},
11+
"require-dev": {
12+
"laravel/pint": "^1.6",
13+
"mockery/mockery": "^1.4.4",
14+
"phpunit/phpunit": "^10.0"
15+
},
16+
"autoload": {
17+
"psr-4": {
18+
"Shift\\Cli\\": "src/"
19+
}
20+
},
21+
"autoload-dev": {
22+
"psr-4": {
23+
"Tests\\": "tests/"
24+
}
25+
},
26+
"config": {
27+
"preferred-install": "dist",
28+
"sort-packages": true,
29+
"optimize-autoloader": true,
30+
"allow-plugins": {
31+
"pestphp/pest-plugin": true,
32+
"bamarni/composer-bin-plugin": true
33+
}
34+
},
35+
"minimum-stability": "dev",
36+
"prefer-stable": true,
37+
"bin": ["builds/shift-cli"]
38+
}

Diff for: composer.json

+1-14
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,13 @@
44
"keywords": ["laravel", "php", "code", "refactor", "automation", "cli"],
55
"license": "MIT",
66
"require": {
7-
"php": "^8.1",
8-
"symfony/console": "^6.3",
9-
"laravel-shift/cli-sdk": "dev-main"
10-
},
11-
"require-dev": {
12-
"bamarni/composer-bin-plugin": "^1.8",
13-
"laravel/pint": "^1.6",
14-
"mockery/mockery": "^1.4.4",
15-
"phpunit/phpunit": "^10.0"
7+
"php": "^8.1"
168
},
179
"autoload": {
1810
"psr-4": {
1911
"Shift\\Cli\\": "src/"
2012
}
2113
},
22-
"autoload-dev": {
23-
"psr-4": {
24-
"Tests\\": "tests/"
25-
}
26-
},
2714
"config": {
2815
"preferred-install": "dist",
2916
"sort-packages": true,

0 commit comments

Comments
 (0)