@girs/gobject-2.0 2.77.0-3.2.2 → 2.77.0-4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gobject-2.0.js CHANGED
@@ -1,10 +1,6 @@
1
1
 
2
-
3
2
  // @ts-expect-error
4
3
  import GObject from 'gi://GObject?version=2.0';
5
4
  export { GObject };
6
5
  export default GObject;
7
6
 
8
-
9
-
10
-
package/package.json CHANGED
@@ -1,32 +1,33 @@
1
1
  {
2
2
  "name": "@girs/gobject-2.0",
3
- "version": "2.77.0-3.2.2",
3
+ "version": "2.77.0-4.0.0-beta.1",
4
4
  "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.77.0",
5
5
  "type": "module",
6
6
  "module": "gobject-2.0.js",
7
7
  "main": "gobject-2.0.js",
8
8
  "exports": {
9
- "./ambient": "./gobject-2.0-ambient.d.ts",
10
- "./import": "./gobject-2.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gobject-2.0-ambient.d.ts",
11
+ "import": "./gobject-2.0-ambient.js",
12
+ "default": "./gobject-2.0-ambient.js"
13
+ },
14
+ "./import": {
15
+ "types": "./gobject-2.0-import.d.ts",
16
+ "import": "./gobject-2.0-import.js",
17
+ "default": "./gobject-2.0-import.js"
18
+ },
11
19
  ".": {
12
- "import": {
13
- "types": "./gobject-2.0.d.ts",
14
- "default": "./gobject-2.0.js"
15
- },
16
- "require": {
17
- "types": "./gobject-2.0.d.cts",
18
- "default": "./gobject-2.0.cjs"
19
- }
20
+ "types": "./gobject-2.0.d.ts",
21
+ "import": "./gobject-2.0.js",
22
+ "default": "./gobject-2.0.js"
20
23
  }
21
24
  },
22
25
  "scripts": {
23
- "test": "yarn test:esm && yarn test:cjs",
24
- "test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gobject-2.0.d.ts",
25
- "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gobject-2.0.d.cts"
26
+ "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gobject-2.0.d.ts"
26
27
  },
27
28
  "dependencies": {
28
- "@girs/gjs": "^3.2.2",
29
- "@girs/glib-2.0": "^2.77.0-3.2.2"
29
+ "@girs/gjs": "^4.0.0-beta.1",
30
+ "@girs/glib-2.0": "^2.77.0-4.0.0-beta.1"
30
31
  },
31
32
  "devDependencies": {
32
33
  "typescript": "*"
@@ -43,7 +44,7 @@
43
44
  "license": "MIT",
44
45
  "repository": {
45
46
  "type": "git",
46
- "url": "git+https://github.com/gjsify/types.git"
47
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
47
48
  },
48
49
  "bugs": {
49
50
  "url": "https://github.com/gjsify/ts-for-gir/issues"
package/gobject-2.0.cjs DELETED
@@ -1,11 +0,0 @@
1
-
2
-
3
- imports.gi.versions.GObject = '2.0'
4
- const GObject = imports.gi.GObject;
5
-
6
- module.exports = GObject;
7
-
8
-
9
-
10
-
11
-