gitignore cleanup for bootstrapping

This commit is contained in:
Benjamin Takats
2022-11-29 20:31:02 +01:00
parent cce4f1e9bc
commit 609ca4739b
7 changed files with 131 additions and 36 deletions

View File

@@ -2,7 +2,10 @@
"name": "laravel/laravel", "name": "laravel/laravel",
"type": "project", "type": "project",
"description": "The Laravel Framework.", "description": "The Laravel Framework.",
"keywords": ["framework", "laravel"], "keywords": [
"framework",
"laravel"
],
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^8.1", "php": "^8.1",
@@ -14,6 +17,7 @@
"livewire/livewire": "^2.5" "livewire/livewire": "^2.5"
}, },
"require-dev": { "require-dev": {
"naoray/blueprint-nova-addon": "dev-master#a7791033d1cb68d4e82631305e26b64e18464494",
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"fidum/laravel-blueprint-pestphp-addon": "^2.2", "fidum/laravel-blueprint-pestphp-addon": "^2.2",
"jasonmccreary/laravel-test-assertions": "^2.1", "jasonmccreary/laravel-test-assertions": "^2.1",
@@ -50,7 +54,8 @@
], ],
"post-create-project-cmd": [ "post-create-project-cmd": [
"@php artisan key:generate --ansi" "@php artisan key:generate --ansi"
] ],
"blueprint": "php artisan blueprint:erase && php artisan blueprint:build && php artisan migrate:fresh --seed"
}, },
"extra": { "extra": {
"laravel": { "laravel": {
@@ -66,5 +71,11 @@
} }
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true "prefer-stable": true,
"repositories": [
{
"type": "vcs",
"url": "https://github.com/affektde/blueprint-nova-addon"
}
]
} }

120
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "b688b365bafc4372895765268dab540c", "content-hash": "1f8fd1523946b409c720bda1df3eab4e",
"packages": [ "packages": [
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
@@ -1135,16 +1135,16 @@
}, },
{ {
"name": "laravel/fortify", "name": "laravel/fortify",
"version": "v1.13.7", "version": "v1.14.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/fortify.git", "url": "https://github.com/laravel/fortify.git",
"reference": "28c2dc66639571ac656c13617a1a0876a82319b1" "reference": "20aeaf31edbf01e21348954088641cdb3d48ebe8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/fortify/zipball/28c2dc66639571ac656c13617a1a0876a82319b1", "url": "https://api.github.com/repos/laravel/fortify/zipball/20aeaf31edbf01e21348954088641cdb3d48ebe8",
"reference": "28c2dc66639571ac656c13617a1a0876a82319b1", "reference": "20aeaf31edbf01e21348954088641cdb3d48ebe8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1194,20 +1194,20 @@
"issues": "https://github.com/laravel/fortify/issues", "issues": "https://github.com/laravel/fortify/issues",
"source": "https://github.com/laravel/fortify" "source": "https://github.com/laravel/fortify"
}, },
"time": "2022-11-04T20:57:17+00:00" "time": "2022-11-23T09:03:43+00:00"
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v9.41.0", "version": "v9.42.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "cc902ce61b4ca08ca7449664cfab2fa96a1d1e28" "reference": "0bb828f0b8d1b320cac0b71874807ea2f334ea89"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/cc902ce61b4ca08ca7449664cfab2fa96a1d1e28", "url": "https://api.github.com/repos/laravel/framework/zipball/0bb828f0b8d1b320cac0b71874807ea2f334ea89",
"reference": "cc902ce61b4ca08ca7449664cfab2fa96a1d1e28", "reference": "0bb828f0b8d1b320cac0b71874807ea2f334ea89",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1380,7 +1380,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2022-11-22T15:10:46+00:00" "time": "2022-11-29T15:18:16+00:00"
}, },
{ {
"name": "laravel/jetstream", "name": "laravel/jetstream",
@@ -6802,16 +6802,16 @@
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.2.0", "version": "v1.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "1d276e4c803397a26cc337df908f55c2a4e90d86" "reference": "e60e2112ee779ce60f253695b273d1646a17d6f1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/1d276e4c803397a26cc337df908f55c2a4e90d86", "url": "https://api.github.com/repos/laravel/pint/zipball/e60e2112ee779ce60f253695b273d1646a17d6f1",
"reference": "1d276e4c803397a26cc337df908f55c2a4e90d86", "reference": "e60e2112ee779ce60f253695b273d1646a17d6f1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6823,10 +6823,10 @@
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.11.0", "friendsofphp/php-cs-fixer": "^3.11.0",
"illuminate/view": "^9.27", "illuminate/view": "^9.32.0",
"laravel-zero/framework": "^9.1.3", "laravel-zero/framework": "^9.2.0",
"mockery/mockery": "^1.5.0", "mockery/mockery": "^1.5.1",
"nunomaduro/larastan": "^2.2", "nunomaduro/larastan": "^2.2.0",
"nunomaduro/termwind": "^1.14.0", "nunomaduro/termwind": "^1.14.0",
"pestphp/pest": "^1.22.1" "pestphp/pest": "^1.22.1"
}, },
@@ -6864,7 +6864,7 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2022-09-13T15:07:15+00:00" "time": "2022-11-29T16:25:20+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
@@ -7057,6 +7057,80 @@
], ],
"time": "2022-03-03T13:19:32+00:00" "time": "2022-03-03T13:19:32+00:00"
}, },
{
"name": "naoray/blueprint-nova-addon",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/affektde/blueprint-nova-addon.git",
"reference": "a7791033d1cb68d4e82631305e26b64e18464494"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/affektde/blueprint-nova-addon/zipball/a7791033d1cb68d4e82631305e26b64e18464494",
"reference": "a7791033d1cb68d4e82631305e26b64e18464494",
"shasum": ""
},
"require": {
"illuminate/pipeline": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"laravel-shift/blueprint": "^1.18 || ^2.0"
},
"require-dev": {
"mockery/mockery": "^1.3",
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0",
"phpunit/phpunit": "^9.0"
},
"default-branch": true,
"type": "library",
"extra": {
"laravel": {
"providers": [
"Naoray\\BlueprintNovaAddon\\BlueprintNovaAddonServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Naoray\\BlueprintNovaAddon\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Naoray\\BlueprintNovaAddon\\Tests\\": "tests"
}
},
"scripts": {
"test": [
"vendor/bin/phpunit"
]
},
"license": [
"MIT"
],
"authors": [
{
"name": "Krishan König",
"email": "krishan.koenig@gmail.com",
"role": "Developer"
}
],
"homepage": "https://github.com/naoray/blueprint-nova-addon",
"keywords": [
"blueprint-nova-addon",
"naoray"
],
"support": {
"source": "https://github.com/affektde/blueprint-nova-addon/tree/master"
},
"funding": [
{
"type": "github",
"url": "https://github.com/Naoray"
}
],
"time": "2022-05-21T13:21:07+00:00"
},
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v6.3.1", "version": "v6.3.1",
@@ -9112,11 +9186,13 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": [], "stability-flags": {
"naoray/blueprint-nova-addon": 20
},
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": "^8.0.2" "php": "^8.1"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.3.0" "plugin-api-version": "2.3.0"

View File

@@ -134,7 +134,7 @@ return [
'features' => [ 'features' => [
Features::registration(), Features::registration(),
Features::resetPasswords(), Features::resetPasswords(),
// Features::emailVerification(), Features::emailVerification(),
Features::updateProfileInformation(), Features::updateProfileInformation(),
Features::updatePasswords(), Features::updatePasswords(),
Features::twoFactorAuthentication([ Features::twoFactorAuthentication([

View File

@@ -58,8 +58,8 @@ return [
*/ */
'features' => [ 'features' => [
// Features::termsAndPrivacyPolicy(), Features::termsAndPrivacyPolicy(),
// Features::profilePhotos(), Features::profilePhotos(),
// Features::api(), // Features::api(),
Features::teams(['invitations' => true]), Features::teams(['invitations' => true]),
Features::accountDeletion(), Features::accountDeletion(),

4
database/migrations/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
!2014_*
!2019_*
!2020_*
2022_*

View File

@@ -3,22 +3,26 @@
namespace Database\Seeders; namespace Database\Seeders;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents; // use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use App\Models\User;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder class DatabaseSeeder extends Seeder
{ {
/** /**
* Seed the application's database. * Seed the application's database.
*
* @return void * @return void
*/ */
public function run() public function run()
{ {
// \App\Models\User::factory(10)->create(); User::factory()
->count(5)
->withPersonalTeam()
->create();
// \App\Models\User::factory()->create([ $this->call([
// 'name' => 'Test User', CountrySeeder::class,
// 'email' => 'test@example.com', CitySeeder::class,
// ]); LecturerSeeder::class,
]);
} }
} }