Skip to content

Commit b59608d

Browse files
authored
Update getting-started.md
1 parent b08a61d commit b59608d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: docs/others/vitepress/getting-started.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ yarn init
3333
"repository": "https://github.com/curder/code-snippets.git",
3434
"author": "curder <q.curder@gmail.com>",
3535
"license": "MIT",
36-
"type": "module"
36+
"type": "module",
37+
"engines": {
38+
"node": ">= 18"
39+
},
3740
}
3841
```
3942
:::
@@ -62,13 +65,16 @@ echo '<!--@include: ./README.md-->' > docs/index.md
6265
"author": "curder <q.curder@gmail.com>",
6366
"license": "MIT",
6467
"type": "module",
68+
"engines": {
69+
"node": ">= 18"
70+
},
6571
"scripts": { // [!code focus]
6672
"docs:dev": "vitepress dev docs", // [!code focus]
6773
"docs:build": "vitepress build docs", // [!code focus]
6874
"docs:preview": "vitepress preview docs" // [!code focus]
6975
}, // [!code focus]
7076
"devDependencies": {
71-
"vitepress": "^1.1.4"
77+
"vitepress": "^1.3.4"
7278
}
7379
}
7480
```

0 commit comments

Comments
 (0)