Skip to content

Commit 7c34842

Browse files
committed
chore: remove prettier
1 parent baab99e commit 7c34842

File tree

177 files changed

+7440
-3570
lines changed

Some content is hidden

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

177 files changed

+7440
-3570
lines changed

.githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -ex
44

55
composer run fix
6-
npm run fix
6+
npm run lint:fix
77

88
if [ -n "$(git diff --name-only)" ]; then
99
git add .

.githooks/pre-push

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
set -ex
4+
5+
composer audit
6+
npm audit

.github/dependabot.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
schedule:
6-
interval: "weekly"
7-
labels:
8-
- "dependencies"
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
labels:
8+
- "dependencies"
99

10-
- package-ecosystem: "composer"
11-
directory: "/"
12-
schedule:
13-
interval: "weekly"
14-
labels:
15-
- "dependencies"
16-
17-
- package-ecosystem: "npm"
18-
directory: "/"
19-
schedule:
20-
interval: "weekly"
21-
labels:
22-
- "dependencies"
10+
- package-ecosystem: composer
11+
directory: /
12+
schedule:
13+
interval: weekly
14+
labels:
15+
- "dependencies"
16+
17+
- package-ecosystem: npm
18+
directory: /
19+
schedule:
20+
interval: weekly
21+
labels:
22+
- "dependencies"
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
name: Dependabot auto-merge
22

33
on:
4-
pull_request_target:
5-
branches:
6-
- feature/golden-path
4+
pull_request_target:
5+
branches:
6+
- feature/golden-path
77

88
permissions:
9-
pull-requests: write
10-
contents: write
9+
pull-requests: write
10+
contents: write
1111

1212
jobs:
13-
dependabot:
14-
runs-on: ubuntu-latest
15-
timeout-minutes: 5
16-
if: ${{ github.actor == 'dependabot[bot]' }}
17-
steps:
13+
dependabot:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
if: ${{ github.actor == 'dependabot[bot]' }}
17+
steps:
1818

19-
- name: Dependabot metadata
20-
id: metadata
21-
uses: dependabot/[email protected]
22-
with:
23-
github-token: "${{ secrets.GITHUB_TOKEN }}"
19+
- name: Dependabot metadata
20+
id: metadata
21+
uses: dependabot/[email protected]
22+
with:
23+
github-token: "${{ secrets.GITHUB_TOKEN }}"
2424

25-
- name: Auto-merge Dependabot PRs for semver-minor updates
26-
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
27-
run: gh pr merge --auto --merge "$PR_URL"
28-
env:
29-
PR_URL: ${{github.event.pull_request.html_url}}
30-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
25+
- name: Auto-merge Dependabot PRs for semver-minor updates
26+
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
27+
run: gh pr merge --auto --merge "$PR_URL"
28+
env:
29+
PR_URL: ${{github.event.pull_request.html_url}}
30+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3131

32-
- name: Auto-merge Dependabot PRs for semver-patch updates
33-
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
34-
run: gh pr merge --auto --merge "$PR_URL"
35-
env:
36-
PR_URL: ${{github.event.pull_request.html_url}}
37-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
32+
- name: Auto-merge Dependabot PRs for semver-patch updates
33+
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
34+
run: gh pr merge --auto --merge "$PR_URL"
35+
env:
36+
PR_URL: ${{github.event.pull_request.html_url}}
37+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
name: Fix code style issues
22

33
on:
4-
push:
5-
branches:
6-
- feature/golden-path
7-
paths:
8-
- '**.php'
9-
- '**.tsx'
10-
- '**.ts'
4+
push:
5+
branches:
6+
- feature/golden-path
7+
paths:
8+
- '**.php'
9+
- '**.tsx'
10+
- '**.ts'
1111

1212
permissions:
13-
contents: write
13+
contents: write
1414

1515
jobs:
16-
php-code-styling:
17-
runs-on: ubuntu-latest
18-
timeout-minutes: 5
19-
20-
steps:
21-
- name: Checkout code
22-
uses: actions/checkout@v4
23-
with:
24-
ref: ${{ github.head_ref }}
25-
26-
- name: Install Dependencies
27-
run: |
28-
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
29-
npm install
30-
31-
- name: Fix PHP code style issues
32-
uses: aglipanci/[email protected]
33-
34-
- name: Fix JS code style issues
35-
run: npm run fmt
36-
37-
- name: Fix JS lint issues
38-
run: npm run lint
39-
40-
- name: Commit changes
41-
uses: stefanzweifel/git-auto-commit-action@v5
42-
with:
43-
commit_message: Fix styling
16+
php-code-styling:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 5
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
with:
24+
ref: ${{ github.head_ref }}
25+
26+
- name: Install Dependencies
27+
run: |
28+
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
29+
npm install
30+
31+
- name: Fix PHP code style issues
32+
uses: aglipanci/[email protected]
33+
34+
- name: Fix JS code style issues
35+
run: npm run fmt
36+
37+
- name: Fix JS lint issues
38+
run: npm run lint
39+
40+
- name: Commit changes
41+
uses: stefanzweifel/git-auto-commit-action@v5
42+
with:
43+
commit_message: Fix styling

.github/workflows/lint.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/run-ci.yml

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
11
name: Run CI
22

33
on:
4-
push:
5-
branches:
6-
- feature/golden-path
7-
pull_request:
8-
branches:
9-
- feature/golden-path
10-
11-
permissions:
12-
contents: write
4+
push:
5+
branches:
6+
- feature/golden-path
7+
pull_request:
8+
branches:
9+
- feature/golden-path
1310

1411
jobs:
15-
ci:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: actions/checkout@v4
12+
ci:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: "8.4"
21+
tools: composer:v2
22+
coverage: xdebug
1923

20-
- name: Setup PHP
21-
uses: shivammathur/setup-php@v2
22-
with:
23-
php-version: '8.4'
24-
coverage: xdebug
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "22"
28+
cache: npm
2529

26-
- name: Run CI checks
27-
run: bin/ci
28-
working-directory: ${{ github.workspace }}
30+
- name: Run CI checks
31+
run: bin/ci
32+
working-directory: ${{ github.workspace }}
2933

30-
- name: Notify Laravel Forge for Deployment
31-
run: curl -X POST ${{ secrets.FORGE_DEPLOYMENT_URL }}
34+
# - name: Notify Laravel Forge for Deployment
35+
# run: curl -X POST ${{ secrets.FORGE_DEPLOYMENT_URL }}

.github/workflows/tests.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ yarn-error.log
2222
/.nova
2323
/.vscode
2424
/.zed
25+
resources/js/ziggy.js

.prettierignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)