Merge branch 'main' into feat-themeColor-hexo

This commit is contained in:
LooseLi
2025-05-20 10:57:22 +08:00
5 changed files with 7 additions and 2 deletions

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
engine-strict=true

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
20

View File

@@ -1,7 +1,7 @@
ARG NOTION_PAGE_ID
ARG NEXT_PUBLIC_THEME
FROM node:18-alpine3.18 AS base
FROM node:20-alpine AS base
# 1. Install dependencies only when needed
FROM base AS deps

View File

@@ -21,7 +21,7 @@ module.exports = {
process.env.NEXT_PUBLIC_COMMENT_TWIKOO_COUNT_ENABLE || false, // 博客列表是否显示评论数
COMMENT_TWIKOO_CDN_URL:
process.env.NEXT_PUBLIC_COMMENT_TWIKOO_CDN_URL ||
'https://cdn.jsdelivr.net/npm/twikoo@1.6.17/dist/twikoo.all.min.js', // twikoo客户端cdn
'https://cdn.jsdelivr.net/npm/twikoo@1.6.42/dist/twikoo.all.min.js', // twikoo客户端cdn
// utterance
COMMENT_UTTERRANCES_REPO:

View File

@@ -3,6 +3,9 @@
"version": "4.8.4",
"homepage": "https://github.com/tangly1024/NotionNext.git",
"license": "MIT",
"engines": {
"node": ">=20"
},
"repository": {
"type": "git",
"url": "https://github.com/tangly1024/NotionNext.git"