@girs/devhelp-3.0 3.0.0-4.0.0-beta.6 → 3.0.0-4.0.0-beta.8

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/devhelp-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Devhelp-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.6.
8
+ GJS TypeScript type definitions for Devhelp-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.8.
9
9
 
10
10
 
11
11
  ## Install
@@ -1,12 +1,9 @@
1
-
2
1
  declare module 'gi://Devhelp?version=3.0' {
3
- import Devhelp from '@girs/devhelp-3.0';
4
- export default Devhelp;
2
+ import Devhelp30 from '@girs/devhelp-3.0';
3
+ export default Devhelp30;
5
4
  }
6
5
 
7
6
  declare module 'gi://Devhelp' {
8
7
  import Devhelp30 from 'gi://Devhelp?version=3.0';
9
8
  export default Devhelp30;
10
9
  }
11
-
12
-
@@ -1,4 +1,3 @@
1
-
2
1
  import Devhelp30 from '@girs/devhelp-3.0';
3
2
 
4
3
  declare global {
@@ -8,5 +7,3 @@ declare global {
8
7
  }
9
8
 
10
9
  export default GjsGiImports;
11
-
12
-
package/devhelp-3.0.d.ts CHANGED
@@ -1,16 +1,13 @@
1
- /*
1
+ /**
2
2
  * Type Definitions for Gjs (https://gjs.guide/)
3
3
  *
4
4
  * These type definitions are automatically generated, do not edit them by hand.
5
5
  * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
6
+ *
7
+ * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
6
8
  */
7
9
 
8
- import './devhelp-3.0-ambient.d.ts';
9
-
10
- /**
11
- * Devhelp-3.0
12
- */
13
-
10
+ // Module dependencies
14
11
  import type WebKit2 from '@girs/webkit2-4.1';
15
12
  import type Soup from '@girs/soup-3.0';
16
13
  import type Gio from '@girs/gio-2.0';
@@ -29,6 +26,10 @@ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
29
26
  import type Atk from '@girs/atk-1.0';
30
27
 
31
28
  export namespace Devhelp {
29
+ /**
30
+ * Devhelp-3.0
31
+ */
32
+
32
33
  /**
33
34
  * The type of the content the link points to.
34
35
  */
@@ -5685,4 +5686,5 @@ export namespace Devhelp {
5685
5686
  }
5686
5687
 
5687
5688
  export default Devhelp;
5689
+
5688
5690
  // END
package/devhelp-3.0.js CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
- // @ts-expect-error
3
- import Devhelp from 'gi://Devhelp?version=3.0';
4
- export { Devhelp };
5
- export default Devhelp;
2
+ // @ts-expect-error
3
+ import Devhelp from 'gi://Devhelp?version=3.0';
4
+ export default Devhelp;
6
5
 
package/index.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Type Definitions for Gjs (https://gjs.guide/)
3
+ *
4
+ * These type definitions are automatically generated, do not edit them by hand.
5
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
6
+ *
7
+ * This template is used to generate the index.d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
8
+ */
9
+
10
+ import './devhelp-3.0-ambient.d.ts';
11
+
12
+ import './devhelp-3.0-import.d.ts';
13
+
14
+ import Devhelp from './devhelp-3.0.js';
15
+ export default Devhelp;
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+
2
+ // @ts-expect-error
3
+ import Devhelp from './devhelp-3.0.js';
4
+ export default Devhelp;
5
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/devhelp-3.0",
3
- "version": "3.0.0-4.0.0-beta.6",
3
+ "version": "3.0.0-4.0.0-beta.8",
4
4
  "description": "GJS TypeScript type definitions for Devhelp-3.0, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "devhelp-3.0.js",
@@ -16,33 +16,38 @@
16
16
  "import": "./devhelp-3.0-import.js",
17
17
  "default": "./devhelp-3.0-import.js"
18
18
  },
19
- ".": {
19
+ "./devhelp-3.0": {
20
20
  "types": "./devhelp-3.0.d.ts",
21
21
  "import": "./devhelp-3.0.js",
22
22
  "default": "./devhelp-3.0.js"
23
+ },
24
+ ".": {
25
+ "types": "./index.d.ts",
26
+ "import": "./index.js",
27
+ "default": "./index.js"
23
28
  }
24
29
  },
25
30
  "scripts": {
26
31
  "test": "tsc --project tsconfig.json"
27
32
  },
28
33
  "dependencies": {
29
- "@girs/atk-1.0": "^2.52.0-4.0.0-beta.6",
30
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.6",
31
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.6",
32
- "@girs/gdk-3.0": "^3.24.42-4.0.0-beta.6",
33
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.6",
34
- "@girs/gio-2.0": "^2.80.3-4.0.0-beta.6",
35
- "@girs/gjs": "^4.0.0-beta.6",
36
- "@girs/glib-2.0": "^2.80.3-4.0.0-beta.6",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.6",
38
- "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.6",
39
- "@girs/gtk-3.0": "^3.24.42-4.0.0-beta.6",
40
- "@girs/harfbuzz-0.0": "^8.4.0-4.0.0-beta.6",
41
- "@girs/javascriptcore-4.1": "^2.44.2-4.0.0-beta.6",
42
- "@girs/pango-1.0": "^1.54.0-4.0.0-beta.6",
43
- "@girs/soup-3.0": "^3.4.4-4.0.0-beta.6",
44
- "@girs/webkit2-4.1": "^2.44.2-4.0.0-beta.6",
45
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.6"
34
+ "@girs/atk-1.0": "^2.52.0-4.0.0-beta.8",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.8",
36
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.8",
37
+ "@girs/gdk-3.0": "^3.24.42-4.0.0-beta.8",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.8",
39
+ "@girs/gio-2.0": "^2.80.2-4.0.0-beta.8",
40
+ "@girs/gjs": "^4.0.0-beta.8",
41
+ "@girs/glib-2.0": "^2.80.2-4.0.0-beta.8",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.8",
43
+ "@girs/gobject-2.0": "^2.80.2-4.0.0-beta.8",
44
+ "@girs/gtk-3.0": "^3.24.42-4.0.0-beta.8",
45
+ "@girs/harfbuzz-0.0": "^8.1.1-4.0.0-beta.8",
46
+ "@girs/javascriptcore-4.1": "^2.44.2-4.0.0-beta.8",
47
+ "@girs/pango-1.0": "^1.52.2-4.0.0-beta.8",
48
+ "@girs/soup-3.0": "^3.4.4-4.0.0-beta.8",
49
+ "@girs/webkit2-4.1": "^2.44.2-4.0.0-beta.8",
50
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.8"
46
51
  },
47
52
  "devDependencies": {
48
53
  "typescript": "*"
package/tsconfig.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "compilerOptions": {
3
3
  // General settings for code interpretation
4
4
  "target": "ESNext",
5
- "module": "ESNext",
5
+ "module": "NodeNext",
6
6
  "lib": ["ESNext"],
7
7
  "types": [],
8
8
  "experimentalDecorators": true,
9
- "moduleResolution": "node",
9
+ "moduleResolution": "NodeNext",
10
10
  "noEmit": true,
11
11
  "noEmitOnError": false,
12
12
  "baseUrl": "./",