@mikrojs/native 0.14.0-pr-229.g46bcbe2 → 0.14.0-pr-229.gbbf898a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt
CHANGED
|
@@ -120,6 +120,10 @@ if(NOT _MIK_VERSION_RESULT EQUAL 0 OR _MIK_VERSION STREQUAL "")
|
|
|
120
120
|
message(FATAL_ERROR "Failed to resolve package version for MIK_FW_VERSION. Check that package.json exists at the workspace root.")
|
|
121
121
|
endif()
|
|
122
122
|
target_compile_definitions(mikrojs PRIVATE "MIK_FW_VERSION=\"${_MIK_VERSION}\"")
|
|
123
|
+
# The version is read at configure time, so configure must re-run when it
|
|
124
|
+
# changes — otherwise incremental builds keep the stale MIK_FW_VERSION.
|
|
125
|
+
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
|
|
126
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/../../../package.json")
|
|
123
127
|
|
|
124
128
|
# UTC build timestamp. `string(TIMESTAMP ... UTC)` honors SOURCE_DATE_EPOCH
|
|
125
129
|
# when set (for reproducible builds). Refreshes on re-configure only, not
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikrojs/native",
|
|
3
|
-
"version": "0.14.0-pr-229.
|
|
3
|
+
"version": "0.14.0-pr-229.gbbf898a",
|
|
4
4
|
"description": "Mikro.js C++ runtime library and Node.js native addon",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esp32",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"cmake-js": "^8.0.0",
|
|
84
84
|
"node-addon-api": "^8.7.0",
|
|
85
85
|
"node-gyp-build": "^4.8.4",
|
|
86
|
-
"@mikrojs/quickjs": "0.14.0-pr-229.
|
|
86
|
+
"@mikrojs/quickjs": "0.14.0-pr-229.gbbf898a"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@swc/core": "^1.15.30",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|