@ts-for-gir/gir-module-metadata 4.0.0-rc.1 → 4.0.0-rc.2
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 +2 -2
- package/src/data/gnome-shell.ts +2 -0
- package/src/data/misc.ts +9 -0
- package/src/types.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-for-gir/gir-module-metadata",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.2",
|
|
4
4
|
"description": "Curated metadata (descriptions, licenses, logos, URLs) for GIR namespaces",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"gtk"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@ts-for-gir/tsconfig": "^4.0.0-rc.
|
|
38
|
+
"@ts-for-gir/tsconfig": "^4.0.0-rc.2",
|
|
39
39
|
"@types/node": "^24.12.2",
|
|
40
40
|
"typescript": "^6.0.2"
|
|
41
41
|
}
|
package/src/data/gnome-shell.ts
CHANGED
|
@@ -6,6 +6,7 @@ const MUTTER_COMMON = {
|
|
|
6
6
|
browseUrl: "https://gitlab.gnome.org/GNOME/mutter/",
|
|
7
7
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/mutter.git",
|
|
8
8
|
license: "GPL-2.0-or-later",
|
|
9
|
+
iconFile: "mutter-r.svg",
|
|
9
10
|
category: "GNOME Shell",
|
|
10
11
|
};
|
|
11
12
|
|
|
@@ -15,6 +16,7 @@ const SHELL_COMMON = {
|
|
|
15
16
|
browseUrl: "https://gitlab.gnome.org/GNOME/gnome-shell/",
|
|
16
17
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/gnome-shell.git",
|
|
17
18
|
license: "GPL-2.0-or-later",
|
|
19
|
+
iconFile: "gnome-shell-r.svg",
|
|
18
20
|
category: "GNOME Shell",
|
|
19
21
|
};
|
|
20
22
|
|
package/src/data/misc.ts
CHANGED
|
@@ -13,6 +13,7 @@ export const gtksource5: GirModuleMetadata = {
|
|
|
13
13
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/gtksourceview.git",
|
|
14
14
|
license: "LGPL-2.1-or-later",
|
|
15
15
|
cDocsUrl: "https://gnome.pages.gitlab.gnome.org/gtksourceview/gtksourceview5/",
|
|
16
|
+
iconFile: "gtksourceview-r.svg",
|
|
16
17
|
category: "GNOME Desktop",
|
|
17
18
|
};
|
|
18
19
|
|
|
@@ -26,6 +27,7 @@ export const shumate: GirModuleMetadata = {
|
|
|
26
27
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/libshumate.git",
|
|
27
28
|
license: "LGPL-2.1-or-later",
|
|
28
29
|
cDocsUrl: "https://gnome.pages.gitlab.gnome.org/libshumate/",
|
|
30
|
+
iconFile: "libshumate-r.svg",
|
|
29
31
|
category: "GNOME Desktop",
|
|
30
32
|
};
|
|
31
33
|
|
|
@@ -240,6 +242,7 @@ export const tsparql: GirModuleMetadata = {
|
|
|
240
242
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/tracker.git",
|
|
241
243
|
license: "LGPL-2.1-or-later",
|
|
242
244
|
cDocsUrl: "https://gnome.pages.gitlab.gnome.org/tracker/docs/developer/",
|
|
245
|
+
iconFile: "tracker-r.svg",
|
|
243
246
|
category: "Data & Markup",
|
|
244
247
|
};
|
|
245
248
|
|
|
@@ -316,6 +319,7 @@ export const polkit: GirModuleMetadata = {
|
|
|
316
319
|
browseUrl: "https://gitlab.freedesktop.org/polkit/polkit/",
|
|
317
320
|
repositoryUrl: "https://gitlab.freedesktop.org/polkit/polkit.git",
|
|
318
321
|
license: "LGPL-2.0-or-later",
|
|
322
|
+
iconFile: "polkit-r.svg",
|
|
319
323
|
category: "Security",
|
|
320
324
|
};
|
|
321
325
|
|
|
@@ -328,6 +332,7 @@ export const polkitAgent: GirModuleMetadata = {
|
|
|
328
332
|
browseUrl: "https://gitlab.freedesktop.org/polkit/polkit/",
|
|
329
333
|
repositoryUrl: "https://gitlab.freedesktop.org/polkit/polkit.git",
|
|
330
334
|
license: "LGPL-2.0-or-later",
|
|
335
|
+
iconFile: "polkit-r.svg",
|
|
331
336
|
category: "Security",
|
|
332
337
|
};
|
|
333
338
|
|
|
@@ -432,6 +437,7 @@ export const xdp: GirModuleMetadata = {
|
|
|
432
437
|
browseUrl: "https://github.com/flatpak/libportal/",
|
|
433
438
|
repositoryUrl: "https://github.com/flatpak/libportal.git",
|
|
434
439
|
license: "LGPL-3.0-or-later",
|
|
440
|
+
iconFile: "libportal-r.svg",
|
|
435
441
|
category: "System",
|
|
436
442
|
};
|
|
437
443
|
|
|
@@ -444,6 +450,7 @@ export const xdpGtk4: GirModuleMetadata = {
|
|
|
444
450
|
browseUrl: "https://github.com/flatpak/libportal/",
|
|
445
451
|
repositoryUrl: "https://github.com/flatpak/libportal.git",
|
|
446
452
|
license: "LGPL-3.0-or-later",
|
|
453
|
+
iconFile: "libportal-r.svg",
|
|
447
454
|
category: "System",
|
|
448
455
|
};
|
|
449
456
|
|
|
@@ -459,6 +466,7 @@ export const rsvg: GirModuleMetadata = {
|
|
|
459
466
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/librsvg.git",
|
|
460
467
|
license: "LGPL-2.1-or-later",
|
|
461
468
|
cDocsUrl: "https://gnome.pages.gitlab.gnome.org/librsvg/doc/rsvg/",
|
|
469
|
+
iconFile: "librsvg-r.svg",
|
|
462
470
|
category: "Graphics",
|
|
463
471
|
};
|
|
464
472
|
|
|
@@ -539,6 +547,7 @@ export const goa: GirModuleMetadata = {
|
|
|
539
547
|
repositoryUrl: "https://gitlab.gnome.org/GNOME/gnome-online-accounts.git",
|
|
540
548
|
license: "LGPL-2.0-or-later",
|
|
541
549
|
cDocsUrl: "https://gnome.pages.gitlab.gnome.org/gnome-online-accounts/goa/",
|
|
550
|
+
iconFile: "goa-r.svg",
|
|
542
551
|
category: "Web",
|
|
543
552
|
};
|
|
544
553
|
|
package/src/types.ts
CHANGED
|
@@ -22,6 +22,8 @@ export interface GirModuleMetadata {
|
|
|
22
22
|
cDocsUrl?: string;
|
|
23
23
|
/** Logo/icon URL (absolute URL) */
|
|
24
24
|
logoUrl?: string;
|
|
25
|
+
/** Icon filename from refs/library-icons (e.g. "librsvg-r.svg"). Used as fallback when logoUrl is not set. */
|
|
26
|
+
iconFile?: string;
|
|
25
27
|
/** Category for grouping on documentation homepage */
|
|
26
28
|
category?: string;
|
|
27
29
|
}
|