@gi.ts/parser 2.0.0 → 4.0.0-beta.23
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/README.md +26 -0
- package/package.json +9 -9
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/gjsify/ts-for-gir/main/.github/ts-for-gir.png" />
|
|
3
|
+
<h1 align="center">TS <small>for</small> GIR</h1>
|
|
4
|
+
</p>
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<img src="https://img.shields.io/github/actions/workflow/status/gjsify/ts-for-gir/ci.yml" />
|
|
8
|
+
<img src="https://img.shields.io/github/license/gjsify/ts-for-gir" />
|
|
9
|
+
<img src="https://img.shields.io/npm/v/@gi.ts/parser" />
|
|
10
|
+
<img src="https://img.shields.io/npm/dw/@gi.ts/parser" />
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<p align="center">TypeScript type definition generator for GObject introspection GIR files</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<img src="https://raw.githubusercontent.com/gjsify/ts-for-gir/main/.github/feeling.gif" />
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
# Parser
|
|
20
|
+
|
|
21
|
+
Core parser for GObject Introspection Repository (GIR) XML files. This package converts GIR XML files into structured TypeScript interfaces that can be used by the rest of the ts-for-gir toolchain.
|
|
22
|
+
|
|
23
|
+
The parser provides:
|
|
24
|
+
- Complete type definitions for the GIR XML format
|
|
25
|
+
- XML parsing capabilities using fast-xml-parser
|
|
26
|
+
- TypeScript interfaces representing the GIR structure
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gi.ts/parser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/lib.js",
|
|
6
6
|
"types": "dist/lib.d.ts",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"prepack": "rm -rf dist && yarn build"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"fast-xml-parser": "^
|
|
31
|
+
"fast-xml-parser": "^5.0.9"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
35
|
-
"@typescript-eslint/parser": "^
|
|
36
|
-
"eslint": "^
|
|
37
|
-
"eslint-config-prettier": "^
|
|
38
|
-
"eslint-plugin-prettier": "^5.
|
|
39
|
-
"prettier": "^3.
|
|
40
|
-
"typescript": "^5.
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^8.27.0",
|
|
35
|
+
"@typescript-eslint/parser": "^8.27.0",
|
|
36
|
+
"eslint": "^9.22.0",
|
|
37
|
+
"eslint-config-prettier": "^10.1.1",
|
|
38
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
39
|
+
"prettier": "^3.5.3",
|
|
40
|
+
"typescript": "^5.8.2"
|
|
41
41
|
}
|
|
42
42
|
}
|