Skip to content

Commit

Permalink
Merge pull request #430 from jeremykenedy/laravel-10
Browse files Browse the repository at this point in the history
Laravel 10
  • Loading branch information
jeremykenedy authored Feb 27, 2023
2 parents 496b16b + b2a06a3 commit 4a2c3b2
Show file tree
Hide file tree
Showing 207 changed files with 55,124 additions and 65,968 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,35 @@ indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.php]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[docker-compose.yml]
indent_size = 4

[*.js]
indent_style = space
indent_size = 2

[*.ts]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2

[*.vue]
indent_style = space
indent_size = 2
12 changes: 5 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_PROJECT_VERSION=8
APP_PROJECT_VERSION=10

LOG_CHANNEL=stack

Expand Down Expand Up @@ -50,8 +50,10 @@ PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
VITE_APP_ENV="${APP_ENV}"
VITE_APP_NAME="${APP_NAME}"
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

ACTIVATION=true
ACTIVATION_LIMIT_TIME_PERIOD=24
Expand Down Expand Up @@ -125,10 +127,6 @@ LARAVEL_BLOCKER_BLADE_PLACEMENT_JS='footer_scripts'
LARAVEL_BLOCKER_USE_TYPES_SEED_PUBLISHED=true
LARAVEL_BLOCKER_USE_ITEMS_SEED_PUBLISHED=true

# Roles Default Models
ROLES_DEFAULT_ROLE_MODEL=jeremykenedy\LaravelRoles\Models\Role
ROLES_DEFAULT_PERMISSION_MODEL=jeremykenedy\LaravelRoles\Models\Permission

# Roles database information
ROLES_DATABASE_CONNECTION=null

Expand Down
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ["plugin:vue/vue3-essential", "airbnb-base"],
overrides: [],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["vue"],
rules: {},
};
14 changes: 10 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
* text=auto eol=lf

*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore
25 changes: 14 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**First, take look at:**

1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed

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

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -31,15 +32,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**First, take a look at:**

1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed

Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/project-questions-and-help.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: Project Questions and Help
about: This is for general questions and help.
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**First, take a look at:**

1. https://github.com/jeremykenedy/laravel-auth#opening-an-issue
2. https://github.com/jeremykenedy/laravel-auth/issues?q=is%3Aissue+is%3Aclosed

Expand Down
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "weekly"
125 changes: 125 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Add 'repo' label to any root file changes
repo:
- "*"

frontend-core:
- any: ["resources/js/app.js", "resources/js/bootstrap.js"]

# Add 'frontend` label to any change to *.js files as long as the `app.js` hasn't changed
frontend:
- any: ["resources/js/**/*.js", "resources/css/**/*.css"]
all: ["!resources/js/app.js"]

backend:
- any: ["app/**/*.php"]

models:
- any: ["app/Models/**/*.php"]

notifications:
- any: ["app/Notifications/**/*.php"]

providers:
- any: ["app/Providers/**/*.php"]

controllers:
- any: ["app/Http/Controllers/**/*.php"]

app-middleware:
- any: ["app/Http/Middleware/**/*.php", "app/Http/Kernel.php"]

commands-and-crons:
- any: ["app/Console/**/*.php"]

app-requests:
- any: ["app/Http/Requests/**/*.php"]

app-resource-collections:
- any: ["app/Http/Resources/**/*.php"]

config:
- any: ["config/**/*.php", ".env.example"]

database:
- any: ["database/**/*.php"]

migrations:
- any: ["database/migrations/**/*.php"]

seeders:
- any: ["database/seeders/**/*.php"]

core-routing:
- any: ["routes/**/*.php"]

framework:
- any: ["bootstrap/**/*.php"]

tests:
- any: ["tests/**/*.php"]

language:
- any: ["resources/lang/**/*.php"]

css:
- any: ["resources/css/**/*.css"]

images:
- any: ["resources/img/**/*.*"]

storage:
- any: ["storage/**/*.*"]

workflow:
- any: [".github/**/*.*"]

build:
- any: ["*.js", "*.yml", "*.json", "*.ts", "*.xml", "*.travis"]

linting:
- any:
[
".browserslistrc",
".eslintrc.js",
".editorconfig",
".prettierignore",
"prettierrc.json",
]

documentation:
- any: ["*.md", "LICENSE", ".example"]

tailwindcss:
- any:
[
"tailwindcss-perspective.js",
"tailwind.config.js",
"resources/css/**/*.css",
]

vite:
- any: ["vite.config.ts", "tsconfig.vite-config.json", "tsconfig.json"]

vue-components:
- any: ["resources/js/components/**/*.vue"]

vue-layouts:
- any: ["resources/js/layouts/**/*.vue"]

vue-routing:
- any: ["resources/js/router/**/*.js"]

vue-store:
- any: ["resources/js/store/**/*.js"]

vue-middleware:
- any: ["resources/js/middleware/**/*.js"]

vue-services:
- any: ["resources/js/services/**/*.js"]

vue-views:
- any: ["resources/js/views/**/*.vue"]

vue-admin:
- any: ["resources/js/views/admin/**/*.vue"]
22 changes: 22 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Generate changelog
on:
release:
types: [created, edited]

jobs:
generate-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: BobAnkh/[email protected]
with:
REPO_NAME: "jeremykenedy/laravel-spa"
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
PATH: "CHANGELOG.md"
COMMIT_MESSAGE: "docs(CHANGELOG): update release notes"
TYPE: "feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements"
REGENERATE_COUNT: -1
PULL_REQUEST: true
BRANCH: "master"
Loading

0 comments on commit 4a2c3b2

Please sign in to comment.