Skip to content

Commit f6d39f6

Browse files
committed
chore: update docs, configs and dependencies
- Update todo.md and README.md by removing completed tasks - Add markdownlint extension to vscode recommendations - Update image domains in astro config and docs - Reorder cSpell words in vscode settings - Change pnpm install flag to --frozen-lockfile in CI - Update Node.js version references in lockfile docs
1 parent c7beec3 commit f6d39f6

File tree

12 files changed

+33
-44
lines changed

12 files changed

+33
-44
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cache: 'pnpm'
3434

3535
- name: Install dependencies
36-
run: pnpm install --no-frozen-lockfile
36+
run: pnpm install --frozen-lockfile
3737

3838
- name: Check formatting
3939
run: pnpm biome format .

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"bradlc.vscode-tailwindcss",
55
"biomejs.biome",
66
"streetsidesoftware.code-spell-checker",
7-
"ms-vscode.vscode-typescript-next"
7+
"ms-vscode.vscode-typescript-next",
8+
"davidanson.vscode-markdownlint"
89
],
910
"unwantedRecommendations": []
1011
}

.vscode/settings.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@
2929
],
3030
"cSpell.words": [
3131
"astro",
32-
"tailwindcss",
33-
"vitepress",
34-
"shadcn",
35-
"preact",
36-
"svelte",
32+
"biome",
33+
"deno",
34+
"dprint",
35+
"esbuild",
3736
"nextjs",
3837
"nuxt",
38+
"obuild",
39+
"pnpm",
40+
"preact",
3941
"qwik",
4042
"rollup",
41-
"esbuild",
42-
"rspack",
4343
"rsbuild",
44-
"vitest",
45-
"deno",
46-
"pnpm",
4744
"rslib",
48-
"obuild",
49-
"biome",
50-
"dprint",
45+
"rspack",
46+
"shadcn",
47+
"svelte",
48+
"tailwindcss",
49+
"vitepress",
50+
"vitest",
5151
"webdriverio"
5252
]
53-
}
53+
}

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Frontend Tools Explorer
2-
31
<div align="center">
42

53
# Frontend Tools Explorer
@@ -160,10 +158,8 @@ Project Link: [https://github.com/wilsonwangdev/frontend-tools-explorer](https:/
160158
We're constantly working to improve Frontend Tools Explorer. Here are some features we're planning to add:
161159

162160
- Pagination for better performance with large datasets
163-
- Enhanced search capabilities
164161
- Tool comparison feature
165162
- User reviews and ratings
166-
- Dark mode support
167163

168164
See the [open issues](https://github.com/wilsonwangdev/frontend-tools-explorer/issues) for a full list of proposed features and known issues.
169165

astro.config.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export default defineConfig({
1010
image: {
1111
// Enable built-in image optimization
1212
domains: [
13-
'rspack.dev',
14-
'static.npmjs.com',
15-
'react.dev',
16-
'vuejs.org',
17-
'raw.githubusercontent.com'
13+
'bun.sh',
14+
'upload.wikimedia.org',
15+
'avatars.githubusercontent.com',
16+
'cdn.jsdelivr.net',
17+
'pnpm.io'
1818
]
1919
},
2020

docs/IMAGE-PROCESSING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Our project uses Astro's built-in image optimization, configured in `astro.confi
2222
image: {
2323
// Enable built-in image optimization
2424
domains: [
25-
'rspack.dev',
26-
'static.npmjs.com',
27-
'react.dev',
28-
'vuejs.org',
29-
'raw.githubusercontent.com'
25+
'bun.sh',
26+
'upload.wikimedia.org',
27+
'avatars.githubusercontent.com',
28+
'cdn.jsdelivr.net',
29+
'pnpm.io',
3030
]
3131
}
3232
```

docs/LINTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ biome check .
3030
biome format --write .
3131
```
3232

33-
34-
3533
## Features Summary
3634

3735
| Feature | Biome | markdownlint-cli2 |

docs/LOCKFILE-MANAGEMENT.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ This project now uses Node.js v22 LTS (codename 'Jod'), which provides several b
9393

9494
### For CI Environments
9595

96-
1. **Use `--no-frozen-lockfile` in CI**:
96+
1. **Use `--frozen-lockfile` in CI**:
9797
```yaml
9898
# In GitHub Actions workflow
9999
- name: Install dependencies
100-
run: pnpm install --no-frozen-lockfile
100+
run: pnpm install --frozen-lockfile
101101
```
102102
103103
2. **Ensure complete repository history**:
@@ -167,8 +167,8 @@ If you encounter `ERR_PNPM_UNSUPPORTED_ENGINE` errors:
167167
- If using other Node.js installation methods, download and install the LTS version from [nodejs.org](https://nodejs.org/)
168168

169169
3. **Update project configuration** (if necessary):
170-
- Update `.nvmrc` to specify the LTS Node.js version (currently 22.17.0)
171-
- Update `engines` field in `package.json` to require Node.js >=22.0.0
170+
- Update `.nvmrc` to specify the LTS Node.js version (currently 20.19.3)
171+
- Update `engines` field in `package.json` to require Node.js >=20.19.3
172172
- Consider adding a note in your README about using the LTS version
173173

174174
4. **Reinstall dependencies with the correct Node.js version**:
@@ -179,6 +179,6 @@ If you encounter `ERR_PNPM_UNSUPPORTED_ENGINE` errors:
179179

180180
## Additional Resources
181181

182-
- [pnpm Documentation on Lockfile](https://pnpm.io/lockfile)
182+
- [pnpm Documentation on Lockfile](https://pnpm.io/git#lockfiles)
183183
- [CI Setup Documentation](./CI.md)
184184
- [Package Manager Documentation](./PACKAGE-MANAGER.md)

docs/PACKAGE-MANAGER.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ corepack enable
7070
corepack prepare pnpm@latest --activate
7171
```
7272

73-
7473
This approach has several advantages:
7574

7675
1. No need to install pnpm globally
@@ -86,7 +85,6 @@ If you prefer not to use Corepack, you can install pnpm globally:
8685
npm install -g pnpm
8786
```
8887

89-
9088
## Troubleshooting
9189

9290
### Common Issues
@@ -108,7 +106,6 @@ Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-8.15.4.tgz.
108106
Internal Error: Error when performing the request...
109107
```
110108

111-
112109
Try these solutions:
113110

114111
1. **Install pnpm globally** as a fallback:

docs/todo.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# TODOs
22

3-
- pagination
4-
- search
3+
- [] pagination

0 commit comments

Comments
 (0)