Skip to content
This repository was archived by the owner on Aug 31, 2024. It is now read-only.

Commit 26255a2

Browse files
committed
system: update docu
1 parent 83c80c2 commit 26255a2

File tree

5 files changed

+214
-3
lines changed

5 files changed

+214
-3
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ php artisan serve
4242
@version('full')
4343
@version('compact')
4444
````
45+
46+
## Functions
47+
* Laravel Changelog - see https://github.com/markwalet/laravel-changelog
48+
* Version Handling - see https://github.com/antonioribeiro/version
49+
*

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"laravel/sanctum": "^v3.0.1",
1414
"laravel/tinker": "^v2.7.3",
1515
"livewire/livewire": "^v2.10.7",
16+
"markwalet/laravel-changelog": "^1.7",
1617
"pragmarx/version": "^1.3"
1718
},
1819
"require-dev": {
@@ -37,8 +38,7 @@
3738
"scripts": {
3839
"post-autoload-dump": [
3940
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
40-
"@php artisan package:discover --ansi",
41-
"@php artisan version:refresh"
41+
"@php artisan package:discover --ansi"
4242
],
4343
"post-update-cmd": [
4444
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"

composer.lock

Lines changed: 143 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/changelog.php

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?php
2+
3+
use MarkWalet\Changelog\Formatters\MarkdownChangelogFormatter;
4+
use MarkWalet\Changelog\Formatters\SlackChangelogFormatter;
5+
use MarkWalet\Changelog\Formatters\TextChangelogFormatter;
6+
7+
return [
8+
/*
9+
|--------------------------------------------------------------------------
10+
| Path
11+
|--------------------------------------------------------------------------
12+
|
13+
| The base path determines where all the changes are stored on
14+
| the filesystem. This is a folder that will contain all
15+
| the different versions in sub-folders.
16+
|
17+
*/
18+
19+
'path' => base_path('.changes'),
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| Changelog path
24+
|--------------------------------------------------------------------------
25+
|
26+
| The changelog path determines where the generated changelog
27+
| markdown file will be stored. Most of the time this is
28+
| in the root of your repository.
29+
|
30+
*/
31+
32+
'changelog_path' => base_path('CHANGELOG.md'),
33+
34+
/*
35+
|--------------------------------------------------------------------------
36+
| Formatters
37+
|--------------------------------------------------------------------------
38+
|
39+
| The formatters output a string based on a given list of releases. These
40+
| formatters are separated in 2 types. A `text` formatter for CLI output.
41+
| And a `markdown` formatter for the generation of the changelog file.
42+
|
43+
*/
44+
45+
'formatters' => [
46+
'text' => [
47+
'driver' => TextChangelogFormatter::class,
48+
'capitalize' => true,
49+
],
50+
'markdown' => [
51+
'driver' => MarkdownChangelogFormatter::class,
52+
'capitalize' => true,
53+
],
54+
'slack' => [
55+
'driver' => SlackChangelogFormatter::class,
56+
'capitalize' => true,
57+
],
58+
],
59+
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Release Notes
2+
3+
{{ $content }}
4+
5+
This file was generated by [markwalet/laravel-changelog](https://github.com/markwalet/laravel-changelog)

0 commit comments

Comments
 (0)