@girs/packagekitplugin-1.0 1.0.0-3.3.0 → 1.0.0-4.0.0-beta.2

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/packagekitplugin-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for PackageKitPlugin-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.3.0.
8
+ GJS TypeScript type definitions for PackageKitPlugin-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/packagekitplugin-1.0",
3
- "version": "1.0.0-3.3.0",
3
+ "version": "1.0.0-4.0.0-beta.2",
4
4
  "description": "GJS TypeScript type definitions for PackageKitPlugin-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "packagekitplugin-1.0.js",
@@ -8,34 +8,30 @@
8
8
  "exports": {
9
9
  "./ambient": {
10
10
  "types": "./packagekitplugin-1.0-ambient.d.ts",
11
+ "import": "./packagekitplugin-1.0-ambient.js",
11
12
  "default": "./packagekitplugin-1.0-ambient.js"
12
13
  },
13
14
  "./import": {
14
15
  "types": "./packagekitplugin-1.0-import.d.ts",
16
+ "import": "./packagekitplugin-1.0-import.js",
15
17
  "default": "./packagekitplugin-1.0-import.js"
16
18
  },
17
19
  ".": {
18
- "import": {
19
- "types": "./packagekitplugin-1.0.d.ts",
20
- "default": "./packagekitplugin-1.0.js"
21
- },
22
- "require": {
23
- "types": "./packagekitplugin-1.0.d.cts",
24
- "default": "./packagekitplugin-1.0.cjs"
25
- }
20
+ "types": "./packagekitplugin-1.0.d.ts",
21
+ "import": "./packagekitplugin-1.0.js",
22
+ "default": "./packagekitplugin-1.0.js"
26
23
  }
27
24
  },
28
25
  "scripts": {
29
- "test": "yarn test:esm && yarn test:cjs",
30
- "test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit packagekitplugin-1.0.d.ts",
31
- "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit packagekitplugin-1.0.d.cts"
26
+ "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit packagekitplugin-1.0.d.ts"
32
27
  },
33
28
  "dependencies": {
34
- "@girs/gio-2.0": "^2.78.0-3.3.0",
35
- "@girs/gjs": "^3.3.0",
36
- "@girs/glib-2.0": "^2.78.0-3.3.0",
37
- "@girs/gobject-2.0": "^2.78.0-3.3.0",
38
- "@girs/packagekitglib-1.0": "^1.2.7-3.3.0"
29
+ "@girs/gio-2.0": "^2.80.0-4.0.0-beta.2",
30
+ "@girs/gjs": "^4.0.0-beta.2",
31
+ "@girs/glib-2.0": "^2.80.0-4.0.0-beta.2",
32
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.2",
33
+ "@girs/gobject-2.0": "^2.80.0-4.0.0-beta.2",
34
+ "@girs/packagekitglib-1.0": "^1.2.7-4.0.0-beta.2"
39
35
  },
40
36
  "devDependencies": {
41
37
  "typescript": "*"
@@ -1,11 +1,11 @@
1
1
 
2
2
  declare module 'gi://PackageKitPlugin?version=1.0' {
3
- import PackageKitPlugin10 from '@girs/packagekitplugin-1.0';
4
- export default PackageKitPlugin10;
3
+ import PackageKitPlugin from '@girs/packagekitplugin-1.0';
4
+ export default PackageKitPlugin;
5
5
  }
6
6
 
7
7
  declare module 'gi://PackageKitPlugin' {
8
- import PackageKitPlugin10 from '@girs/packagekitplugin-1.0';
8
+ import PackageKitPlugin10 from 'gi://PackageKitPlugin?version=1.0';
9
9
  export default PackageKitPlugin10;
10
10
  }
11
11