From b6a6a7215daa0f0fc1a7fa02fcdd6f2ca7db2f9c Mon Sep 17 00:00:00 2001 From: Zhenye Dong Date: Sun, 10 Nov 2024 18:11:21 +0800 Subject: [PATCH] chore: echo $npm_package_version for dev --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dff2f46a..6a87045e 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "post-build": "next-sitemap --config next-sitemap.config.js", "export": "cross-env EXPORT=true next build && next-sitemap --config next-sitemap.config.js", "bundle-report": "cross-env ANALYZE=true next build", - "build-all-in-dev": "cross-env VERCEL_ENV=production next build" + "build-all-in-dev": "cross-env VERCEL_ENV=production next build", + "version": "echo $npm_package_version" }, "dependencies": { "@clerk/localizations": "^3.0.4",