This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the skeleton to what I need it to be
- Loading branch information
Showing
33 changed files
with
245 additions
and
423 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/vendor_slug/package_slug/discussions/new?category=q-a | ||
url: https://github.com/rvxlab/filament-colorpicker/discussions/new?category=q-a | ||
about: Ask the community for help | ||
- name: Request a feature | ||
url: https://github.com/vendor_slug/package_slug/discussions/new?category=ideas | ||
url: https://github.com/rvxlab/filament-colorpicker/discussions/new?category=ideas | ||
about: Share ideas for new features | ||
- name: Report a bug | ||
url: https://github.com/vendor_slug/package_slug/issues/new | ||
url: https://github.com/rvxlab/filament-colorpicker/issues/new | ||
about: Report a reproducable bug |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: run-tests | ||
name: Run tests | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
$dirs = [ | ||
'src', | ||
'tests', | ||
]; | ||
|
||
return (new PhpCsFixer\Config()) | ||
->setRiskyAllowed(true) | ||
->setRules([ | ||
'@PSR2' => true, | ||
'@Symfony:risky' => true, | ||
'@PHP71Migration:risky' => true, | ||
'@PHP73Migration' => true, | ||
'blank_line_after_opening_tag' => true, | ||
'method_argument_space' => false, | ||
]) | ||
->setFinder((new PhpCsFixer\Finder()) | ||
->in( | ||
array_map( | ||
static fn (string $dir) => __DIR__ . '/' . $dir, | ||
$dirs, | ||
) | ||
), | ||
); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) :vendor_name <[email protected]> | ||
Copyright (c) rvxlab <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.PHONY: testbench | ||
|
||
EXEC="docker-compose exec -u app workspace" | ||
|
||
uid=1000 | ||
gid=1000 | ||
|
||
## Docker | ||
up: | ||
docker-compose up -d | ||
|
||
start: up | ||
|
||
down: | ||
docker-compose down | ||
|
||
stop: down | ||
|
||
dcbuild: | ||
docker-compose build | ||
|
||
composer: | ||
"$(EXEC)" composer $(cmd) | ||
|
||
## Artisan | ||
testbench: | ||
"$(EXEC)" php vendor/bin/testbench $(cmd) | ||
|
||
## Testing | ||
phpcsfixer: | ||
"$(EXEC)" vendor/bin/php-cs-fixer fix | ||
|
||
phpstan: | ||
"$(EXEC)" php -d memory_limit=-1 vendor/bin/phpstan analyze | ||
|
||
test: | ||
"$(EXEC)" vendor/bin/testbench package:test --parallel --no-coverage | ||
|
||
test-coverage: | ||
"$(EXEC)" vendor/bin/phpunit --coverage-html coverage | ||
|
||
test-all: phpstan phpcsfixer test | ||
|
||
## Npm | ||
|
||
npm: | ||
"$(EXEC)" npm $(cmd) | ||
|
||
npm-dev: | ||
"$(EXEC)" npm run dev | ||
|
||
npm-watch: | ||
"$(EXEC)" npm run watch | ||
|
||
npm-prod: | ||
"$(EXEC)" npm run prod | ||
|
||
## Misc | ||
sh: | ||
"$(EXEC)" sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"name": "vendor_slug/package_slug", | ||
"description": ":package_description", | ||
"name": "rvxlab/filament-colorpicker", | ||
"description": "A colorpicker package for Laravel Filament", | ||
"keywords": [ | ||
":vendor_name", | ||
"rvxlab", | ||
"laravel", | ||
"package_slug" | ||
"filament-colorpicker" | ||
], | ||
"homepage": "https://github.com/vendor_slug/package_slug", | ||
"homepage": "https://github.com/rvxlab/filament-colorpicker", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": ":author_name", | ||
"email": "[email protected]", | ||
"name": "RVxLab", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
|
@@ -22,38 +22,35 @@ | |
}, | ||
"require-dev": { | ||
"brianium/paratest": "^6.2", | ||
"friendsofphp/php-cs-fixer": "^3.0", | ||
"nunomaduro/collision": "^5.3", | ||
"nunomaduro/larastan": "^0.7.6", | ||
"orchestra/testbench": "^6.15", | ||
"phpstan/extension-installer": "^1.1", | ||
"phpstan/phpstan-phpunit": "^0.12.19", | ||
"phpunit/phpunit": "^9.3", | ||
"spatie/laravel-ray": "^1.9", | ||
"vimeo/psalm": "^4.4" | ||
"spatie/laravel-ray": "^1.9" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"VendorName\\Skeleton\\": "src", | ||
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories" | ||
"RVxLab\\FilamentColorpicker\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"VendorName\\Skeleton\\Tests\\": "tests" | ||
"RVxLab\\FilamentColorpicker\\Tests\\": "tests" | ||
} | ||
}, | ||
"scripts": { | ||
"psalm": "vendor/bin/psalm", | ||
"test": "./vendor/bin/testbench package:test --parallel --no-coverage", | ||
"test-coverage": "vendor/bin/phpunit --coverage-html coverage" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"VendorName\\Skeleton\\SkeletonServiceProvider" | ||
"RVxLab\\FilamentColorpicker\\FilamentColorpickerServiceProvider" | ||
], | ||
"aliases": { | ||
"Skeleton": "VendorName\\Skeleton\\SkeletonFacade" | ||
"FilamentColorpicker": "RVxLab\\FilamentColorpicker\\FilamentColorpickerFacade" | ||
} | ||
} | ||
}, | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.