@kmamal/sdl 0.10.13 → 0.10.14
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 +5 -5
- package/scripts/clean.mjs +0 -17
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.10.
|
|
2
|
+
"version": "0.10.14",
|
|
3
3
|
"name": "@kmamal/sdl",
|
|
4
4
|
"description": "SDL bindings for Node.js",
|
|
5
5
|
"keywords": [
|
|
@@ -60,6 +60,8 @@
|
|
|
60
60
|
"clean": "cd scripts && node clean.mjs"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
+
"node-addon-api": "^8.3.1",
|
|
64
|
+
"node-gyp": "^11.1.0",
|
|
63
65
|
"tar": "^7.4.3"
|
|
64
66
|
},
|
|
65
67
|
"sdl": {
|
|
@@ -68,10 +70,8 @@
|
|
|
68
70
|
"version": "2.26.4"
|
|
69
71
|
},
|
|
70
72
|
"devDependencies": {
|
|
71
|
-
"@kmamal/evdev": "^0.0.
|
|
73
|
+
"@kmamal/evdev": "^0.0.2",
|
|
72
74
|
"@kmamal/testing": "^0.0.31",
|
|
73
|
-
"@types/node": "^22.
|
|
74
|
-
"node-addon-api": "^8.3.0",
|
|
75
|
-
"node-gyp": "^11.0.0"
|
|
75
|
+
"@types/node": "^22.13.5"
|
|
76
76
|
}
|
|
77
77
|
}
|
package/scripts/clean.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Fs from 'node:fs'
|
|
2
|
-
import Path from 'node:path'
|
|
3
|
-
import C from './util/common.js'
|
|
4
|
-
|
|
5
|
-
const dirs = [
|
|
6
|
-
Path.join(C.dir.root, 'node_modules'),
|
|
7
|
-
C.dir.sdl,
|
|
8
|
-
C.dir.build,
|
|
9
|
-
C.dir.dist,
|
|
10
|
-
C.dir.publish,
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
console.log("delete")
|
|
14
|
-
await Promise.all(dirs.map(async (dir) => {
|
|
15
|
-
console.log(" ", dir)
|
|
16
|
-
await Fs.promises.rm(dir, { recursive: true }).catch(() => {})
|
|
17
|
-
}))
|