diff --git a/.gitignore b/.gitignore index 4eaf361..2642af6 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ coverage .env.* # vitepress -docs/.vitepress/cache \ No newline at end of file +docs/.vitepress/cache +package-lock.json diff --git a/.npmrc b/.npmrc index f87a044..f8b3d7d 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -auto-install-peers=true \ No newline at end of file +auto-install-peers=true +engine-strict=true diff --git a/package.json b/package.json index 0c181f8..591fe6b 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,8 @@ "build": "npm run docs:build && npm run compile", "start": "node build/src/index.js", "prepare": "husky install", - "docs:preview": "vitepress preview docs" + "docs:preview": "vitepress preview docs", + "preinstall": "npx only-allow pnpm --yes" }, "husky": { "hooks": {