Skip to content

Commit ef8b1cf

Browse files
committed
Run linter - dprint check - dprint fmt
1 parent fd1f675 commit ef8b1cf

File tree

7 files changed

+51
-50
lines changed

7 files changed

+51
-50
lines changed

.github/workflows/git-clone-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test-git-clone:
13-
name: 'Test git clone on ${{ matrix.os }}'
13+
name: "Test git clone on ${{ matrix.os }}"
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121

2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.x'
25-
architecture: 'x64'
24+
python-version: "3.x"
25+
architecture: "x64"
2626

2727
- name: Install dependencies
2828
run: |

.github/workflows/wrangler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
name: 🤓 😎 Site
1313
steps:
1414
- uses: actions/checkout@v4
15-
15+
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '22'
20-
19+
node-version: "22"
20+
2121
- name: 🚀 Publish
2222
uses: cloudflare/wrangler-action@v3
2323
with:
2424
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
2525
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
26-
workingDirectory: 'packages/cfsite'
26+
workingDirectory: "packages/cfsite"
2727
command: deploy

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ Read below for instructions about the current static development site hosted on
1515

1616
## About Brisbane Social Chess
1717

18-
Brisbane Social Chess is a community-focused website dedicated to chess enthusiasts in Brisbane.
18+
Brisbane Social Chess is a community-focused website dedicated to chess enthusiasts in Brisbane.\
1919
Our goal is to provide news, events, resources, and a platform for social chess activities.
2020

2121
---
2222

2323
## Features
2424

25-
- Responsive and modern website
26-
- Easy content management via Markdown files
25+
- Responsive and modern website
26+
- Easy content management via Markdown files
2727
- Static site generated using [Zola](https://www.getzola.org/) — a fast, Rust-powered static site generator similar to Jekyll
2828

2929
---
@@ -32,15 +32,16 @@ Our goal is to provide news, events, resources, and a platform for social chess
3232

3333
### Install Zola
3434

35-
Download and install Zola from the [official releases page](https://github.com/getzola/zola/releases).
36-
- For Windows: download the latest ZIP file containing the `.exe`
35+
Download and install Zola from the [official releases page](https://github.com/getzola/zola/releases).
36+
37+
- For Windows: download the latest ZIP file containing the `.exe`
3738
- For macOS/Linux: follow the installation instructions on [Zola’s docs](https://www.getzola.org/documentation/getting-started/installation/)
3839

3940
Verify installation by running:
4041

4142
```bash
4243
zola -V
43-
````
44+
```
4445

4546
Expected output:
4647

@@ -87,9 +88,9 @@ The output will be in the `public/` directory, ready to be served or deployed.
8788

8889
### Customize Your Site
8990

90-
* Edit `config.toml` to update site metadata such as title and base URL
91-
* Add or modify Markdown files in the `content/` directory to change site content
92-
* Customize templates and static assets in `templates/` and `static/` folders as needed
91+
- Edit `config.toml` to update site metadata such as title and base URL
92+
- Add or modify Markdown files in the `content/` directory to change site content
93+
- Customize templates and static assets in `templates/` and `static/` folders as needed
9394

9495
---
9596

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"files.associations": {
3-
"wrangler.json": "jsonc"
4-
}
2+
"files.associations": {
3+
"wrangler.json": "jsonc"
4+
}
55
}

packages/cfsite/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "cfsite",
3-
"version": "0.0.0",
4-
"private": true,
5-
"scripts": {
6-
"deploy": "wrangler deploy",
7-
"dev": "wrangler dev",
8-
"start": "wrangler dev",
9-
"test": "vitest"
10-
},
11-
"devDependencies": {
12-
"@cloudflare/vitest-pool-workers": "^0.8.19",
13-
"vitest": "~3.2.0",
14-
"wrangler": "^4.23.0"
15-
}
2+
"name": "cfsite",
3+
"version": "0.0.0",
4+
"private": true,
5+
"scripts": {
6+
"deploy": "wrangler deploy",
7+
"dev": "wrangler dev",
8+
"start": "wrangler dev",
9+
"test": "vitest"
10+
},
11+
"devDependencies": {
12+
"@cloudflare/vitest-pool-workers": "^0.8.19",
13+
"vitest": "~3.2.0",
14+
"wrangler": "^4.23.0"
15+
}
1616
}

packages/cfsite/wrangler.jsonc

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,45 @@
33
* https://developers.cloudflare.com/workers/wrangler/configuration/
44
*/
55
{
6-
"$schema": "node_modules/wrangler/config-schema.json",
7-
"name": "cfsite",
8-
"main": "src/index.js",
9-
"compatibility_date": "2025-07-05",
10-
"observability": {
11-
"enabled": true
12-
}
13-
/**
6+
"$schema": "node_modules/wrangler/config-schema.json",
7+
"name": "cfsite",
8+
"main": "src/index.js",
9+
"compatibility_date": "2025-07-05",
10+
"observability": {
11+
"enabled": true,
12+
},
13+
/**
1414
* Smart Placement
1515
* Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
1616
*/
17-
// "placement": { "mode": "smart" },
17+
// "placement": { "mode": "smart" },
1818

19-
/**
19+
/**
2020
* Bindings
2121
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
2222
* databases, object storage, AI inference, real-time communication and more.
2323
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
2424
*/
2525

26-
/**
26+
/**
2727
* Environment Variables
2828
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
2929
*/
30-
// "vars": { "MY_VARIABLE": "production_value" },
31-
/**
30+
// "vars": { "MY_VARIABLE": "production_value" },
31+
/**
3232
* Note: Use secrets to store sensitive data.
3333
* https://developers.cloudflare.com/workers/configuration/secrets/
3434
*/
3535

36-
/**
36+
/**
3737
* Static Assets
3838
* https://developers.cloudflare.com/workers/static-assets/binding/
3939
*/
40-
// "assets": { "directory": "./public/", "binding": "ASSETS" },
40+
// "assets": { "directory": "./public/", "binding": "ASSETS" },
4141

42-
/**
42+
/**
4343
* Service Bindings (communicate between multiple Workers)
4444
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
4545
*/
46-
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
46+
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
4747
}

0 commit comments

Comments
 (0)