Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 59eec96

Browse files
author
Andrelec1
committedFeb 27, 2022
🎉 Init(All): inital commit
0 parents  commit 59eec96

File tree

9 files changed

+131
-0
lines changed

9 files changed

+131
-0
lines changed
 

‎.cz-config.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
module.exports = {
2+
types: [
3+
{ value: '✨ feat', name: 'feat: A new feature' },
4+
{ value: '🐛 fix', name: 'fix: A bug fix' },
5+
{ value: '📚 docs', name: 'docs: Documentation only changes' },
6+
{ value: '💄 style', name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)' },
7+
{ value: '🔨 refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature' },
8+
{ value: '💡 perf', name: 'perf: A code change that improves performance'},
9+
{ value: '🚨 test', name: 'test: When you need to test in prod :/' },
10+
{ value: '🎉 Init', name: 'Init: Init Project' },
11+
],
12+
13+
scopes: [
14+
{ name: 'All' },
15+
{ name: 'Index' },
16+
{ name: 'Model' },
17+
{ name: 'ContentModifier' },
18+
],
19+
20+
allowTicketNumber: false,
21+
isTicketNumberRequired: false,
22+
ticketNumberPrefix: 'TICKET-',
23+
ticketNumberRegExp: '\\d{1,5}',
24+
25+
messages: {
26+
type: "Select the type of change that you're committing:",
27+
scope: '\nDenote the SCOPE of this change (optional):',
28+
// used if allowCustomScopes is true
29+
customScope: 'Denote the SCOPE of this change:',
30+
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
31+
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
32+
confirmCommit: 'Are you sure you want to proceed with the commit above?',
33+
},
34+
35+
allowCustomScopes: true,
36+
allowBreakingChanges: ['feat', 'fix'],
37+
// skip any questions you want
38+
skipQuestions: ['body'],
39+
40+
// limit subject length
41+
subjectLimit: 100,
42+
};

‎.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
/vendor
3+
/node_modules

‎bin/composer.phar

2.25 MB
Binary file not shown.

‎composer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "andrelec1/docdocgenerator",
3+
"description": "generate doc with docgenerator",
4+
"version": "1.0.3",
5+
"require": {
6+
"php": "^8.1"
7+
},
8+
"type": "library",
9+
"autoload": {
10+
"psr-4": {
11+
"App\\": "src/"
12+
}
13+
},
14+
"authors": [
15+
{
16+
"name": "Andrelec1"
17+
}
18+
],
19+
"require-dev": {
20+
"symfony/var-dumper": "^6.0"
21+
}
22+
}

‎docker-compose.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: '3.1'
2+
3+
services:
4+
php:
5+
image: devilbox/php-fpm-8.1:latest
6+
volumes:
7+
- .:/var/www/default/htdocs
8+
9+
nginx:
10+
image: devilbox/nginx-stable:latest
11+
volumes:
12+
- .:/var/www/default/htdocs
13+
ports:
14+
- 8080:80
15+
links:
16+
- php
17+
environment:
18+
- "PHP_FPM_ENABLE=1"
19+
- "PHP_FPM_SERVER_ADDR=php"

‎index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
header('Location: http://localhost:8080/public');

‎package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "docdocgenerator",
3+
"version": "1.0.2",
4+
"description": "documentation generator with docgenerator",
5+
"main": " ",
6+
"scripts": {
7+
"build-inc": "node_modules/.bin/vik patch",
8+
"build-tag": "(node -p \"require('./package.json').version\" | xargs git tag) && git push --tags",
9+
"build-bump": "npm run build-inc && git add . && git commit -m '🔖 Version Bump' && git push --follow-tags",
10+
"dc-up": "docker-compose up --build"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/andrelec1/DocDocGenerator.git"
15+
},
16+
"author": "Andrelec1",
17+
"license": "ISC",
18+
"bugs": {
19+
"url": "https://github.com/andrelec1/DocDocGenerator/issues"
20+
},
21+
"devDependencies": {
22+
"cz-customizable": "^6.3.0",
23+
"grunt": "^1.4.0",
24+
"vik": "git+https://github.com/andrelec1/vik.git"
25+
},
26+
"config": {
27+
"commitizen": {
28+
"path": "node_modules/cz-customizable"
29+
},
30+
"cz-customizable": {
31+
"config": ".cz-config.js"
32+
}
33+
}
34+
}

‎public/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php

‎src/Kernel.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace App;
4+
5+
class Kernel
6+
{
7+
8+
}

0 commit comments

Comments
 (0)
Please sign in to comment.