feat: upgrade to gnome 51

Adds GNOME Shell 51 to shell-version and moves the build onto the
GNOME 51 type packages.

- switch to @girs/gjs 5.5.0 and the -51 namespace packages (shell/st/meta/
  clutter plus gio/glib/gobject/gtk/adw)
- drop the @girs/gnome-shell umbrella: it is still GNOME 50 and pulls
  St-18 and Meta-18 types that clash with the -51 packages
- types/: hand-written declarations for the Shell JS modules imported here
  (extension.js, prefs.js, main.js, panelMenu.js, popupMenu.js, slider.js),
  since upstream 51 types (51.0.0-alpha.1) are unpublished. PopupMenu
  open/close are typed with the 51 parameters object
- TypeScript 6.0.3 rather than 7: typescript-eslint requires <6.1.0 and
  ts-jest requires <7
- eslint 10.12, @eslint/js 10.0.1, eslint-plugin-jsdoc 65.3.4 and
  typescript-eslint 8.71.2
This commit is contained in:
Lucas Oskorep committed 2026-10-15 01:54:51 -04:00
1 parent 2ee55d7d33
commit 189c3b35b3
8 files changed
+826 -620

No files matched your search

+15 -7
View File
@@ -1,6 +1,6 @@
{
"name": "ddcbrightness",
"version": "0.1.0",
"version": "0.1.1",
"description": "A GNOME Extension to control display brightness via DDC/CI using ddcutil",
"packageManager": "pnpm@12.3.4",
"type": "module",
@@ -14,11 +14,19 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@girs/gjs": "^4.7.0",
"@girs/gnome-shell": "^50.0.4",
"eslint": "^10.10.0",
"eslint-plugin-jsdoc": "^64.3.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.69.0"
"@girs/adw-1": "^5.5.0",
"@girs/clutter-51": "^5.5.0",
"@girs/gio-2.0": "^5.5.0",
"@girs/gjs": "^5.5.0",
"@girs/glib-2.0": "^5.5.0",
"@girs/gobject-2.0": "^5.5.0",
"@girs/gtk-4.0": "^5.5.0",
"@girs/meta-51": "^5.5.0",
"@girs/shell-51": "^5.5.0",
"@girs/st-51": "^5.5.0",
"eslint": "^10.12.0",
"eslint-plugin-jsdoc": "^65.3.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.71.2"
}
}