@xframes/node 0.0.20 → 0.0.22
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 +1 -1
- package/README.md +4 -0
- package/package.json +4 -4
- package/vcpkg.json +1 -1
package/CMakeLists.txt
CHANGED
|
@@ -13,7 +13,7 @@ if(NOT VCPKG_TARGET_TRIPLET)
|
|
|
13
13
|
set(VCPKG_TARGET_TRIPLET "x64-windows")
|
|
14
14
|
elseif(APPLE)
|
|
15
15
|
set(VCPKG_TARGET_TRIPLET "x64-osx")
|
|
16
|
-
elseif(
|
|
16
|
+
elseif(DEFINED ENV{ARM64_LINUX})
|
|
17
17
|
set(VCPKG_TARGET_TRIPLET "arm64-linux")
|
|
18
18
|
else()
|
|
19
19
|
set(VCPKG_TARGET_TRIPLET "x64-linux")
|
package/README.md
CHANGED
|
@@ -30,6 +30,10 @@ Raspberry Pi OS
|
|
|
30
30
|
|
|
31
31
|
You must set:
|
|
32
32
|
|
|
33
|
+
`export ARM64_LINUX=1`
|
|
34
|
+
|
|
35
|
+
We could not work out how to detect the correct architecture so, for convenience, in CMakeLists.txt we check for this ENV variable to be set.
|
|
36
|
+
|
|
33
37
|
`export VCPKG_FORCE_SYSTEM_BINARIES=1`
|
|
34
38
|
|
|
35
39
|
It suppresses the downloading of CMake and Ninja and forces the use of the system binaries.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xframes/node",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "DOM-less, GPU-accelerated GUI development for Node.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "https",
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/xframes-project/xframes.git"
|
|
14
14
|
},
|
|
15
|
-
"homepage": "https://github.com/
|
|
15
|
+
"homepage": "https://github.com/xframes-project/xframes",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "Andrea Mancuso",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tsc": "rimraf ./dist && tsc --project ./tsconfig-build.json",
|
|
26
26
|
"tsup": "tsup --format cjs --external react",
|
|
27
27
|
"copy-artifacts-to-lib-folder": "cpy --flat ./build/Release/*.* ./src/lib",
|
|
28
|
-
"copy-artifacts-to-dist-folder": "cpy --flat ./build/Release
|
|
28
|
+
"copy-artifacts-to-dist-folder": "cpy --flat ./build/Release/*.* ./dist",
|
|
29
29
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
30
30
|
"cpp:compile": "cmake-js compile && npm run copy-artifacts-to-lib-folder",
|
|
31
31
|
"cpp:generate-module": "prebuild --strip --backend cmake-js -t 9 -r napi --include-regex \"\\.(node|dll|o)$\" --tag-prefix xframes-node- --verbose",
|
package/vcpkg.json
CHANGED