@gjsify/napi 0.26.1 → 0.27.0
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/package.json +7 -8
- package/prebuilds/darwin-arm64/GjsifyNapi-1.0.gir +0 -19
- package/prebuilds/darwin-arm64/GjsifyNapi-1.0.typelib +0 -0
- package/prebuilds/darwin-arm64/libgjsifynapi.dylib +0 -0
- package/prebuilds/linux-x64/GjsifyNapi-1.0.gir +0 -19
- package/prebuilds/linux-x64/GjsifyNapi-1.0.typelib +0 -0
- package/prebuilds/linux-x64/libgjsifynapi.so +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/napi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Node-API (N-API) host for GJS — implements the napi C ABI over SpiderMonkey (mozjs-140) so GJS can load unmodified compiled .node addons. The forward mirror of @gjsify/node-gi (GI in Node); this is N-API in GJS. Vala/C++ shim as .so+.gir+.typelib prebuild, loaded via imports.gi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/esm/index.js",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"lib",
|
|
17
|
-
"prebuilds",
|
|
18
17
|
"meson.build",
|
|
19
18
|
"src/vala",
|
|
20
19
|
"src/cc",
|
|
@@ -25,10 +24,6 @@
|
|
|
25
24
|
"linux-x64",
|
|
26
25
|
"darwin-arm64"
|
|
27
26
|
],
|
|
28
|
-
"platformsUncommitted": {
|
|
29
|
-
"darwin-arm64": "napi.yml's `macos` job builds, load-tests and uploads it as a workflow artifact for a release to ship; no job commits it back into this repo"
|
|
30
|
-
},
|
|
31
|
-
"prebuilds": "prebuilds",
|
|
32
27
|
"runtimes": {
|
|
33
28
|
"gjs": "polyfill",
|
|
34
29
|
"node": "none",
|
|
@@ -50,7 +45,7 @@
|
|
|
50
45
|
"native"
|
|
51
46
|
],
|
|
52
47
|
"scripts": {
|
|
53
|
-
"clear": "
|
|
48
|
+
"clear": "gjsify clear lib build tsconfig.tsbuildinfo tsconfig.types.tsbuildinfo test.gjs.mjs",
|
|
54
49
|
"check": "gjsify tsc --noEmit",
|
|
55
50
|
"build": "gjsify run build:gjsify && gjsify run build:types",
|
|
56
51
|
"build:gjsify": "gjsify build --library 'src/ts/**/*.{ts,js}'",
|
|
@@ -100,5 +95,9 @@
|
|
|
100
95
|
"bugs": {
|
|
101
96
|
"url": "https://github.com/gjsify/gjsify/issues"
|
|
102
97
|
},
|
|
103
|
-
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/napi/napi#readme"
|
|
98
|
+
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/napi/napi#readme",
|
|
99
|
+
"optionalDependencies": {
|
|
100
|
+
"@gjsify/napi-darwin-arm64": "0.27.0",
|
|
101
|
+
"@gjsify/napi-linux-x64": "0.27.0"
|
|
102
|
+
}
|
|
104
103
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<!-- GjsifyNapi-1.0.gir generated by valac 0.56.19, do not modify. -->
|
|
3
|
-
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:doc="http://www.gtk.org/introspection/doc/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
|
4
|
-
<package name="gjsifynapi"/>
|
|
5
|
-
<c:include name="gjsifynapi.h"/>
|
|
6
|
-
<doc:format name="unknown"/>
|
|
7
|
-
<namespace name="GjsifyNapi" version="1.0" shared-library="libgjsifynapi.dylib" c:prefix="GjsifyNapi" c:identifier-prefixes="GjsifyNapi" c:symbol-prefixes="gjsify_napi">
|
|
8
|
-
<function name="init" c:identifier="gjsify_napi_init">
|
|
9
|
-
<return-value transfer-ownership="full">
|
|
10
|
-
<type name="gboolean" c:type="gboolean"/>
|
|
11
|
-
</return-value>
|
|
12
|
-
</function>
|
|
13
|
-
<function name="is_available" c:identifier="gjsify_napi_is_available">
|
|
14
|
-
<return-value transfer-ownership="full">
|
|
15
|
-
<type name="gboolean" c:type="gboolean"/>
|
|
16
|
-
</return-value>
|
|
17
|
-
</function>
|
|
18
|
-
</namespace>
|
|
19
|
-
</repository>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<!-- GjsifyNapi-1.0.gir generated by valac 0.56.19, do not modify. -->
|
|
3
|
-
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:doc="http://www.gtk.org/introspection/doc/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
|
4
|
-
<package name="gjsifynapi"/>
|
|
5
|
-
<c:include name="gjsifynapi.h"/>
|
|
6
|
-
<doc:format name="unknown"/>
|
|
7
|
-
<namespace name="GjsifyNapi" version="1.0" shared-library="libgjsifynapi.so" c:prefix="GjsifyNapi" c:identifier-prefixes="GjsifyNapi" c:symbol-prefixes="gjsify_napi">
|
|
8
|
-
<function name="init" c:identifier="gjsify_napi_init">
|
|
9
|
-
<return-value transfer-ownership="full">
|
|
10
|
-
<type name="gboolean" c:type="gboolean"/>
|
|
11
|
-
</return-value>
|
|
12
|
-
</function>
|
|
13
|
-
<function name="is_available" c:identifier="gjsify_napi_is_available">
|
|
14
|
-
<return-value transfer-ownership="full">
|
|
15
|
-
<type name="gboolean" c:type="gboolean"/>
|
|
16
|
-
</return-value>
|
|
17
|
-
</function>
|
|
18
|
-
</namespace>
|
|
19
|
-
</repository>
|
|
Binary file
|
|
Binary file
|