diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..5802c69c --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20.12.2 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index e74b6628..1d33b991 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "digital-garden", - "version": "1.0.0", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "digital-garden", - "version": "1.0.0", + "version": "2.0.0", "os": [ "darwin", "linux" diff --git a/packages/blog/content/projects/digital-garden/changelogs/100/index.md b/packages/blog/content/projects/digital-garden/changelogs/100/index.md index 0d66caa1..cb8ac61c 100644 --- a/packages/blog/content/projects/digital-garden/changelogs/100/index.md +++ b/packages/blog/content/projects/digital-garden/changelogs/100/index.md @@ -1,6 +1,5 @@ --- publishedAt: 2024-02-07 -project: digital-garden version: 1.0.0 --- diff --git a/packages/blog/content/projects/digital-garden/changelogs/200/index.md b/packages/blog/content/projects/digital-garden/changelogs/200/index.md index 2c9d2e23..a56cd045 100644 --- a/packages/blog/content/projects/digital-garden/changelogs/200/index.md +++ b/packages/blog/content/projects/digital-garden/changelogs/200/index.md @@ -1,6 +1,5 @@ --- publishedAt: 2024-04-20 -project: digital-garden version: 2.0.0 --- diff --git a/packages/blog/content/projects/homelab/changelogs/100/index.md b/packages/blog/content/projects/homelab/changelogs/100/index.md new file mode 100644 index 00000000..71eb6e3e --- /dev/null +++ b/packages/blog/content/projects/homelab/changelogs/100/index.md @@ -0,0 +1,4 @@ +--- +publishedAt: 2024-02-07 +version: 1.0.0 +--- diff --git a/packages/blog/content/projects/homelab/demo.png b/packages/blog/content/projects/homelab/demo.png new file mode 100644 index 00000000..45524b19 Binary files /dev/null and b/packages/blog/content/projects/homelab/demo.png differ diff --git a/packages/blog/content/projects/homelab/index.md b/packages/blog/content/projects/homelab/index.md new file mode 100644 index 00000000..37e11211 --- /dev/null +++ b/packages/blog/content/projects/homelab/index.md @@ -0,0 +1,11 @@ +--- +name: Homelab +slogan: Some stuff is better self-hosted +status: live +logo: ./logo.webp +logoDark: ./logo-dark.webp +sourceCodeUrl: https://github.com/vorant94/raspberry-pi +isFeatured: true +demo: ./demo.png +version: 1.0.0 +--- diff --git a/packages/blog/content/projects/homelab/logo-dark.webp b/packages/blog/content/projects/homelab/logo-dark.webp new file mode 100644 index 00000000..fcbaa0ef Binary files /dev/null and b/packages/blog/content/projects/homelab/logo-dark.webp differ diff --git a/packages/blog/content/projects/homelab/logo.webp b/packages/blog/content/projects/homelab/logo.webp new file mode 100644 index 00000000..c06e1234 Binary files /dev/null and b/packages/blog/content/projects/homelab/logo.webp differ diff --git a/packages/blog/src/projects/models/changelog.model.ts b/packages/blog/src/projects/models/changelog.model.ts index 32360d2a..8a4b8672 100644 --- a/packages/blog/src/projects/models/changelog.model.ts +++ b/packages/blog/src/projects/models/changelog.model.ts @@ -4,9 +4,7 @@ import { contentSchema } from '../../content/index.js'; export const changelogSchema = contentSchema.extend({ matter: z.object({ publishedAt: z.coerce.date(), - version: z.string().transform(function (value) { - return `v${value}`; - }), + version: z.string().transform((value) => `v${value}`), }), });