Skip to content

Commit e31ffab

Browse files
committed
2024.09.28 Add profile to zod.
1 parent 102f6c9 commit e31ffab

File tree

6 files changed

+41
-18
lines changed

6 files changed

+41
-18
lines changed

astro.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import react from "@astrojs/react";
44
import remarkToc from "remark-toc";
55
import remarkCollapse from "remark-collapse";
66
import sitemap from "@astrojs/sitemap";
7-
import { SITE } from "./src/config";
87

98
// https://astro.build/config
109
export default defineConfig({

package-lock.json

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

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emeraldjava.github.io",
3-
"version": "2024.9.27",
3+
"version": "2024.9.28",
44
"scripts": {
55
"dev": "astro dev",
66
"start": "astro dev",
@@ -11,7 +11,6 @@
1111
"format:check": "prettier --check . --plugin=prettier-plugin-astro",
1212
"format": "prettier --write . --plugin=prettier-plugin-astro",
1313
"cz": "cz",
14-
"prepare": "husky install",
1514
"lint": "eslint ."
1615
},
1716
"dependencies": {
@@ -34,7 +33,6 @@
3433
"@astrojs/sitemap": "^3.1.6",
3534
"@astrojs/tailwind": "^5.1.0",
3635
"@tailwindcss/typography": "^0.5.15",
37-
"@types/github-slugger": "^1.3.0",
3836
"@types/lodash.kebabcase": "^4.1.9",
3937
"@types/react": "^18.3.6",
4038
"@typescript-eslint/parser": "^8.5.0",

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { Site, SocialObjects } from "./types";
33
export const SITE: Site = {
44
website: "https://emeraldjava.github.io/", // replace this with your deployed domain
55
author: "emeraldjava",
6+
profile: "https://emeraldjava.github.io/",
67
desc: "The blog of emeraldjava.",
78
title: "emeraldjava",
89
ogImage: "emeraldjava-avatar.jpg",
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Virtual Threads and Astro Paper
3+
author: emeraldjava
4+
pubDatetime: 2024-09-27T07:44:00Z
5+
slug: '2024-09-27'
6+
featured: true
7+
draft: false
8+
tags:
9+
- astro
10+
- springboot
11+
- java
12+
- virtualthreads
13+
description: Java Virtual Threads, Project Loom and some Astro
14+
---
15+
16+
## Virtual Threads
17+
18+
- https://bell-sw.com/blog/a-guide-to-using-virtual-threads-with-spring-boot/
19+
20+
## Project Loom
21+
22+
A tomcat project with virtual threads
23+
24+
- https://spring.io/blog/2023/02/27/web-applications-and-project-loom
25+
- https://github.com/emeraldjava/project-loom-comparison
26+
27+
## Update Astro Paper
28+
29+
- update astro paper version
30+
- use the standard vod
31+
- move blog post content to distinct folder
32+
33+
## Gradle Tool Chain Alignment on Mac OS
34+
35+
Lost time trying to align gradle tool chain on mac os. Use maven!
36+
37+
- https://medium.com/@nagendra.raja/the-significance-of-toolchain-in-jvm-build-scripts-18d6f6edb8d4

src/content/config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ const blog = defineCollection({
1010
author: z.string().default(SITE.author),
1111
pubDatetime: z.date(),
1212
modDatetime: z.date().optional().nullable(),
13-
//date: z.coerce.date(),
14-
//pubDate: z.coerce.date().optional(),
15-
//modDatetime: z.coerce.date().optional().nullable(),
16-
//pubDatetime: z.coerce.date(),
17-
//modDatetime: z.coerce.date().optional().nullable(),
1813
title: z.string(),
1914
featured: z.boolean().optional(),
2015
draft: z.boolean().optional(),

0 commit comments

Comments
 (0)