@xframes/node 0.0.4 → 0.0.6

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/dist/index.js CHANGED
@@ -16,7 +16,7 @@ var __commonJS = (cb, mod) => function __require2() {
16
16
  var xframes_default;
17
17
  var init_xframes = __esm({
18
18
  "build/Release/xframes.node"() {
19
- xframes_default = "./xframes-QB2KJMZO.node";
19
+ xframes_default = "./xframes-L643TQGA.node";
20
20
  }
21
21
  });
22
22
 
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@xframes/node",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "DOM-less, GPU-accelerated GUI development for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist/*",
8
8
  "CMakeLists.txt",
9
- "vcpkg.json"
9
+ "vcpkg.json",
10
+ "xframes.js"
10
11
  ],
11
12
  "repository": {
12
13
  "type": "https",
@@ -19,7 +20,7 @@
19
20
  "url": "https://github.com/andreamancuso"
20
21
  },
21
22
  "scripts": {
22
- "install": "prebuild-install -t 9 -r napi --tag-prefix 'xframes-node@'",
23
+ "install": "prebuild-install -t 9 -r napi --tag-prefix xframes-node-",
23
24
  "start": "tsx ./src/index.tsx",
24
25
  "build:library": "rimraf ./dist && yarn tsup && yarn copy-artifacts-to-dist-folder && yarn remove-extra-file",
25
26
  "tsc": "tsc --project ./tsconfig-build.json",
@@ -28,7 +29,7 @@
28
29
  "remove-extra-file": "rimraf ./dist/xframes-*.node",
29
30
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
30
31
  "cpp:compile": "cmake-js compile",
31
- "cpp:generate-module": "prebuild --strip --backend cmake-js -t 9 -r napi --include-regex \"\\.(node|dll|o)$\" --tag-prefix xframes-node@ --verbose",
32
+ "cpp:generate-module": "prebuild --strip --backend cmake-js -t 9 -r napi --include-regex \"\\.(node|dll|o)$\" --tag-prefix xframes-node- --verbose",
32
33
  "cpp:_prebuild-all": "prebuild --all --backend cmake-js --strip"
33
34
  },
34
35
  "binary": {
package/xframes.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("./build/Release/xframes.node")