Skip to content

Commit f384189

Browse files
committed
Update comment with full list of places to keep in sync
1 parent e47f295 commit f384189

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
3232
endif()
3333
endif()
3434

35-
add_definitions(-DNAPI_VERSION=9) # Keep in sync with binding-options.cjs
35+
add_definitions(-DNAPI_VERSION=9) # Keep in sync with binding-options.cjs, package.json binary.napi_version, and package.json prepublishOnly
3636
add_definitions(-DNAPI_DISABLE_CPP_EXCEPTIONS)
3737

3838
set(SOURCES

binding-options.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
name: 'node_canbridge',
3-
napi_versions: [9], // Keep in sync with CMakeLists.txt
3+
napi_versions: [9], // Keep in sync with CMakeLists.txt, package.json binary.napi_version, and package.json prepublishOnly
44
}

0 commit comments

Comments
 (0)