diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/package-lock.json b/package-lock.json index f1f1e24..0f194e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,9 @@ "typescript": "^5.2.2", "vitepress": "^1.1.3", "vitepress-plugin-mermaid": "^2.0.16" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 7b46e85..2241516 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "Octobug's blog.", "main": "index.js", "type": "module", + "engines" : { + "node" : ">=18.0.0" + }, "scripts": { "dev": "vitepress dev --host", "build": "vitepress build",