mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 05:23:40 +00:00
CLI: Restrict node.js environment
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'create-next-docs-app': patch
|
||||
---
|
||||
|
||||
Restrict node.js environment
|
||||
@@ -38,5 +38,8 @@
|
||||
"@types/cross-spawn": "^6.0.4",
|
||||
"@types/node": "18.17.5",
|
||||
"fast-glob": "^3.3.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
import { existsSync } from 'fs'
|
||||
import fs from 'fs/promises'
|
||||
import path from 'path'
|
||||
|
||||
Reference in New Issue
Block a user