Skip to content

Commit

Permalink
Pin node-addon-api for everestjs at 8.1 (#205)
Browse files Browse the repository at this point in the history
* Pin node-addon-api for everestjs at 8.1

Signed-off-by: Kai-Uwe Hermann <[email protected]>

* Bump version to 0.17.2

Signed-off-by: Kai-Uwe Hermann <[email protected]>

---------

Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass authored Oct 1, 2024
1 parent 12e1cc9 commit 313709f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14)

project(everest-framework
VERSION 0.17.1
VERSION 0.17.2
DESCRIPTION "The open operating system for e-mobility charging stations"
LANGUAGES CXX C
)
Expand Down
5 changes: 3 additions & 2 deletions everestjs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ execute_process(
OUTPUT_STRIP_TRAILING_WHITESPACE
)

message(STATUS "Adding node-addon-api")
set(NODE_ADDON_API_INSTALL_VERSION "8.1")
message(STATUS "Adding node-addon-api@${NODE_ADDON_API_INSTALL_VERSION}")
if (NOT NODE_ADDON_API_PACKAGE_DIR)
execute_process(
COMMAND
${NPM} install node-addon-api
${NPM} install node-addon-api@${NODE_ADDON_API_INSTALL_VERSION}
WORKING_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}
OUTPUT_QUIET
Expand Down

0 comments on commit 313709f

Please sign in to comment.