Enforce pnpm usage and set Node.js version

This commit is contained in:
Nikita Pozdniakov
2026-01-19 12:51:18 +03:00
parent 837f1f6cf6
commit 4fd41fdc32
4 changed files with 15 additions and 1 deletions

View File

@@ -2,11 +2,17 @@
"name": "nikitapozd_website",
"type": "module",
"version": "0.0.1",
"engines": {
"node": "24.13.0",
"pnpm": ">=9.0.0"
},
"enginesStrict": true,
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"astro": "astro",
"preinstall": "node ./scripts/enforce-pnpm.mjs"
},
"dependencies": {
"astro": "^5.16.10"