Skip to content

Commit 48f4dbf

Browse files
committed
Using claude to update things. So cool.
1 parent d61a2ea commit 48f4dbf

File tree

4 files changed

+38
-8
lines changed

4 files changed

+38
-8
lines changed

CLAUDE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Nick-Blog Development Guide
2+
3+
## Build Commands
4+
5+
- `npm run dev` - Start development server
6+
- `npm run build` - Run checks and build for production
7+
- `npm run preview` - Preview production build
8+
- `npm run lint` - Run Prettier and ESLint to fix files
9+
- `npm run format` - Format files with Prettier
10+
- `npm run check` - Run Astro type checking
11+
12+
## Code Style
13+
14+
- Single quotes for strings
15+
- Printwidth: 1200 characters
16+
- Use TypeScript with strict type checking
17+
- Follow the path aliases defined in tsconfig.json (@components/, @utils, etc.)
18+
- Astro components use .astro extension
19+
- React components (.tsx) for interactive UI elements
20+
- Use Tailwind CSS for styling
21+
- Follow ESLint recommendations for JS/TS
22+
- When testing, run `npm run check` before committing changes
23+
24+
## Project Structure
25+
26+
- `src/components/` - Reusable UI components
27+
- `src/content/` - Blog posts and page content
28+
- `src/layouts/` - Page layout templates
29+
- `src/pages/` - Astro page components
30+
- `src/utils/` - Utility functions and helpers

astro.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { remarkReadingTime } from './src/utils/remark-reading-time';
99
import icon from 'astro-icon';
1010
import expressiveCode from 'astro-expressive-code';
1111
import { expressiveCodeOptions } from './src/site.config';
12-
import vercelStatic from '@astrojs/vercel/static';
12+
import vercelAdapter from '@astrojs/vercel';
1313

1414
import astroStarlightRemarkAsides from 'astro-starlight-remark-asides';
1515
import remarkDirective from 'remark-directive';
@@ -18,7 +18,7 @@ import remarkDirective from 'remark-directive';
1818
export default defineConfig({
1919
site: 'https://nickhodges.com/',
2020
output: 'static',
21-
adapter: vercelStatic({
21+
adapter: vercelAdapter({
2222
webAnalytics: {
2323
enabled: true,
2424
},

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"react-dom": "^18.2.0",
3434
"rehype-external-links": "^3.0.0",
3535
"remark-directive": "^3.0.0",
36-
"satori": "0.11.1",
36+
"satori": "^0.12.1",
3737
"satori-html": "^0.3.2",
3838
"sharp": "^0.33.3",
3939
"typescript-eslint": "^8.8.1"
@@ -65,5 +65,5 @@
6565
"tailwindcss": "^3.4.3",
6666
"typescript": "^5.4.3"
6767
},
68-
"packageManager": "pnpm@8.6.1"
68+
"packageManager": "pnpm@8.15.4"
6969
}

0 commit comments

Comments
 (0)