Skip to content

Commit 498d9ed

Browse files
committed
Upgrade types for GNOME 50 and all other packages to latest
1 parent 4c64895 commit 498d9ed

57 files changed

Lines changed: 840 additions & 829 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/hello-world/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"author": "Pascal Garber <pascal@artandcode.studio>",
1414
"license": "MIT",
1515
"devDependencies": {
16-
"@tsconfig/strictest": "^2.0.5",
17-
"adm-zip": "^0.5.16",
18-
"esbuild": "^0.25.10",
19-
"typescript": "5.9.2"
16+
"@tsconfig/strictest": "^2.0.8",
17+
"adm-zip": "^0.5.17",
18+
"esbuild": "^0.28.0",
19+
"typescript": "6.0.2"
2020
},
2121
"dependencies": {
22-
"@girs/gjs": "^4.0.0-beta.38",
22+
"@girs/gjs": "^4.0.0-rc.1",
2323
"@girs/gnome-shell": "workspace:^",
24-
"@girs/gobject-2.0": "^2.86.0-4.0.0-beta.38",
25-
"@girs/st-17": "^17.0.0-4.0.0-beta.38"
24+
"@girs/gobject-2.0": "^2.88.0-4.0.0-rc.1",
25+
"@girs/st-18": "^18.0.0-4.0.0-rc.1"
2626
}
2727
}

examples/hello-world/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import '@girs/gjs'; // For global types like `log()`
2-
import St from '@girs/st-17';
2+
import St from '@girs/st-18';
33

44
import '@girs/gnome-shell/extensions/global'; // For global shell types
55
import { Extension, gettext as _, type ConsoleLike } from '@girs/gnome-shell/extensions/extension';

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"homepage": "https://github.com/gjsify/gnome-shell#readme",
4747
"packageManager": "yarn@4.13.0",
4848
"devDependencies": {
49-
"prettier": "^3.6.2",
50-
"typescript": "5.9.2"
49+
"prettier": "^3.8.1",
50+
"typescript": "6.0.2"
5151
}
5252
}

packages/gnome-shell/package.json

Lines changed: 37 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,17 @@
127127
}
128128
},
129129
"./misc/gnomeSession/ambient": "./dist/misc/gnomeSession-ambient.d.ts",
130+
"./misc/ibusManager": {
131+
"import": {
132+
"types": "./dist/misc/ibusManager.d.ts",
133+
"default": "./dist/misc/ibusManager.js"
134+
},
135+
"require": {
136+
"types": "./dist/misc/ibusManager.d.ts",
137+
"default": "./dist/misc/ibusManager.cjs"
138+
}
139+
},
140+
"./misc/ibusManager/ambient": "./dist/misc/ibusManager-ambient.d.ts",
130141
"./misc": {
131142
"import": {
132143
"types": "./dist/misc/index.d.ts",
@@ -1005,34 +1016,34 @@
10051016
"generate:types": "node ./scripts/generate-types.js"
10061017
},
10071018
"dependencies": {
1008-
"@girs/accountsservice-1.0": "1.0.0-4.0.0-beta.38",
1009-
"@girs/adw-1": "^1.9.0-4.0.0-beta.38",
1010-
"@girs/atk-1.0": "^2.58.0-4.0.0-beta.38",
1011-
"@girs/clutter-17": "^17.0.0-4.0.0-beta.38",
1012-
"@girs/cogl-2.0": "^2.0.0-4.0.0-beta.38",
1013-
"@girs/gcr-4": "^4.4.0-4.0.0-beta.38",
1014-
"@girs/gdm-1.0": "^1.0.0-4.0.0-beta.38",
1015-
"@girs/gio-2.0": "^2.86.0-4.0.0-beta.38",
1016-
"@girs/giounix-2.0": "^2.0.0-4.0.0-beta.38",
1017-
"@girs/gjs": "^4.0.0-beta.38",
1018-
"@girs/glib-2.0": "^2.86.0-4.0.0-beta.38",
1019-
"@girs/gnomebg-4.0": "^4.0.0-4.0.0-beta.38",
1020-
"@girs/gnomebluetooth-3.0": "^3.0.0-4.0.0-beta.38",
1021-
"@girs/gnomedesktop-4.0": "^4.0.0-4.0.0-beta.38",
1022-
"@girs/gobject-2.0": "^2.86.0-4.0.0-beta.38",
1023-
"@girs/gtk-4.0": "^4.20.1-4.0.0-beta.38",
1024-
"@girs/gvc-1.0": "^1.0.0-4.0.0-beta.38",
1025-
"@girs/meta-17": "^17.0.0-4.0.0-beta.38",
1026-
"@girs/mtk-17": "^17.0.0-4.0.0-beta.38",
1027-
"@girs/polkit-1.0": "^1.0.0-4.0.0-beta.38",
1028-
"@girs/shell-17": "^17.0.0-4.0.0-beta.38",
1029-
"@girs/shew-0": "^0.0.0-4.0.0-beta.38",
1030-
"@girs/st-17": "^17.0.0-4.0.0-beta.38",
1031-
"@girs/upowerglib-1.0": "^0.99.1-4.0.0-beta.38"
1019+
"@girs/accountsservice-1.0": "1.0.0-4.0.0-rc.1",
1020+
"@girs/adw-1": "^1.10.0-4.0.0-rc.1",
1021+
"@girs/atk-1.0": "^2.60.0-4.0.0-rc.1",
1022+
"@girs/clutter-18": "^18.0.0-4.0.0-rc.1",
1023+
"@girs/cogl-2.0": "^2.0.0-4.0.0-rc.1",
1024+
"@girs/gcr-4": "^4.4.0-4.0.0-rc.1",
1025+
"@girs/gdm-1.0": "^1.0.0-4.0.0-rc.1",
1026+
"@girs/gio-2.0": "^2.88.0-4.0.0-rc.1",
1027+
"@girs/giounix-2.0": "^2.0.0-4.0.0-rc.1",
1028+
"@girs/gjs": "^4.0.0-rc.1",
1029+
"@girs/glib-2.0": "^2.88.0-4.0.0-rc.1",
1030+
"@girs/gnomebg-4.0": "^4.0.0-4.0.0-rc.1",
1031+
"@girs/gnomebluetooth-3.0": "^3.0.0-4.0.0-rc.1",
1032+
"@girs/gnomedesktop-4.0": "^4.0.0-4.0.0-rc.1",
1033+
"@girs/gobject-2.0": "^2.88.0-4.0.0-rc.1",
1034+
"@girs/gtk-4.0": "^4.23.0-4.0.0-rc.1",
1035+
"@girs/gvc-1.0": "^1.0.0-4.0.0-rc.1",
1036+
"@girs/meta-18": "^18.0.0-4.0.0-rc.1",
1037+
"@girs/mtk-18": "^18.0.0-4.0.0-rc.1",
1038+
"@girs/polkit-1.0": "^1.0.0-4.0.0-rc.1",
1039+
"@girs/shell-18": "^18.0.0-4.0.0-rc.1",
1040+
"@girs/shew-0": "^0.0.0-4.0.0-rc.1",
1041+
"@girs/st-18": "^18.0.0-4.0.0-rc.1",
1042+
"@girs/upowerglib-1.0": "^1.91.1-4.0.0-rc.1"
10321043
},
10331044
"devDependencies": {
1034-
"@tsconfig/strictest": "^2.0.5",
1035-
"typescript": "5.9.2"
1045+
"@tsconfig/strictest": "^2.0.8",
1046+
"typescript": "6.0.2"
10361047
},
10371048
"keywords": [
10381049
"Gir",

packages/gnome-shell/src/extensions/global.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type Shell from '@girs/shell-17';
2-
import type Clutter from '@girs/clutter-17';
1+
import type Shell from '@girs/shell-18';
2+
import type Clutter from '@girs/clutter-18';
33
declare global {
44
/**
55
* Global shell object created by GNOME Shell on startup.
@@ -148,7 +148,7 @@ type AnimatableActorFields =
148148

149149
interface EasingParamsWithProperties extends EasingParams, Partial<Pick<Clutter.Actor, AnimatableActorFields>> {}
150150

151-
declare module '@girs/st-17/st-17' {
151+
declare module '@girs/st-18/st-17' {
152152
export namespace St {
153153
interface Adjustment {
154154
/**
@@ -163,7 +163,7 @@ declare module '@girs/st-17/st-17' {
163163
}
164164
}
165165

166-
declare module '@girs/clutter-17/clutter-17' {
166+
declare module '@girs/clutter-18/clutter-18' {
167167
export namespace Clutter {
168168
interface Actor {
169169
/**

packages/gnome-shell/src/misc/animationUtils.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/animationUtils.js
22

3-
import type St from '@girs/st-17';
4-
import type Clutter from '@girs/clutter-17';
3+
import type St from '@girs/st-18';
4+
import type Clutter from '@girs/clutter-18';
55

66
/**
77
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/animationUtils.js#L23

packages/gnome-shell/src/misc/parentalControlsManager.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import type GObject from '@girs/gobject-2.0';
44
import GioUnix from '@girs/giounix-2.0';
55

6-
import type Shell from '@girs/shell-17';
6+
import type Shell from '@girs/shell-18';
77

88
declare class ParentalControlsManager extends GObject.Object {
99
_initialized: boolean;

packages/gnome-shell/src/ui/altTab.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/altTab.js
22

33
import type GLib from '@girs/glib-2.0';
4-
import type Clutter from '@girs/clutter-17';
5-
import type Meta from '@girs/meta-17';
4+
import type Clutter from '@girs/clutter-18';
5+
import type Meta from '@girs/meta-18';
66

77
import { SwitcherPopup } from './switcherPopup.js';
88

packages/gnome-shell/src/ui/animation.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import type GLib from '@girs/glib-2.0';
44
import type Gio from '@girs/gio-2.0';
5-
import type St from '@girs/st-17';
5+
import type St from '@girs/st-18';
66

77
export class Animation extends St.Bin {
88
constructor(file: Gio.File, width: number, height: number, speed: number);

packages/gnome-shell/src/ui/appDisplay.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appDisplay.js
22

33
import type Gio from '@girs/gio-2.0';
4-
import type St from '@girs/st-17';
5-
import type Clutter from '@girs/clutter-17';
4+
import type St from '@girs/st-18';
5+
import type Clutter from '@girs/clutter-18';
66

77
import { GridSearchResult } from './search.js';
88

0 commit comments

Comments
 (0)