From 04481065754a127698b2c82de96ce85b332e956d Mon Sep 17 00:00:00 2001 From: Markus Schanz Date: Mon, 13 May 2024 20:21:39 +0200 Subject: [PATCH 1/2] fix imports in ambient declaration file Fixes a tsc error that is currently reported for projects that use moduleResolution "node16" or "nodenext": --- packages/gnome-shell/src/ui/workspace.d.ts | 2 +- packages/gnome-shell/src/ui/workspacesView.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gnome-shell/src/ui/workspace.d.ts b/packages/gnome-shell/src/ui/workspace.d.ts index dd0f43b..fa95008 100644 --- a/packages/gnome-shell/src/ui/workspace.d.ts +++ b/packages/gnome-shell/src/ui/workspace.d.ts @@ -1,7 +1,7 @@ import type Clutter from '@girs/clutter-14'; import type Meta from '@girs/meta-14'; -import { WindowPreview } from './windowPreview'; +import { WindowPreview } from './windowPreview.js'; /** * @version 46 diff --git a/packages/gnome-shell/src/ui/workspacesView.d.ts b/packages/gnome-shell/src/ui/workspacesView.d.ts index 86c4579..f235033 100644 --- a/packages/gnome-shell/src/ui/workspacesView.d.ts +++ b/packages/gnome-shell/src/ui/workspacesView.d.ts @@ -1,4 +1,4 @@ -import { Workspace } from './workspace'; +import { Workspace } from './workspace.js'; /** * @version 46 From 7759846ac06eb643c2346566d8297b6ee7997493 Mon Sep 17 00:00:00 2001 From: Markus Schanz Date: Mon, 13 May 2024 20:26:39 +0200 Subject: [PATCH 2/2] Bump version to 46.0.0-beta9 --- examples/hello-world/package.json | 2 +- package.json | 2 +- packages/gnome-shell/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 8e59788..ec6dfa8 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -1,6 +1,6 @@ { "name": "@gjsify/gnome-shell-hello-world-example", - "version": "46.0.0-beta8", + "version": "46.0.0-beta9", "description": "Simple Gnome Shell Hello World Extension example", "type": "module", "main": "dist/extension.js", diff --git a/package.json b/package.json index 479f682..d49dfb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gnome-shell", - "version": "46.0.0-beta8", + "version": "46.0.0-beta9", "description": "GJS TypeScript type definitions for GNOME Shell Extensions", "main": "src/index.js", "type": "module", diff --git a/packages/gnome-shell/package.json b/packages/gnome-shell/package.json index e739fcf..cf0f2c5 100644 --- a/packages/gnome-shell/package.json +++ b/packages/gnome-shell/package.json @@ -1,6 +1,6 @@ { "name": "@girs/gnome-shell", - "version": "46.0.0-beta8", + "version": "46.0.0-beta9", "description": "GJS TypeScript type definitions for GNOME Shell Extensions", "type": "module", "main": "./dist/index.js",