@girs/mx-1.0 1.4.7-4.0.0-beta.6 → 1.4.7-4.0.0-beta.7

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/mx-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Mx-1.0, generated from library version 1.4.7 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.6.
8
+ GJS TypeScript type definitions for Mx-1.0, generated from library version 1.4.7 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.7.
9
9
 
10
10
 
11
11
  ## Install
package/index.d.ts ADDED
@@ -0,0 +1,13 @@
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 './mx-1.0-ambient.d.ts';
11
+
12
+ import Mx from './mx-1.0.js';
13
+ export default Mx;
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+
2
+ // @ts-expect-error
3
+ import Mx from './mx-1.0.js';
4
+ export default Mx;
5
+
@@ -1,8 +1,9 @@
1
-
2
1
  declare module 'gi://Mx?version=1.0' {
3
- import Mx from '@girs/mx-1.0';
4
- export default Mx;
2
+ import Mx10 from '@girs/mx-1.0';
3
+ export default Mx10;
5
4
  }
6
5
 
7
-
8
-
6
+ declare module 'gi://Mx' {
7
+ import Mx10 from 'gi://Mx?version=1.0';
8
+ export default Mx10;
9
+ }
@@ -1,2 +1 @@
1
1
  // Module import type definition not generated, otherwise this would cause a type conflict, this is because several GIR modules were generated with the same namespace: "Mx"
2
-
package/mx-1.0.d.ts CHANGED
@@ -1,18 +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 './mx-1.0-ambient.d.ts';
9
-
10
- import './mx-1.0-import.d.ts';
11
-
12
- /**
13
- * Mx-1.0
14
- */
15
-
10
+ // Module dependencies
16
11
  import type freetype2 from '@girs/freetype2-2.0';
17
12
  import type fontconfig from '@girs/fontconfig-2.0';
18
13
  import type cairo from '@girs/cairo-1.0';
@@ -33,6 +28,10 @@ import type Clutter from '@girs/clutter-1.0';
33
28
  import type Atk from '@girs/atk-1.0';
34
29
 
35
30
  export namespace Mx {
31
+ /**
32
+ * Mx-1.0
33
+ */
34
+
36
35
  enum ActorManagerError {
37
36
  CONTAINER_DESTROYED,
38
37
  ACTOR_DESTROYED,
@@ -27001,4 +27000,5 @@ export namespace Mx {
27001
27000
  }
27002
27001
 
27003
27002
  export default Mx;
27003
+
27004
27004
  // END
package/mx-1.0.js CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
- // @ts-expect-error
3
- import Mx from 'gi://Mx?version=1.0';
4
- export { Mx };
5
- export default Mx;
2
+ // @ts-expect-error
3
+ import Mx from 'gi://Mx?version=1.0';
4
+ export default Mx;
6
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/mx-1.0",
3
- "version": "1.4.7-4.0.0-beta.6",
3
+ "version": "1.4.7-4.0.0-beta.7",
4
4
  "description": "GJS TypeScript type definitions for Mx-1.0, generated from library version 1.4.7",
5
5
  "type": "module",
6
6
  "module": "mx-1.0.js",
@@ -16,35 +16,40 @@
16
16
  "import": "./mx-1.0-import.js",
17
17
  "default": "./mx-1.0-import.js"
18
18
  },
19
- ".": {
19
+ "./mx-1.0": {
20
20
  "types": "./mx-1.0.d.ts",
21
21
  "import": "./mx-1.0.js",
22
22
  "default": "./mx-1.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/clutter-1.0": "^1.26.5-4.0.0-beta.6",
32
- "@girs/cogl-1.0": "^1.0.0-4.0.0-beta.6",
33
- "@girs/coglpango-1.0": "^1.0.0-4.0.0-beta.6",
34
- "@girs/fontconfig-2.0": "^2.0.0-4.0.0-beta.6",
35
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.6",
36
- "@girs/gio-2.0": "^2.80.3-4.0.0-beta.6",
37
- "@girs/gjs": "^4.0.0-beta.6",
38
- "@girs/gl-1.0": "^1.0.0-4.0.0-beta.6",
39
- "@girs/glib-2.0": "^2.80.3-4.0.0-beta.6",
40
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.6",
41
- "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.6",
42
- "@girs/harfbuzz-0.0": "^8.4.0-4.0.0-beta.6",
43
- "@girs/json-1.0": "^1.8.0-4.0.0-beta.6",
44
- "@girs/pango-1.0": "^1.54.0-4.0.0-beta.6",
45
- "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.6",
46
- "@girs/pangofc-1.0": "^1.0.0-4.0.0-beta.6",
47
- "@girs/pangoft2-1.0": "^1.0.0-4.0.0-beta.6"
34
+ "@girs/atk-1.0": "^2.52.0-4.0.0-beta.7",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.7",
36
+ "@girs/clutter-1.0": "^1.26.5-4.0.0-beta.7",
37
+ "@girs/cogl-1.0": "^1.0.0-4.0.0-beta.7",
38
+ "@girs/coglpango-1.0": "^1.0.0-4.0.0-beta.7",
39
+ "@girs/fontconfig-2.0": "^2.0.0-4.0.0-beta.7",
40
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.7",
41
+ "@girs/gio-2.0": "^2.80.2-4.0.0-beta.7",
42
+ "@girs/gjs": "^4.0.0-beta.7",
43
+ "@girs/gl-1.0": "^1.0.0-4.0.0-beta.7",
44
+ "@girs/glib-2.0": "^2.80.2-4.0.0-beta.7",
45
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.7",
46
+ "@girs/gobject-2.0": "^2.80.2-4.0.0-beta.7",
47
+ "@girs/harfbuzz-0.0": "^8.1.1-4.0.0-beta.7",
48
+ "@girs/json-1.0": "^1.8.0-4.0.0-beta.7",
49
+ "@girs/pango-1.0": "^1.52.2-4.0.0-beta.7",
50
+ "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.7",
51
+ "@girs/pangofc-1.0": "^1.0.0-4.0.0-beta.7",
52
+ "@girs/pangoft2-1.0": "^1.0.0-4.0.0-beta.7"
48
53
  },
49
54
  "devDependencies": {
50
55
  "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": "./",