Merge pull request #3394 from LooseLi/build/node20-nvmrc

add .nvmrc
This commit is contained in:
tangly1024
2025-05-19 15:42:37 +08:00
committed by GitHub
4 changed files with 6 additions and 1 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

@@ -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"