Skip to content

Commit 3508cd7

Browse files
committed
Format more files
1 parent ab9bbbd commit 3508cd7

File tree

5 files changed

+81
-81
lines changed

5 files changed

+81
-81
lines changed

.codesandbox/tasks.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
{
2-
// These tasks will run in order when initializing your CodeSandbox project.
3-
"setupTasks": [
4-
{
5-
"name": "Install Dependencies",
6-
"command": "npm install"
7-
}
8-
],
2+
// These tasks will run in order when initializing your CodeSandbox project.
3+
"setupTasks": [
4+
{
5+
"name": "Install Dependencies",
6+
"command": "npm install"
7+
}
8+
],
99

10-
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
11-
"tasks": {
12-
"start": {
13-
"name": "start",
14-
"command": "npm start",
15-
"runAtStart": true,
16-
"preview": {
17-
"port": 3000
18-
}
19-
},
20-
"build": {
21-
"name": "build",
22-
"command": "npm build"
23-
},
24-
"test": {
25-
"name": "test",
26-
"command": "npm test"
27-
},
28-
"eject": {
29-
"name": "eject",
30-
"command": "npm eject"
10+
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
11+
"tasks": {
12+
"start": {
13+
"name": "start",
14+
"command": "npm start",
15+
"runAtStart": true,
16+
"preview": {
17+
"port": 3000
18+
}
19+
},
20+
"build": {
21+
"name": "build",
22+
"command": "npm build"
23+
},
24+
"test": {
25+
"name": "test",
26+
"command": "npm test"
27+
},
28+
"eject": {
29+
"name": "eject",
30+
"command": "npm eject"
31+
}
3132
}
32-
}
3333
}

.github/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
10-
schedule:
11-
interval: "weekly"
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/dependabot-merge.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@ name: Dependabot auto-merge
22
on: pull_request
33

44
permissions:
5-
contents: write
6-
pull-requests: write
5+
contents: write
6+
pull-requests: write
77

88
jobs:
9-
dependabot:
10-
runs-on: ubuntu-latest
11-
if: github.actor == 'dependabot[bot]'
12-
steps:
13-
- name: Dependabot metadata
14-
id: metadata
15-
uses: dependabot/fetch-metadata@v2
16-
with:
17-
github-token: "${{ secrets.GITHUB_TOKEN }}"
18-
- name: Approve a PR
19-
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
20-
run: gh pr review --approve "$PR_URL"
21-
env:
22-
PR_URL: ${{github.event.pull_request.html_url}}
23-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24-
- name: Enable auto-merge for Dependabot PRs
25-
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
26-
run: gh pr merge --auto --merge "$PR_URL"
27-
env:
28-
PR_URL: ${{github.event.pull_request.html_url}}
29-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: github.actor == 'dependabot[bot]'
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@v2
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
- name: Approve a PR
19+
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
20+
run: gh pr review --approve "$PR_URL"
21+
env:
22+
PR_URL: ${{github.event.pull_request.html_url}}
23+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24+
- name: Enable auto-merge for Dependabot PRs
25+
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
26+
run: gh pr merge --auto --merge "$PR_URL"
27+
env:
28+
PR_URL: ${{github.event.pull_request.html_url}}
29+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/docs.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: docs
22
on:
3-
push:
4-
branches:
5-
- master
3+
push:
4+
branches:
5+
- master
66
permissions:
7-
contents: write
7+
contents: write
88
jobs:
9-
deploy:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- name: Configure Git Credentials
14-
run: |
15-
git config user.name github-actions[bot]
16-
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17-
- uses: actions/setup-python@v5
18-
with:
19-
python-version: 3.x
20-
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21-
- uses: actions/cache@v4
22-
with:
23-
key: mkdocs-material-${{ env.cache_id }}
24-
path: .cache
25-
restore-keys: |
26-
mkdocs-material-
27-
- run: pip install mkdocs-material
28-
- run: mkdocs gh-deploy --force
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Configure Git Credentials
14+
run: |
15+
git config user.name github-actions[bot]
16+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: 3.x
20+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21+
- uses: actions/cache@v4
22+
with:
23+
key: mkdocs-material-${{ env.cache_id }}
24+
path: .cache
25+
restore-keys: |
26+
mkdocs-material-
27+
- run: pip install mkdocs-material
28+
- run: mkdocs gh-deploy --force

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"tabWidth": 4,
33
"printWidth": 80
4-
}
4+
}

0 commit comments

Comments
 (0)