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
  plus gio/glib/gobject/gtk/adw)
- drop @girs/gnome-shell 49, the pinned @girs/gjs 4.0.0-beta.38 and the 16
  pnpm overrides it needed. The umbrella is still GNOME 50 and pulls St-18
  and Meta-18 types that clash with the -51 packages
- types/: hand-written declarations for the two Shell JS modules this
  extension imports (extension.js and prefs.js). Upstream has these for 51
  in 51.0.0-alpha.1, but that is not published to npm yet, so declaring the
  handful of symbols we use keeps installs registry-only
- TypeScript 6.0.3 rather than 7: typescript-eslint requires <6.1.0 and
  ts-jest requires <7. TS 6 also needs an explicit rootDir (TS5011)
- 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 203b573168
commit 28f7e7ccc2
8 files changed
+906 -951

No files matched your search

+15 -28
View File
@@ -1,6 +1,6 @@
{
"name": "prettyborders",
"version": "0.2.2",
"version": "0.2.3",
"description": "A TypeScript GNOME Extension for Pretty Borders around your active window",
"type": "module",
"private": true,
@@ -21,32 +21,19 @@
"lint": "eslint ."
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@girs/gjs": "4.0.0-beta.38",
"@girs/gnome-shell": "49.0.1",
"eslint": "^9.27.0",
"eslint-plugin-jsdoc": "^50.6.17",
"typescript": "^5.8.3",
"typescript-eslint": "^8.56.1"
},
"pnpm": {
"overrides": {
"@girs/cairo-1.0": "1.0.0-4.0.0-beta.38",
"@girs/freetype2-2.0": "2.0.0-4.0.0-beta.38",
"@girs/gdk-4.0": "4.0.0-4.0.0-beta.38",
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.38",
"@girs/gio-2.0": "2.86.0-4.0.0-beta.38",
"@girs/gjs": "4.0.0-beta.38",
"@girs/glib-2.0": "2.86.0-4.0.0-beta.38",
"@girs/gmodule-2.0": "2.0.0-4.0.0-beta.38",
"@girs/gobject-2.0": "2.86.0-4.0.0-beta.38",
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.38",
"@girs/gsk-4.0": "4.0.0-4.0.0-beta.38",
"@girs/gtk-4.0": "4.20.1-4.0.0-beta.38",
"@girs/harfbuzz-0.0": "11.5.0-4.0.0-beta.38",
"@girs/mtk-17": "17.0.0-4.0.0-beta.38",
"@girs/pango-1.0": "1.57.0-4.0.0-beta.38",
"@girs/pangocairo-1.0": "1.0.0-4.0.0-beta.38"
}
"@eslint/js": "^10.0.1",
"@girs/adw-1": "^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"
}
}