bare-gtk 0.1.1 → 0.2.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-gtk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "GTK bindings and runtime for Bare",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package": "./package.json",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
],
|
|
19
19
|
"addon": true,
|
|
20
20
|
"scripts": {
|
|
21
|
-
"
|
|
21
|
+
"format": "prettier --write . && lunte --fix",
|
|
22
|
+
"lint": "prettier --check . && lunte",
|
|
23
|
+
"test": "brittle-bare --coverage test.js"
|
|
22
24
|
},
|
|
23
25
|
"repository": {
|
|
24
26
|
"type": "git",
|
|
@@ -33,10 +35,14 @@
|
|
|
33
35
|
"dependencies": {
|
|
34
36
|
"require-asset": "^1.1.0"
|
|
35
37
|
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"bare-build": "^1.0.0"
|
|
40
|
+
},
|
|
36
41
|
"devDependencies": {
|
|
37
42
|
"brittle": "^3.18.0",
|
|
38
43
|
"cmake-bare": "^1.6.5",
|
|
39
44
|
"cmake-fetch": "^1.4.0",
|
|
45
|
+
"lunte": "^1.8.0",
|
|
40
46
|
"prettier": "^3.4.1",
|
|
41
47
|
"prettier-config-holepunch": "^2.0.0"
|
|
42
48
|
}
|
|
Binary file
|
|
Binary file
|
package/prebuilds/linux-x64/bare
CHANGED
|
Binary file
|
|
Binary file
|
package/runtime.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
const { type } = require('bare-build/constants')
|
|
2
|
+
|
|
3
|
+
const { EXECUTABLE } = type
|
|
4
|
+
|
|
1
5
|
require.asset = require('require-asset')
|
|
2
6
|
|
|
3
7
|
const prebuilds = {}
|
|
@@ -5,9 +9,17 @@ const prebuilds = {}
|
|
|
5
9
|
exports.prebuilds = prebuilds
|
|
6
10
|
|
|
7
11
|
prebuilds['linux-x64'] = () => {
|
|
8
|
-
return
|
|
12
|
+
return {
|
|
13
|
+
type: EXECUTABLE,
|
|
14
|
+
path: require.asset('./prebuilds/linux-x64/bare', __filename),
|
|
15
|
+
dependencies: []
|
|
16
|
+
}
|
|
9
17
|
}
|
|
10
18
|
|
|
11
19
|
prebuilds['linux-arm64'] = () => {
|
|
12
|
-
return
|
|
20
|
+
return {
|
|
21
|
+
type: EXECUTABLE,
|
|
22
|
+
path: require.asset('./prebuilds/linux-arm64/bare', __filename),
|
|
23
|
+
dependencies: []
|
|
24
|
+
}
|
|
13
25
|
}
|