From f1ba78efa1df99d0f6b5b52de095557c14052554 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 21 Nov 2024 10:37:23 +0800 Subject: [PATCH] :wrench: Chore: update package name and mini node version --- .nvmrc | 1 + layouts/partials/init/index.html | 2 +- package-lock.json | 7 +++++-- package.json | 7 +++++-- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..0828ab79 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18 \ No newline at end of file diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 1583ec06..ca2116ef 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.16-fd000ad6" -}} +{{- .Scratch.Set "version" "v0.3.16-0ed41783" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/package-lock.json b/package-lock.json index 896e3833..869f17eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,19 @@ { - "name": "fixit-src", + "name": "fixit-core", "version": "0.3.15", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "fixit-src", + "name": "fixit-core", "version": "0.3.15", "license": "MIT", "devDependencies": { "@hugo-fixit/fixit-releaser": "^1.0.1", "husky": "^9.1.6" + }, + "engines": { + "node": ">=18" } }, "node_modules/@hugo-fixit/fixit-releaser": { diff --git a/package.json b/package.json index 2e928625..b7ce681d 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "fixit-src", + "name": "fixit-core", "version": "0.3.15", "private": true, - "description": "FixIt theme source files", + "description": "Hugo FixIt core theme component source files", "keywords": [ "hugo", "theme", @@ -32,5 +32,8 @@ "devDependencies": { "@hugo-fixit/fixit-releaser": "^1.0.1", "husky": "^9.1.6" + }, + "engines": { + "node": ">=18" } }