Skip to content

Commit

Permalink
2024.09.28 Add profile to zod.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeraldjava committed Sep 28, 2024
1 parent 102f6c9 commit e31ffab
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 18 deletions.
1 change: 0 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import react from "@astrojs/react";
import remarkToc from "remark-toc";
import remarkCollapse from "remark-collapse";
import sitemap from "@astrojs/sitemap";
import { SITE } from "./src/config";

// https://astro.build/config
export default defineConfig({
Expand Down
11 changes: 2 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emeraldjava.github.io",
"version": "2024.9.27",
"version": "2024.9.28",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
Expand All @@ -11,7 +11,6 @@
"format:check": "prettier --check . --plugin=prettier-plugin-astro",
"format": "prettier --write . --plugin=prettier-plugin-astro",
"cz": "cz",
"prepare": "husky install",
"lint": "eslint ."
},
"dependencies": {
Expand All @@ -34,7 +33,6 @@
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
"@tailwindcss/typography": "^0.5.15",
"@types/github-slugger": "^1.3.0",
"@types/lodash.kebabcase": "^4.1.9",
"@types/react": "^18.3.6",
"@typescript-eslint/parser": "^8.5.0",
Expand Down
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { Site, SocialObjects } from "./types";
export const SITE: Site = {
website: "https://emeraldjava.github.io/", // replace this with your deployed domain
author: "emeraldjava",
profile: "https://emeraldjava.github.io/",
desc: "The blog of emeraldjava.",
title: "emeraldjava",
ogImage: "emeraldjava-avatar.jpg",
Expand Down
37 changes: 37 additions & 0 deletions src/content/blog/2024/2024-09-27-upgrade-astro-paper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Virtual Threads and Astro Paper
author: emeraldjava
pubDatetime: 2024-09-27T07:44:00Z
slug: '2024-09-27'
featured: true
draft: false
tags:
- astro
- springboot
- java
- virtualthreads
description: Java Virtual Threads, Project Loom and some Astro
---

## Virtual Threads

- https://bell-sw.com/blog/a-guide-to-using-virtual-threads-with-spring-boot/

## Project Loom

A tomcat project with virtual threads

- https://spring.io/blog/2023/02/27/web-applications-and-project-loom
- https://github.com/emeraldjava/project-loom-comparison

## Update Astro Paper

- update astro paper version
- use the standard vod
- move blog post content to distinct folder

## Gradle Tool Chain Alignment on Mac OS

Lost time trying to align gradle tool chain on mac os. Use maven!

- https://medium.com/@nagendra.raja/the-significance-of-toolchain-in-jvm-build-scripts-18d6f6edb8d4
5 changes: 0 additions & 5 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ const blog = defineCollection({
author: z.string().default(SITE.author),
pubDatetime: z.date(),
modDatetime: z.date().optional().nullable(),
//date: z.coerce.date(),
//pubDate: z.coerce.date().optional(),
//modDatetime: z.coerce.date().optional().nullable(),
//pubDatetime: z.coerce.date(),
//modDatetime: z.coerce.date().optional().nullable(),
title: z.string(),
featured: z.boolean().optional(),
draft: z.boolean().optional(),
Expand Down

0 comments on commit e31ffab

Please sign in to comment.