📦 build(scripts/types): compile types in project's root directory
This commit is contained in:
+1
-1
@@ -5,4 +5,4 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo "Building types, this can take long..."
|
echo "Building types, this can take long..."
|
||||||
pnpx @ts-for-gir/cli generate --ignoreVersionConflicts -o ./src/@girs
|
pnpx @ts-for-gir/cli generate --ignoreVersionConflicts -o ./@girs
|
||||||
|
|||||||
+1
-1
@@ -134,7 +134,7 @@ export class Shell extends Gtk.Application {
|
|||||||
|
|
||||||
connections.set(this, this.connect("shutdown", () => this.#scope.dispose()));
|
connections.set(this, this.connect("shutdown", () => this.#scope.dispose()));
|
||||||
createRoot(() => {
|
createRoot(() => {
|
||||||
console.log(`Colorshell: initialized instance as: "colorshell"`);
|
console.log(`Colorshell: initializing`);
|
||||||
this.#scope = getScope();
|
this.#scope = getScope();
|
||||||
|
|
||||||
Stylesheet.getDefault().compileApply();
|
Stylesheet.getDefault().compileApply();
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
"lib": ["ES2024"],
|
"lib": ["ES2024"],
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"types": [
|
||||||
|
"../@girs"
|
||||||
|
],
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"jsxImportSource": "ags/gtk4"
|
"jsxImportSource": "ags/gtk4"
|
||||||
|
|||||||
Reference in New Issue
Block a user