diff --git a/app/tag-data.json b/app/tag-data.json index 029b778..ec18f0e 100644 --- a/app/tag-data.json +++ b/app/tag-data.json @@ -1 +1 @@ -{"python":1,"projects":1,"code":1,"cygnus":1,"self-hosted":1,"server":1} +{"cygnus":1,"self-hosted":1,"server":1,"python":1,"projects":1,"code":1} \ No newline at end of file diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03..40c3d68 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/scripts/rss.mjs b/scripts/rss.mjs index e454152..2558b23 100644 --- a/scripts/rss.mjs +++ b/scripts/rss.mjs @@ -3,7 +3,8 @@ import path from 'path' import { slug } from 'github-slugger' import { escape } from 'pliny/utils/htmlEscaper.js' import siteMetadata from '../data/siteMetadata.js' -import tagData from '../app/tag-data.json' assert { type: 'json' } +// Do not accept changes from upstream, you need with instead of assert. See https://stackoverflow.com/questions/78876691/syntaxerror-unexpected-identifier-assert-on-json-import-in-node-v22 +import tagData from '../app/tag-data.json' with { type: 'json' } import { allBlogs } from '../.contentlayer/generated/index.mjs' import { sortPosts } from 'pliny/utils/contentlayer.js'