@girs/st-1.0 1.0.0-3.0.0-beta.12

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 ADDED
@@ -0,0 +1,31 @@
1
+
2
+ # St-1.0
3
+
4
+ GJS TypeScript type definitions for St-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
5
+
6
+ ## Install
7
+
8
+ To use this type definitions, install them with NPM like this:
9
+ ```bash
10
+ npm install @girs/st-1.0
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ You can import this package into your project like this:
16
+ ```ts
17
+ import St from '@girs/st-1.0';
18
+ ```
19
+
20
+ Or if you prefer CommonJS, you can also use this:
21
+ ```ts
22
+ const St = require('@girs/st-1.0');
23
+ ```
24
+
25
+ If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
26
+
27
+ ```ts
28
+ import St from 'gi://St?version=1.0';
29
+ ```
30
+
31
+ Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@girs/st-1.0",
3
+ "version": "1.0.0-3.0.0-beta.12",
4
+ "description": "GJS TypeScript type definitions for St-1.0, generated from library version 1.0.0",
5
+ "type": "module",
6
+ "module": "st-1.0.js",
7
+ "main": "st-1.0.js",
8
+ "typedoc": {
9
+ "entryPoint": "./st-1.0.d.ts",
10
+ "readmeFile": "./README.md",
11
+ "displayName": "St-1.0",
12
+ "tsconfig": "./tsconfig.doc.json"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./st-1.0.d.ts",
18
+ "default": "./st-1.0.js"
19
+ },
20
+ "require": {
21
+ "types": "./st-1.0.d.cts",
22
+ "default": "./st-1.0.cjs"
23
+ }
24
+ }
25
+ },
26
+ "scripts": {
27
+ "test": "yarn test:esm && yarn test:cjs",
28
+ "test:esm": "tsc --noEmit st-1.0.d.ts",
29
+ "test:cjs": "tsc --noEmit st-1.0.d.cts"
30
+ },
31
+ "dependencies": {
32
+ "@girs/atk-1.0": "^2.45.1-3.0.0-beta.12",
33
+ "@girs/cairo-1.0": "^1.0.0-3.0.0-beta.12",
34
+ "@girs/cally-11": "^11.0.0-3.0.0-beta.12",
35
+ "@girs/clutter-11": "^11.0.0-3.0.0-beta.12",
36
+ "@girs/cogl-11": "^11.0.0-3.0.0-beta.12",
37
+ "@girs/coglpango-11": "^11.0.0-3.0.0-beta.12",
38
+ "@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.12",
39
+ "@girs/gdesktopenums-3.0": "^3.0.0-3.0.0-beta.12",
40
+ "@girs/gdk-3.0": "^3.24.36-3.0.0-beta.12",
41
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0-beta.12",
42
+ "@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
43
+ "@girs/gl-1.0": "^1.0.0-3.0.0-beta.12",
44
+ "@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
45
+ "@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.12",
46
+ "@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
47
+ "@girs/graphene-1.0": "^1.0.0-3.0.0-beta.12",
48
+ "@girs/gtk-3.0": "^3.24.36-3.0.0-beta.12",
49
+ "@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.12",
50
+ "@girs/json-1.0": "^1.7.1-3.0.0-beta.12",
51
+ "@girs/meta-11": "^11.0.0-3.0.0-beta.12",
52
+ "@girs/pango-1.0": "^1.50.13-3.0.0-beta.12",
53
+ "@girs/pangocairo-1.0": "^1.0.0-3.0.0-beta.12",
54
+ "@girs/xfixes-4.0": "^4.0.0-3.0.0-beta.12",
55
+ "@girs/xlib-2.0": "^2.0.0-3.0.0-beta.12"
56
+ },
57
+ "devDependencies": {
58
+ "typescript": "^*"
59
+ },
60
+ "keywords": [
61
+ "Gir",
62
+ "TypeScript",
63
+ "St-1.0"
64
+ ],
65
+ "author": "ts-for-gir",
66
+ "license": "Apache-2.0",
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
70
+ },
71
+ "bugs": {
72
+ "url": "https://github.com/gjsify/ts-for-gir/issues"
73
+ },
74
+ "homepage": "https://github.com/gjsify/ts-for-gir#readme"
75
+ }
package/st-1.0.cjs ADDED
@@ -0,0 +1,9 @@
1
+
2
+
3
+ imports.gi.versions.St = '1.0'
4
+ const St = imports.gi.St;
5
+
6
+ module.exports = St;
7
+
8
+
9
+