浏览代码

docs: Add minimum node version v11 (#370)

Jake Burden 4 年之前
父节点
当前提交
39d0c62a2c
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 6 0
      docs/src/getting-started/installation.md
  2. 1 1
      ts/package.json

+ 6 - 0
docs/src/getting-started/installation.md

@@ -51,3 +51,9 @@ npm install -g @project-serum/anchor
 
 
 Make sure your `NODE_PATH` is set properly so that globally installed modules
 Make sure your `NODE_PATH` is set properly so that globally installed modules
 can be resolved.
 can be resolved.
+
+## Minimum version requirements
+
+| Build tool  | Version        |
+|:------------|:---------------|
+| Node.js     | v11.0.0        |

+ 1 - 1
ts/package.json

@@ -10,7 +10,7 @@
     "access": "public"
     "access": "public"
   },
   },
   "engines": {
   "engines": {
-    "node": ">=10"
+    "node": ">=11"
   },
   },
   "scripts": {
   "scripts": {
     "build": "rm -rf dist/ && yarn build:node",
     "build": "rm -rf dist/ && yarn build:node",