Skip to content

Commit 4a2c3b2

Browse files
authored
Merge pull request #430 from jeremykenedy/laravel-10
Laravel 10
2 parents 496b16b + b2a06a3 commit 4a2c3b2

File tree

207 files changed

+55124
-65968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+55124
-65968
lines changed

.editorconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,35 @@ indent_style = space
88
indent_size = 4
99
trim_trailing_whitespace = true
1010

11+
[*.php]
12+
charset = utf-8
13+
end_of_line = lf
14+
insert_final_newline = true
15+
indent_style = space
16+
indent_size = 4
17+
trim_trailing_whitespace = true
18+
1119
[*.md]
1220
trim_trailing_whitespace = false
1321

1422
[*.{yml,yaml}]
1523
indent_size = 2
24+
25+
[docker-compose.yml]
26+
indent_size = 4
27+
28+
[*.js]
29+
indent_style = space
30+
indent_size = 2
31+
32+
[*.ts]
33+
indent_style = space
34+
indent_size = 2
35+
36+
[*.json]
37+
indent_style = space
38+
indent_size = 2
39+
40+
[*.vue]
41+
indent_style = space
42+
indent_size = 2

.env.example

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=true
55
APP_URL=http://localhost
6-
APP_PROJECT_VERSION=8
6+
APP_PROJECT_VERSION=10
77

88
LOG_CHANNEL=stack
99

@@ -50,8 +50,10 @@ PUSHER_APP_KEY=
5050
PUSHER_APP_SECRET=
5151
PUSHER_APP_CLUSTER=
5252

53-
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
54-
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
53+
VITE_APP_ENV="${APP_ENV}"
54+
VITE_APP_NAME="${APP_NAME}"
55+
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
56+
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
5557

5658
ACTIVATION=true
5759
ACTIVATION_LIMIT_TIME_PERIOD=24
@@ -125,10 +127,6 @@ LARAVEL_BLOCKER_BLADE_PLACEMENT_JS='footer_scripts'
125127
LARAVEL_BLOCKER_USE_TYPES_SEED_PUBLISHED=true
126128
LARAVEL_BLOCKER_USE_ITEMS_SEED_PUBLISHED=true
127129

128-
# Roles Default Models
129-
ROLES_DEFAULT_ROLE_MODEL=jeremykenedy\LaravelRoles\Models\Role
130-
ROLES_DEFAULT_PERMISSION_MODEL=jeremykenedy\LaravelRoles\Models\Permission
131-
132130
# Roles database information
133131
ROLES_DATABASE_CONNECTION=null
134132

.eslintrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
},
6+
extends: ["plugin:vue/vue3-essential", "airbnb-base"],
7+
overrides: [],
8+
parserOptions: {
9+
ecmaVersion: "latest",
10+
sourceType: "module",
11+
},
12+
plugins: ["vue"],
13+
rules: {},
14+
};

.gitattributes

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
* text=auto
2-
*.css linguist-vendored
3-
*.scss linguist-vendored
4-
*.js linguist-vendored
1+
* text=auto eol=lf
2+
3+
*.blade.php diff=html
4+
*.css diff=css
5+
*.html diff=html
6+
*.md diff=markdown
7+
*.php diff=php
8+
9+
/.github export-ignore
510
CHANGELOG.md export-ignore
11+
.styleci.yml export-ignore

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**First, take look at:**
10+
1111
1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
1212
2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed
1313

@@ -19,6 +19,7 @@ A clear and concise description of what the bug is.
1919

2020
**To Reproduce**
2121
Steps to reproduce the behavior:
22+
2223
1. Go to '...'
2324
2. Click on '....'
2425
3. Scroll down to '....'
@@ -31,15 +32,17 @@ A clear and concise description of what you expected to happen.
3132
If applicable, add screenshots to help explain your problem.
3233

3334
**Desktop (please complete the following information):**
34-
- OS: [e.g. iOS]
35-
- Browser [e.g. chrome, safari]
36-
- Version [e.g. 22]
35+
36+
- OS: [e.g. iOS]
37+
- Browser [e.g. chrome, safari]
38+
- Version [e.g. 22]
3739

3840
**Smartphone (please complete the following information):**
39-
- Device: [e.g. iPhone6]
40-
- OS: [e.g. iOS8.1]
41-
- Browser [e.g. stock browser, safari]
42-
- Version [e.g. 22]
41+
42+
- Device: [e.g. iPhone6]
43+
- OS: [e.g. iOS8.1]
44+
- Browser [e.g. stock browser, safari]
45+
- Version [e.g. 22]
4346

4447
**Additional context**
4548
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**First, take a look at:**
10+
1111
1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
1212
2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed
1313

.github/ISSUE_TEMPLATE/project-questions-and-help.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: Project Questions and Help
33
about: This is for general questions and help.
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**First, take a look at:**
10+
1111
1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
1212
2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed
1313

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
# Enable version updates for npm
9+
- package-ecosystem: "npm"
10+
# Look for `package.json` and `lock` files in the `root` directory
11+
directory: "/"
12+
# Check the npm registry for updates every day (weekdays)
13+
schedule:
14+
interval: "weekly"

.github/labeler.yml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Add 'repo' label to any root file changes
2+
repo:
3+
- "*"
4+
5+
frontend-core:
6+
- any: ["resources/js/app.js", "resources/js/bootstrap.js"]
7+
8+
# Add 'frontend` label to any change to *.js files as long as the `app.js` hasn't changed
9+
frontend:
10+
- any: ["resources/js/**/*.js", "resources/css/**/*.css"]
11+
all: ["!resources/js/app.js"]
12+
13+
backend:
14+
- any: ["app/**/*.php"]
15+
16+
models:
17+
- any: ["app/Models/**/*.php"]
18+
19+
notifications:
20+
- any: ["app/Notifications/**/*.php"]
21+
22+
providers:
23+
- any: ["app/Providers/**/*.php"]
24+
25+
controllers:
26+
- any: ["app/Http/Controllers/**/*.php"]
27+
28+
app-middleware:
29+
- any: ["app/Http/Middleware/**/*.php", "app/Http/Kernel.php"]
30+
31+
commands-and-crons:
32+
- any: ["app/Console/**/*.php"]
33+
34+
app-requests:
35+
- any: ["app/Http/Requests/**/*.php"]
36+
37+
app-resource-collections:
38+
- any: ["app/Http/Resources/**/*.php"]
39+
40+
config:
41+
- any: ["config/**/*.php", ".env.example"]
42+
43+
database:
44+
- any: ["database/**/*.php"]
45+
46+
migrations:
47+
- any: ["database/migrations/**/*.php"]
48+
49+
seeders:
50+
- any: ["database/seeders/**/*.php"]
51+
52+
core-routing:
53+
- any: ["routes/**/*.php"]
54+
55+
framework:
56+
- any: ["bootstrap/**/*.php"]
57+
58+
tests:
59+
- any: ["tests/**/*.php"]
60+
61+
language:
62+
- any: ["resources/lang/**/*.php"]
63+
64+
css:
65+
- any: ["resources/css/**/*.css"]
66+
67+
images:
68+
- any: ["resources/img/**/*.*"]
69+
70+
storage:
71+
- any: ["storage/**/*.*"]
72+
73+
workflow:
74+
- any: [".github/**/*.*"]
75+
76+
build:
77+
- any: ["*.js", "*.yml", "*.json", "*.ts", "*.xml", "*.travis"]
78+
79+
linting:
80+
- any:
81+
[
82+
".browserslistrc",
83+
".eslintrc.js",
84+
".editorconfig",
85+
".prettierignore",
86+
"prettierrc.json",
87+
]
88+
89+
documentation:
90+
- any: ["*.md", "LICENSE", ".example"]
91+
92+
tailwindcss:
93+
- any:
94+
[
95+
"tailwindcss-perspective.js",
96+
"tailwind.config.js",
97+
"resources/css/**/*.css",
98+
]
99+
100+
vite:
101+
- any: ["vite.config.ts", "tsconfig.vite-config.json", "tsconfig.json"]
102+
103+
vue-components:
104+
- any: ["resources/js/components/**/*.vue"]
105+
106+
vue-layouts:
107+
- any: ["resources/js/layouts/**/*.vue"]
108+
109+
vue-routing:
110+
- any: ["resources/js/router/**/*.js"]
111+
112+
vue-store:
113+
- any: ["resources/js/store/**/*.js"]
114+
115+
vue-middleware:
116+
- any: ["resources/js/middleware/**/*.js"]
117+
118+
vue-services:
119+
- any: ["resources/js/services/**/*.js"]
120+
121+
vue-views:
122+
- any: ["resources/js/views/**/*.vue"]
123+
124+
vue-admin:
125+
- any: ["resources/js/views/admin/**/*.vue"]

.github/workflows/changelog.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Generate changelog
2+
on:
3+
release:
4+
types: [created, edited]
5+
6+
jobs:
7+
generate-changelog:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- uses: BobAnkh/[email protected]
14+
with:
15+
REPO_NAME: "jeremykenedy/laravel-spa"
16+
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
17+
PATH: "CHANGELOG.md"
18+
COMMIT_MESSAGE: "docs(CHANGELOG): update release notes"
19+
TYPE: "feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements"
20+
REGENERATE_COUNT: -1
21+
PULL_REQUEST: true
22+
BRANCH: "master"

0 commit comments

Comments
 (0)