Skip to content

Commit

Permalink
Upgrade to GNOME Shell 46 and other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Mar 26, 2024
1 parent 470f106 commit 9f4da41
Show file tree
Hide file tree
Showing 55 changed files with 1,338 additions and 1,179 deletions.
672 changes: 336 additions & 336 deletions .yarn/releases/yarn-4.0.2.cjs → .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "5.3.3-sdk",
"version": "5.4.3-sdk",
"main": "./lib/typescript.js",
"type": "commonjs",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-4.1.1.cjs
14 changes: 7 additions & 7 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gjsify/gnome-shell-hello-world-example",
"version": "45.0.0-beta9",
"version": "46.0.0-beta1",
"description": "Simple Gnome Shell Hello World Extension example",
"type": "module",
"main": "dist/extension.js",
Expand All @@ -14,14 +14,14 @@
"author": "Pascal Garber <pascal@artandcode.studio>",
"license": "MIT",
"devDependencies": {
"adm-zip": "^0.5.10",
"esbuild": "^0.19.11",
"typescript": "5.3.3"
"adm-zip": "^0.5.12",
"esbuild": "^0.20.2",
"typescript": "5.4.3"
},
"dependencies": {
"@girs/gjs": "^3.2.7",
"@girs/gjs": "^3.3.0",
"@girs/gnome-shell": "workspace:^",
"@girs/gobject-2.0": "^2.78.0-3.2.7",
"@girs/st-13": "^13.0.0-3.2.7"
"@girs/gobject-2.0": "^2.78.0-3.3.0",
"@girs/st-13": "^13.0.0-3.3.0"
}
}
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-13';
import St from '@girs/st-14';
import GObject from '@girs/gobject-2.0';

import "@girs/gnome-shell/extensions/global"; // For global shell types
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gnome-shell",
"version": "45.0.0-beta9",
"version": "46.0.0-beta1",
"description": "GJS TypeScript type definitions for GNOME Shell Extensions",
"main": "src/index.js",
"type": "module",
Expand Down Expand Up @@ -47,8 +47,8 @@
"url": "https://github.com/gjsify/gnome-shell/issues"
},
"homepage": "https://github.com/gjsify/gnome-shell#readme",
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.1",
"devDependencies": {
"typescript": "5.3.3"
"typescript": "5.4.3"
}
}
52 changes: 26 additions & 26 deletions packages/gnome-shell/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@girs/gnome-shell",
"version": "45.0.0-beta9",
"version": "46.0.0-beta1",
"description": "GJS TypeScript type definitions for GNOME Shell Extensions",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -906,33 +906,33 @@
"generate:types": "node ./scripts/generate-types.js"
},
"dependencies": {
"@girs/accountsservice-1.0": "^1.0.0-3.2.7",
"@girs/adw-1": "^1.4.2-3.2.7",
"@girs/atk-1.0": "^2.50.0-3.2.7",
"@girs/cally-13": "^13.0.0-3.2.7",
"@girs/clutter-13": "^13.0.0-3.2.7",
"@girs/cogl-2.0": "^2.0.0-3.2.7",
"@girs/gcr-4": "^4.1.0-3.2.7",
"@girs/gdm-1.0": "^1.0.0-3.2.7",
"@girs/gio-2.0": "^2.78.0-3.2.7",
"@girs/gjs": "^3.2.7",
"@girs/glib-2.0": "^2.78.0-3.2.7",
"@girs/gnomebg-4.0": "^4.0.0-3.2.7",
"@girs/gnomebluetooth-3.0": "^3.0.0-3.2.7",
"@girs/gnomedesktop-4.0": "^4.0.0-3.2.7",
"@girs/gobject-2.0": "^2.78.0-3.2.7",
"@girs/gtk-4.0": "^4.12.4-3.2.7",
"@girs/gvc-1.0": "^1.0.0-3.2.7",
"@girs/meta-13": "^13.0.0-3.2.7",
"@girs/mtk-13": "^13.0.0-3.2.7",
"@girs/polkit-1.0": "^1.0.0-3.2.7",
"@girs/shell-13": "^13.0.0-3.2.7",
"@girs/shew-0": "^0.0.0-3.2.7",
"@girs/st-13": "^13.0.0-3.2.7",
"@girs/upowerglib-1.0": "^0.99.1-3.2.7"
"@girs/accountsservice-1.0": "^1.0.0-3.3.0",
"@girs/adw-1": "^1.4.3-3.3.0",
"@girs/atk-1.0": "^2.50.1-3.3.0",
"@girs/cally-14": "^14.0.0-3.3.0",
"@girs/clutter-14": "^14.0.0-3.3.0",
"@girs/cogl-2.0": "^2.0.0-3.3.0",
"@girs/gcr-4": "^4.1.0-3.3.0",
"@girs/gdm-1.0": "^1.0.0-3.3.0",
"@girs/gio-2.0": "^2.78.0-3.3.0",
"@girs/gjs": "^3.3.0",
"@girs/glib-2.0": "^2.78.0-3.3.0",
"@girs/gnomebg-4.0": "^4.0.0-3.3.0",
"@girs/gnomebluetooth-3.0": "^3.0.0-3.3.0",
"@girs/gnomedesktop-4.0": "^4.0.0-3.3.0",
"@girs/gobject-2.0": "^2.78.0-3.3.0",
"@girs/gtk-4.0": "^4.12.5-3.3.0",
"@girs/gvc-1.0": "^1.0.0-3.3.0",
"@girs/meta-14": "^14.0.0-3.3.0",
"@girs/mtk-14": "^14.0.0-3.3.0",
"@girs/polkit-1.0": "^1.0.0-3.3.0",
"@girs/shell-14": "^14.0.0-3.3.0",
"@girs/shew-0": "^0.0.0-3.3.0",
"@girs/st-14": "^14.0.0-3.3.0",
"@girs/upowerglib-1.0": "^0.99.1-3.3.0"
},
"devDependencies": {
"typescript": "5.3.3"
"typescript": "5.4.3"
},
"keywords": [
"Gir",
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/extensions/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Shell from "@girs/shell-13";
import type Shell from "@girs/shell-14";

declare global {
/**
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,5 +1,5 @@
import type St from '@girs/st-13';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';

/**
* adjustAnimationTime:
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 @@ -2,7 +2,7 @@

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type Shell from '@girs/shell-13';
import type Shell from '@girs/shell-14';

declare class ParentalControlsManager extends GObject.Object {

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/misc/systemActions.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://github.com/GNOME/gnome-shell/blob/main/js/misc/systemActions.js

import AccountsService from '@girs/accountsservice-1.0';
import Clutter from '@girs/clutter-13';
import Clutter from '@girs/clutter-14';
import Gdm from '@girs/gdm-1.0';
import Gio from '@girs/gio-2.0';
import GLib from '@girs/glib-2.0';
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-13';
import type Meta from '@girs/meta-13';
import type Clutter from '@girs/clutter-14';
import type Meta from '@girs/meta-14';

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-13';
import type St from '@girs/st-14';

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-13';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';

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-13';
import type Shell from '@girs/shell-14';

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-13';
import type Clutter from '@girs/clutter-13';
import type Shell from '@girs/shell-13';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type Shell from '@girs/shell-14';

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-13';
import type St from '@girs/st-14';

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-13';
import type Meta from '@girs/meta-13';
import type Clutter from '@girs/clutter-14';
import type Meta from '@girs/meta-14';
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,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/backgroundMenu.js


import type Clutter from '@girs/clutter-13';
import type Clutter from '@girs/clutter-14';

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-13';
import type St from '@girs/st-14';
import type Atk from '@girs/atk-1.0';

export namespace BarLevel {
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-13';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';

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-13';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';

import type { Message, MessageListSection } from './messageList.js';
import type { Notification, MessageTray, Source } from './messageTray.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-13';
import type St from '@girs/st-14';

export class CheckBox extends St.Button {

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-13';
import type Meta from '@girs/meta-14';

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,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/components/polkitAgent.js


import type Shell from '@girs/shell-13';
import type Shell from '@girs/shell-14';

declare class AuthenticationAgent extends Shell.PolkitAuthenticationAgent {
constructor()
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/dateMenu.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/dateMenu.js

import type Clutter from "@girs/clutter-13";
import type St from "@girs/st-13";
import type Clutter from "@girs/clutter-14";
import type St from "@girs/st-14";

import type { EventSourceBase } from "./calendar.js";
import type { Button } from "./panelMenu.js";
Expand Down
6 changes: 4 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-13';
import type St from '@girs/st-13';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';

export interface ButtonInfo {
action: () => void;
Expand Down Expand Up @@ -66,5 +66,7 @@ export class ListSectionItem extends St.BoxLayout {
public iconActor: St.Widget;

constructor(params: { style_class?: string | null });
/** @hidden Defined to resolve version conflicts */
public _init(config?: St.BoxLayout.ConstructorProperties): void;
public _init(params: { style_class?: string | null }): void;
}
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/dnd.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/dnd.js

import type Meta from '@girs/meta-13';
import type Clutter from '@girs/clutter-13';
import type Meta from '@girs/meta-14';
import type Clutter from '@girs/clutter-14';

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-13';
import type St from '@girs/st-13';
import type Shell from '@girs/shell-13';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Shell from '@girs/shell-14';

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

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-13';
import type Meta from '@girs/meta-13';
import type Mtk from '@girs/mtk-13';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Meta from '@girs/meta-14';
import type Mtk from '@girs/mtk-14';

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

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-13';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-13';
import type Meta from '@girs/meta-13';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Meta from '@girs/meta-14';

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

0 comments on commit 9f4da41

Please sign in to comment.