@girs/gtksource-300 4.0.4

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.
@@ -0,0 +1,5 @@
1
+
2
+ // @ts-expect-error
3
+ import GtkSource from 'gi://GtkSource?version=300';
4
+ export default GtkSource;
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 './gtksource-300-ambient.d.ts';
11
+
12
+
13
+ import GtkSource from './gtksource-300.js';
14
+ export default GtkSource;
15
+
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+
2
+ // @ts-expect-error
3
+ import GtkSource from './gtksource-300.js';
4
+ export default GtkSource;
5
+
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@girs/gtksource-300",
3
+ "version": "4.0.4",
4
+ "libraryVersion": "300.0.0",
5
+ "description": "GJS TypeScript type definitions for GtkSource-300, generated from library version 300.0.0",
6
+ "type": "module",
7
+ "module": "gtksource-300.js",
8
+ "main": "gtksource-300.js",
9
+ "exports": {
10
+ "./ambient": {
11
+ "types": "./gtksource-300-ambient.d.ts",
12
+ "import": "./gtksource-300-ambient.js",
13
+ "default": "./gtksource-300-ambient.js"
14
+ },
15
+ "./import": {
16
+ "types": "./gtksource-300-import.d.ts",
17
+ "import": "./gtksource-300-import.js",
18
+ "default": "./gtksource-300-import.js"
19
+ },
20
+ "./gtksource-300": {
21
+ "types": "./gtksource-300.d.ts",
22
+ "import": "./gtksource-300.js",
23
+ "default": "./gtksource-300.js"
24
+ },
25
+ ".": {
26
+ "types": "./index.d.ts",
27
+ "import": "./index.js",
28
+ "default": "./index.js"
29
+ }
30
+ },
31
+ "scripts": {
32
+ "test": "tsc --project tsconfig.json"
33
+ },
34
+ "dependencies": {
35
+ "@girs/gjs": "^4.0.4",
36
+ "@girs/gtk-3.0": "^4.0.4",
37
+ "@girs/xlib-2.0": "^4.0.4",
38
+ "@girs/gdk-3.0": "^4.0.4",
39
+ "@girs/cairo-1.0": "^4.0.4",
40
+ "@girs/gobject-2.0": "^4.0.4",
41
+ "@girs/glib-2.0": "^4.0.4",
42
+ "@girs/pango-1.0": "^4.0.4",
43
+ "@girs/harfbuzz-0.0": "^4.0.4",
44
+ "@girs/freetype2-2.0": "^4.0.4",
45
+ "@girs/gio-2.0": "^4.0.4",
46
+ "@girs/gmodule-2.0": "^4.0.4",
47
+ "@girs/gdkpixbuf-2.0": "^4.0.4",
48
+ "@girs/atk-1.0": "^4.0.4" },
49
+ "devDependencies": {
50
+ "typescript": "*"
51
+ },
52
+ "keywords": ["Gir", "TypeScript", "types", "GObject-Introspection", "GJS", "GtkSource-300"],
53
+ "author": "ts-for-gir",
54
+ "license": "MIT",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "git+https://github.com/gjsify/types.git"
58
+ },
59
+ "bugs": {
60
+ "url": "https://github.com/gjsify/ts-for-gir/issues"
61
+ },
62
+ "homepage": "https://github.com/gjsify/types/tree/main/gtksource-300#readme"
63
+ }
64
+
65
+
package/tsconfig.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "compilerOptions": {
3
+ // General settings for code interpretation
4
+ "target": "ESNext",
5
+ "module": "NodeNext",
6
+ "lib": ["ESNext"],
7
+ "types": [],
8
+ "experimentalDecorators": true,
9
+ "moduleResolution": "NodeNext",
10
+ "noEmit": true,
11
+ "noEmitOnError": false,
12
+ "rootDir": ".",
13
+ // General settings for code generation
14
+ "removeComments": false,
15
+ "inlineSourceMap": false,
16
+ "inlineSources": false,
17
+ "newLine": "LF",
18
+ // Show diagnostics
19
+ "diagnostics": true,
20
+ "paths": {
21
+ "@girs/gtk-3.0": [
22
+ "../gtk-3.0/index.d.ts"
23
+ ],
24
+ "@girs/xlib-2.0": [
25
+ "../xlib-2.0/index.d.ts"
26
+ ],
27
+ "@girs/gdk-3.0": [
28
+ "../gdk-3.0/index.d.ts"
29
+ ],
30
+ "@girs/cairo-1.0": [
31
+ "../cairo-1.0/index.d.ts"
32
+ ],
33
+ "@girs/gobject-2.0": [
34
+ "../gobject-2.0/index.d.ts"
35
+ ],
36
+ "@girs/glib-2.0": [
37
+ "../glib-2.0/index.d.ts"
38
+ ],
39
+ "@girs/pango-1.0": [
40
+ "../pango-1.0/index.d.ts"
41
+ ],
42
+ "@girs/harfbuzz-0.0": [
43
+ "../harfbuzz-0.0/index.d.ts"
44
+ ],
45
+ "@girs/freetype2-2.0": [
46
+ "../freetype2-2.0/index.d.ts"
47
+ ],
48
+ "@girs/gio-2.0": [
49
+ "../gio-2.0/index.d.ts"
50
+ ],
51
+ "@girs/gmodule-2.0": [
52
+ "../gmodule-2.0/index.d.ts"
53
+ ],
54
+ "@girs/gdkpixbuf-2.0": [
55
+ "../gdkpixbuf-2.0/index.d.ts"
56
+ ],
57
+ "@girs/atk-1.0": [
58
+ "../atk-1.0/index.d.ts"
59
+ ],
60
+ "@girs/gjs": [
61
+ "../gjs/index.d.ts"
62
+ ]
63
+ }
64
+ },
65
+ "include": ["./gtksource-300.d.ts"]
66
+ }
67
+
68
+
package/typedoc.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "entryPoints": ["./gtksource-300.d.ts"],
3
+ "readme": "./README.md",
4
+ "name": "GtkSource-300",
5
+ "tsconfig": "./tsconfig.json",
6
+ "skipErrorChecking": true,
7
+ "highlightLanguages": ["typescript", "javascript", "c", "cpp", "xml", "bash", "json", "css"]
8
+ }
9
+