Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
942 changes: 0 additions & 942 deletions .yarn/releases/yarn-4.10.2.cjs

This file was deleted.

940 changes: 940 additions & 0 deletions .yarn/releases/yarn-4.13.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

npmRegistryServer: "https://registry.npmjs.org"

yarnPath: .yarn/releases/yarn-4.10.2.cjs
yarnPath: .yarn/releases/yarn-4.13.0.cjs
14 changes: 7 additions & 7 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"author": "Pascal Garber <pascal@artandcode.studio>",
"license": "MIT",
"devDependencies": {
"@tsconfig/strictest": "^2.0.5",
"adm-zip": "^0.5.16",
"esbuild": "^0.25.10",
"typescript": "5.9.2"
"@tsconfig/strictest": "^2.0.8",
"adm-zip": "^0.5.17",
"esbuild": "^0.28.0",
"typescript": "6.0.2"
},
"dependencies": {
"@girs/gjs": "^4.0.0-beta.38",
"@girs/gjs": "^4.0.0-rc.1",
"@girs/gnome-shell": "workspace:^",
"@girs/gobject-2.0": "^2.86.0-4.0.0-beta.38",
"@girs/st-17": "^17.0.0-4.0.0-beta.38"
"@girs/gobject-2.0": "^2.88.0-4.0.0-rc.1",
"@girs/st-18": "^18.0.0-4.0.0-rc.1"
}
}
2 changes: 1 addition & 1 deletion examples/hello-world/src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@girs/gjs'; // For global types like `log()`
import St from '@girs/st-17';
import St from '@girs/st-18';

import '@girs/gnome-shell/extensions/global'; // For global shell types
import { Extension, gettext as _, type ConsoleLike } from '@girs/gnome-shell/extensions/extension';
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"url": "https://github.com/gjsify/gnome-shell/issues"
},
"homepage": "https://github.com/gjsify/gnome-shell#readme",
"packageManager": "yarn@4.10.2",
"packageManager": "yarn@4.13.0",
"devDependencies": {
"prettier": "^3.6.2",
"typescript": "5.9.2"
"prettier": "^3.8.1",
"typescript": "6.0.2"
}
}
63 changes: 37 additions & 26 deletions packages/gnome-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@
}
},
"./misc/gnomeSession/ambient": "./dist/misc/gnomeSession-ambient.d.ts",
"./misc/ibusManager": {
"import": {
"types": "./dist/misc/ibusManager.d.ts",
"default": "./dist/misc/ibusManager.js"
},
"require": {
"types": "./dist/misc/ibusManager.d.ts",
"default": "./dist/misc/ibusManager.cjs"
}
},
"./misc/ibusManager/ambient": "./dist/misc/ibusManager-ambient.d.ts",
"./misc": {
"import": {
"types": "./dist/misc/index.d.ts",
Expand Down Expand Up @@ -1005,34 +1016,34 @@
"generate:types": "node ./scripts/generate-types.js"
},
"dependencies": {
"@girs/accountsservice-1.0": "1.0.0-4.0.0-beta.38",
"@girs/adw-1": "^1.9.0-4.0.0-beta.38",
"@girs/atk-1.0": "^2.58.0-4.0.0-beta.38",
"@girs/clutter-17": "^17.0.0-4.0.0-beta.38",
"@girs/cogl-2.0": "^2.0.0-4.0.0-beta.38",
"@girs/gcr-4": "^4.4.0-4.0.0-beta.38",
"@girs/gdm-1.0": "^1.0.0-4.0.0-beta.38",
"@girs/gio-2.0": "^2.86.0-4.0.0-beta.38",
"@girs/giounix-2.0": "^2.0.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/gnomebg-4.0": "^4.0.0-4.0.0-beta.38",
"@girs/gnomebluetooth-3.0": "^3.0.0-4.0.0-beta.38",
"@girs/gnomedesktop-4.0": "^4.0.0-4.0.0-beta.38",
"@girs/gobject-2.0": "^2.86.0-4.0.0-beta.38",
"@girs/gtk-4.0": "^4.20.1-4.0.0-beta.38",
"@girs/gvc-1.0": "^1.0.0-4.0.0-beta.38",
"@girs/meta-17": "^17.0.0-4.0.0-beta.38",
"@girs/mtk-17": "^17.0.0-4.0.0-beta.38",
"@girs/polkit-1.0": "^1.0.0-4.0.0-beta.38",
"@girs/shell-17": "^17.0.0-4.0.0-beta.38",
"@girs/shew-0": "^0.0.0-4.0.0-beta.38",
"@girs/st-17": "^17.0.0-4.0.0-beta.38",
"@girs/upowerglib-1.0": "^0.99.1-4.0.0-beta.38"
"@girs/accountsservice-1.0": "1.0.0-4.0.0-rc.1",
"@girs/adw-1": "^1.10.0-4.0.0-rc.1",
"@girs/atk-1.0": "^2.60.0-4.0.0-rc.1",
"@girs/clutter-18": "^18.0.0-4.0.0-rc.1",
"@girs/cogl-2.0": "^2.0.0-4.0.0-rc.1",
"@girs/gcr-4": "^4.4.0-4.0.0-rc.1",
"@girs/gdm-1.0": "^1.0.0-4.0.0-rc.1",
"@girs/gio-2.0": "^2.88.0-4.0.0-rc.1",
"@girs/giounix-2.0": "^2.0.0-4.0.0-rc.1",
"@girs/gjs": "^4.0.0-rc.1",
"@girs/glib-2.0": "^2.88.0-4.0.0-rc.1",
"@girs/gnomebg-4.0": "^4.0.0-4.0.0-rc.1",
"@girs/gnomebluetooth-3.0": "^3.0.0-4.0.0-rc.1",
"@girs/gnomedesktop-4.0": "^4.0.0-4.0.0-rc.1",
"@girs/gobject-2.0": "^2.88.0-4.0.0-rc.1",
"@girs/gtk-4.0": "^4.23.0-4.0.0-rc.1",
"@girs/gvc-1.0": "^1.0.0-4.0.0-rc.1",
"@girs/meta-18": "^18.0.0-4.0.0-rc.1",
"@girs/mtk-18": "^18.0.0-4.0.0-rc.1",
"@girs/polkit-1.0": "^1.0.0-4.0.0-rc.1",
"@girs/shell-18": "^18.0.0-4.0.0-rc.1",
"@girs/shew-0": "^0.0.0-4.0.0-rc.1",
"@girs/st-18": "^18.0.0-4.0.0-rc.1",
"@girs/upowerglib-1.0": "^1.91.1-4.0.0-rc.1"
},
"devDependencies": {
"@tsconfig/strictest": "^2.0.5",
"typescript": "5.9.2"
"@tsconfig/strictest": "^2.0.8",
"typescript": "6.0.2"
},
"keywords": [
"Gir",
Expand Down
8 changes: 4 additions & 4 deletions packages/gnome-shell/src/extensions/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type Shell from '@girs/shell-17';
import type Clutter from '@girs/clutter-17';
import type Shell from '@girs/shell-18';
import type Clutter from '@girs/clutter-18';
declare global {
/**
* Global shell object created by GNOME Shell on startup.
Expand Down Expand Up @@ -148,7 +148,7 @@ type AnimatableActorFields =

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

declare module '@girs/st-17/st-17' {
declare module '@girs/st-18/st-17' {
export namespace St {
interface Adjustment {
/**
Expand All @@ -163,7 +163,7 @@ declare module '@girs/st-17/st-17' {
}
}

declare module '@girs/clutter-17/clutter-17' {
declare module '@girs/clutter-18/clutter-18' {
export namespace Clutter {
interface Actor {
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/misc/animationUtils.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/animationUtils.js

import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-18';
import type Clutter from '@girs/clutter-18';

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/animationUtils.js#L23
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/misc/parentalControlsManager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import type GObject from '@girs/gobject-2.0';
import GioUnix from '@girs/giounix-2.0';

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

declare class ParentalControlsManager extends GObject.Object {
_initialized: boolean;
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/altTab.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/altTab.js

import type GLib from '@girs/glib-2.0';
import type Clutter from '@girs/clutter-17';
import type Meta from '@girs/meta-17';
import type Clutter from '@girs/clutter-18';
import type Meta from '@girs/meta-18';

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

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/animation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import type GLib from '@girs/glib-2.0';
import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-17';
import type St from '@girs/st-18';

export class Animation extends St.Bin {
constructor(file: Gio.File, width: number, height: number, speed: number);
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/appDisplay.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appDisplay.js

import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-18';
import type Clutter from '@girs/clutter-18';

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

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/appFavorites.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appFavorites.js

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

import { EventEmitter } from '../misc/signals.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/appMenu.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appMenu.js

import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-17';
import type Shell from '@girs/shell-17';
import type St from '@girs/st-18';
import type Clutter from '@girs/clutter-18';
import type Shell from '@girs/shell-18';

import type { PopupMenu, PopupSeparatorMenuItem, PopupMenuSection } from './popupMenu.js';
import type { getAppFavorites } from './appFavorites.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/audioDeviceSelection.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/audioDeviceSelection.js

import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-17';
import type St from '@girs/st-18';

import type { ModalDialog } from './modalDialog.js';

Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/background.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
*/

import type Gio from '@girs/gio-2.0';
import type Clutter from '@girs/clutter-17';
import type Meta from '@girs/meta-17';
import type Clutter from '@girs/clutter-18';
import type Meta from '@girs/meta-18';
import type GnomeDesktop from '@girs/gnomedesktop-4.0';
import type GnomeBG from '@girs/gnomebg-4.0';

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/backgroundMenu.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/backgroundMenu.js

import type Clutter from '@girs/clutter-17';
import type Clutter from '@girs/clutter-18';

import type { PopupMenu } from './popupMenu.js';
import type { LayoutManager } from './layout.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/barLevel.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/barLevel.js

import type St from '@girs/st-17';
import type St from '@girs/st-18';

export namespace BarLevel {
export interface ConstructorProps extends St.DrawingArea.ConstructorProps {}
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/boxpointer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-18';
import type Clutter from '@girs/clutter-18';

import type { LayoutManager } from './layout.js';

Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/calendar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-18';
import type Clutter from '@girs/clutter-18';

import type { Switch } from './popupMenu.js';
import type { MessageView } from './messageList.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/checkBox.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type St from '@girs/st-17';
import type St from '@girs/st-18';

export class CheckBox extends St.Button {
_box: St.Bin;
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/closeDialog.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type GObject from '@girs/gobject-2.0';
import type Meta from '@girs/meta-17';
import type Meta from '@girs/meta-18';

import { Dialog, MessageDialogContent } from './dialog.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/components/polkitAgent.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/components/polkitAgent.js

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

declare class AuthenticationAgent extends Shell.PolkitAuthenticationAgent {
constructor();
Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/dash.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dash.js

import type Clutter from '@girs/clutter-17';
import type Shell from '@girs/shell-17';
import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-18';
import type Shell from '@girs/shell-18';
import type St from '@girs/st-18';

import { AppIcon } from './appDisplay.js';
import { DragEvent, DragMonitor, DragMotionResult } from './dnd.js';
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/dialog.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dialog.js

import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-17';
import type Clutter from '@girs/clutter-18';
import type St from '@girs/st-18';

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dialog.js#L113
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/dnd.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dnd.js

import type Clutter from '@girs/clutter-17';
import type Clutter from '@girs/clutter-18';

import { EventEmitter } from '../misc/signals.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/iconGrid.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/iconGrid.js

import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-17';
import type Shell from '@girs/shell-17';
import type Clutter from '@girs/clutter-18';
import type St from '@girs/st-18';
import type Shell from '@girs/shell-18';

export namespace BaseIcon {
export interface ConstructorProps {
Expand Down
10 changes: 5 additions & 5 deletions packages/gnome-shell/src/ui/layout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-17';
import type Meta from '@girs/meta-17';
import type Mtk from '@girs/mtk-17';
import type Shell from '@girs/shell-17';
import type Clutter from '@girs/clutter-18';
import type St from '@girs/st-18';
import type Meta from '@girs/meta-18';
import type Mtk from '@girs/mtk-18';
import type Shell from '@girs/shell-18';

import { EventEmitter } from '../misc/signals.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/lightbox.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/lightbox.js

import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-17';
import type Shell from '@girs/shell-17';
import type Clutter from '@girs/clutter-18';
import type St from '@girs/st-18';
import type Shell from '@girs/shell-18';

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/lightbox.js#L10
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/lookingGlass.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Clutter from '@girs/clutter-17';
import type Clutter from '@girs/clutter-18';

/**
* @version 46
Expand Down
8 changes: 4 additions & 4 deletions packages/gnome-shell/src/ui/main.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/main.js

import type Gio from '@girs/gio-2.0';
import type Shell from '@girs/shell-17';
import type Clutter from '@girs/clutter-17';
import type St from '@girs/st-17';
import type Meta from '@girs/meta-17';
import type Shell from '@girs/shell-18';
import type Clutter from '@girs/clutter-18';
import type St from '@girs/st-18';
import type Meta from '@girs/meta-18';

import { ComponentManager } from './components.js';
import { AccessDialogDBus } from './accessDialog.js';
Expand Down
Loading
Loading