package.json.in: @types/node: Use installed node version
This will ensure that the right API version is installed.master
parent
365fe702cf
commit
2bdcacd11f
|
@ -38,6 +38,11 @@ AC_CHECK_PROGS(NODE, [node nodejs])
|
|||
|
||||
test -n "$NODE" || AC_MSG_ERROR([missing Node.js])
|
||||
|
||||
AC_MSG_CHECKING([node version])
|
||||
node_version=$($NODE --version | sed 's/^v//')
|
||||
AC_SUBST([NODE_VERSION], [$node_version])
|
||||
AC_MSG_RESULT([$NODE_VERSION])
|
||||
|
||||
# graphviz
|
||||
AC_ARG_VAR([TWOPI], [Graphviz twopi layout])
|
||||
AC_CHECK_PROGS(TWOPI, [twopi])
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~3.7",
|
||||
"@types/node": "~4.9",
|
||||
"@types/node": "@NODE_VERSION@",
|
||||
"chai": ">=1.9.1 < 4",
|
||||
"@types/chai": ">=1.9.1 < 4",
|
||||
"chai-as-promised": "7.1.0",
|
||||
|
|
Loading…
Reference in New Issue