diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f5fa18b7..214ef7d53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: Build, validate and run examples +name: CI on: push: diff --git a/NEWS.md b/NEWS.md index 31a08dfa8..bf15bbcde 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,10 @@ - Create a Reporter to create a text or json file with warnings like unknown types, renaming, etc and a summary of all that (e.g. 5 type conflicts resolved, 8 unknown types of *gint) - Update types for GJS v1.75.2, see https://gitlab.gnome.org/GNOME/gjs/-/commit/666755b3b09d765e43d415e76105b828517b5509 +# v3.0.4 +- Update badges on README template files +- Node-gtk: Readd gobject signal method, fixes #126 + # v3.0.3 - NPM package Yarn workspace support is optional now, see #124 - Upgrade all dependencies (except `xml2js`, see #125) diff --git a/examples/gjs/adw-1-hello/package.json b/examples/gjs/adw-1-hello/package.json index 82aae24ae..0ce3ccd13 100644 --- a/examples/gjs/adw-1-hello/package.json +++ b/examples/gjs/adw-1-hello/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-adw-1-hello-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Typescript hello-world example using Libadwaita", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-cat-alias/package.json b/examples/gjs/gio-2-cat-alias/package.json index dd0d94595..a7e4d27e5 100644 --- a/examples/gjs/gio-2-cat-alias/package.json +++ b/examples/gjs/gio-2-cat-alias/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-cat-alias-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-cat-packages/package.json b/examples/gjs/gio-2-cat-packages/package.json index aef20cd28..6e4237321 100644 --- a/examples/gjs/gio-2-cat-packages/package.json +++ b/examples/gjs/gio-2-cat-packages/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-cat-promisify-packages", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-cat-promisify/package.json b/examples/gjs/gio-2-cat-promisify/package.json index 9d7176466..204b986e7 100644 --- a/examples/gjs/gio-2-cat-promisify/package.json +++ b/examples/gjs/gio-2-cat-promisify/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-cat-promisify-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-cat-types-only/package.json b/examples/gjs/gio-2-cat-types-only/package.json index 73f95bc26..7483ab1a8 100644 --- a/examples/gjs/gio-2-cat-types-only/package.json +++ b/examples/gjs/gio-2-cat-types-only/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-cat-types-only-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-cat/package.json b/examples/gjs/gio-2-cat/package.json index b5f719196..3e42680ea 100644 --- a/examples/gjs/gio-2-cat/package.json +++ b/examples/gjs/gio-2-cat/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-cat-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-dbus/package.json b/examples/gjs/gio-2-dbus/package.json index c6f342036..041c429f1 100644 --- a/examples/gjs/gio-2-dbus/package.json +++ b/examples/gjs/gio-2-dbus/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-dbus-example", - "version": "3.0.3", + "version": "3.0.4", "description": "GJS example showing how to build a DBus server/client", "main": "index.js", "type": "module", diff --git a/examples/gjs/gio-2-list-model/package.json b/examples/gjs/gio-2-list-model/package.json index dc6f696eb..7b5047d22 100644 --- a/examples/gjs/gio-2-list-model/package.json +++ b/examples/gjs/gio-2-list-model/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gio-2-list-model-example", - "version": "3.0.3", + "version": "3.0.4", "description": "An example of implementing the GListModel interface in GJS", "main": "index.js", "type": "module", diff --git a/examples/gjs/glib-2-spawn-command/package.json b/examples/gjs/glib-2-spawn-command/package.json index a17798734..388bec8c5 100644 --- a/examples/gjs/glib-2-spawn-command/package.json +++ b/examples/gjs/glib-2-spawn-command/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-glib-2-spawn-command-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "module": "dist/main.js", "private": true, diff --git a/examples/gjs/glib-2-variant/package.json b/examples/gjs/glib-2-variant/package.json index 8ad49c8c4..d9f0deea5 100644 --- a/examples/gjs/glib-2-variant/package.json +++ b/examples/gjs/glib-2-variant/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-glib-2-variant-example", - "version": "3.0.3", + "version": "3.0.4", "description": "ts-for-gir GVariant example based on https://gjs.guide/guides/glib/gvariant.html", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-3-application/package.json b/examples/gjs/gtk-3-application/package.json index 1b3638e37..f88386ab4 100644 --- a/examples/gjs/gtk-3-application/package.json +++ b/examples/gjs/gtk-3-application/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-application-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app to demonstrate how you can use and extend Gtk.Application", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-3-browser/package.json b/examples/gjs/gtk-3-browser/package.json index 05a383d26..20a6176d9 100644 --- a/examples/gjs/gtk-3-browser/package.json +++ b/examples/gjs/gtk-3-browser/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-browser-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "module": "dist/main.js", "type": "module", diff --git a/examples/gjs/gtk-3-builder/package.json b/examples/gjs/gtk-3-builder/package.json index 9599bea0e..bd36cd457 100644 --- a/examples/gjs/gtk-3-builder/package.json +++ b/examples/gjs/gtk-3-builder/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-builder-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/gjs/gtk-3-calc/package.json b/examples/gjs/gtk-3-calc/package.json index 27bbd002e..9dad97e50 100644 --- a/examples/gjs/gtk-3-calc/package.json +++ b/examples/gjs/gtk-3-calc/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-calc-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 calculator example app", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-3-editor/package.json b/examples/gjs/gtk-3-editor/package.json index db6916d63..b13ba03b5 100644 --- a/examples/gjs/gtk-3-editor/package.json +++ b/examples/gjs/gtk-3-editor/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-editor-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/gjs/gtk-3-gettext/package.json b/examples/gjs/gtk-3-gettext/package.json index c7ff8945d..b57276fe9 100644 --- a/examples/gjs/gtk-3-gettext/package.json +++ b/examples/gjs/gtk-3-gettext/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-gettext-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-3-hello-2/package.json b/examples/gjs/gtk-3-hello-2/package.json index c2c6aa30c..f3e68a58e 100644 --- a/examples/gjs/gtk-3-hello-2/package.json +++ b/examples/gjs/gtk-3-hello-2/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-hello-2-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app to demonstrate how you can connect to Gtk signals", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-3-hello/package.json b/examples/gjs/gtk-3-hello/package.json index 098ad7147..31ee2bd74 100644 --- a/examples/gjs/gtk-3-hello/package.json +++ b/examples/gjs/gtk-3-hello/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-hello-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/gjs/gtk-3-template/package.json b/examples/gjs/gtk-3-template/package.json index 797415a19..b463b9bbc 100644 --- a/examples/gjs/gtk-3-template/package.json +++ b/examples/gjs/gtk-3-template/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-template-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app to demonstrate how you can use .ui template XML files", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-3-webkit/package.json b/examples/gjs/gtk-3-webkit/package.json index c3a97bc01..fb507b457 100644 --- a/examples/gjs/gtk-3-webkit/package.json +++ b/examples/gjs/gtk-3-webkit/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-3-webkit-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 3 example app to demonstrate how you can use WebKit2", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-4-custom-widget/package.json b/examples/gjs/gtk-4-custom-widget/package.json index dfa1a29a1..5c8ed404a 100644 --- a/examples/gjs/gtk-4-custom-widget/package.json +++ b/examples/gjs/gtk-4-custom-widget/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gjs-gtk-4-custom-widget-example", - "version": "3.0.3", + "version": "3.0.4", "description": "This example shows the usage of custom widgets and virtual functions in GJS", "main": "dist/index.js", "type": "module", diff --git a/examples/gjs/gtk-4-list-store/package.json b/examples/gjs/gtk-4-list-store/package.json index 681176cc9..4ad1232af 100644 --- a/examples/gjs/gtk-4-list-store/package.json +++ b/examples/gjs/gtk-4-list-store/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-4-list-store-example", - "version": "3.0.3", + "version": "3.0.4", "description": "It takes the hassle away from building Gtk4 application in Python So you can create a cool application, without all the boilerplate code", "main": "index.js", "type": "module", diff --git a/examples/gjs/gtk-4-template/package.json b/examples/gjs/gtk-4-template/package.json index 43603c693..dde7e5a95 100644 --- a/examples/gjs/gtk-4-template/package.json +++ b/examples/gjs/gtk-4-template/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-gtk-4-template-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 4 example app to demonstrate how you can use .ui template XML files", "main": "index.js", "type": "module", diff --git a/examples/gjs/soup-3-http/package.json b/examples/gjs/soup-3-http/package.json index 03cfba451..b34bc5ea2 100644 --- a/examples/gjs/soup-3-http/package.json +++ b/examples/gjs/soup-3-http/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-soup-3-http-example", - "version": "3.0.3", + "version": "3.0.4", "description": "GJS example showing how to build a http server/client using Soap 3", "main": "index.js", "type": "module", diff --git a/examples/gjs/soup-3-websocket/package.json b/examples/gjs/soup-3-websocket/package.json index 8c34a560e..c191733b6 100644 --- a/examples/gjs/soup-3-websocket/package.json +++ b/examples/gjs/soup-3-websocket/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-soup-3-websocket-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Soup 3 example app to demonstrate how you can use WebSockets", "main": "index.js", "type": "module", diff --git a/examples/gjs/timers/package.json b/examples/gjs/timers/package.json index 40d17ac21..aadef50aa 100644 --- a/examples/gjs/timers/package.json +++ b/examples/gjs/timers/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-timers-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple GJS Gtk 4 example app to demonstrate how you can use .ui template XML files", "main": "index.js", "type": "module", diff --git a/examples/node-gtk/gio-2-cat-packages/package.json b/examples/node-gtk/gio-2-cat-packages/package.json index 77a001ad3..626adfd79 100644 --- a/examples/node-gtk/gio-2-cat-packages/package.json +++ b/examples/node-gtk/gio-2-cat-packages/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-gio-2-cat-promisify-packages", - "version": "3.0.3", + "version": "3.0.4", "description": "Simple Node Gtk 3 example app that shows how you can translate strings with gettext", "main": "index.js", "type": "commonjs", diff --git a/examples/node-gtk/glib-2-spawn-command/package.json b/examples/node-gtk/glib-2-spawn-command/package.json index d21b50fb9..0a8e7f55b 100644 --- a/examples/node-gtk/glib-2-spawn-command/package.json +++ b/examples/node-gtk/glib-2-spawn-command/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-glib-2-spawn-command-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/node-gtk/gtk-3-browser/package.json b/examples/node-gtk/gtk-3-browser/package.json index 1fb1fdc21..26af66faa 100644 --- a/examples/node-gtk/gtk-3-browser/package.json +++ b/examples/node-gtk/gtk-3-browser/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-3-browser-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "dist/main.js", "private": true, diff --git a/examples/node-gtk/gtk-3-builder-auto-connect-signals/package.json b/examples/node-gtk/gtk-3-builder-auto-connect-signals/package.json index 18fb8ff4a..4e4bf995d 100644 --- a/examples/node-gtk/gtk-3-builder-auto-connect-signals/package.json +++ b/examples/node-gtk/gtk-3-builder-auto-connect-signals/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-3-builder-auto-connect-signals-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/node-gtk/gtk-3-builder/package.json b/examples/node-gtk/gtk-3-builder/package.json index 0ee6e2c22..047b962b8 100644 --- a/examples/node-gtk/gtk-3-builder/package.json +++ b/examples/node-gtk/gtk-3-builder/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-3-builder-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/node-gtk/gtk-3-editor/package.json b/examples/node-gtk/gtk-3-editor/package.json index eab5c0b23..09476a3bc 100644 --- a/examples/node-gtk/gtk-3-editor/package.json +++ b/examples/node-gtk/gtk-3-editor/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-3-editor-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "main.ts", "private": true, diff --git a/examples/node-gtk/gtk-3-hello/package.json b/examples/node-gtk/gtk-3-hello/package.json index 9052acc8c..d0019c768 100644 --- a/examples/node-gtk/gtk-3-hello/package.json +++ b/examples/node-gtk/gtk-3-hello/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-3-hello-example", - "version": "3.0.3", + "version": "3.0.4", "description": "", "main": "dist/main.js", "private": true, diff --git a/examples/node-gtk/gtk-4-custom-widget/package.json b/examples/node-gtk/gtk-4-custom-widget/package.json index 2bc5efea9..e44c59231 100644 --- a/examples/node-gtk/gtk-4-custom-widget/package.json +++ b/examples/node-gtk/gtk-4-custom-widget/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-gtk-gtk-4-custom-widget-example", - "version": "3.0.3", + "version": "3.0.4", "description": "This example shows the usage of custom widgets and virtual functions in node-gtk", "main": "dist/index.js", "private": true, diff --git a/examples/node-gtk/soup-3-http/package.json b/examples/node-gtk/soup-3-http/package.json index 1b0f7ded1..65dff6a8e 100644 --- a/examples/node-gtk/soup-3-http/package.json +++ b/examples/node-gtk/soup-3-http/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir-node-soup-3-http-example", - "version": "3.0.3", + "version": "3.0.4", "description": "Node-gtk example showing how to build a http server/client using Soap 3", "main": "dist/http-server.js", "private": true, diff --git a/package.json b/package.json index a2e562e6a..972a3c88b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-for-gir", - "version": "3.0.3", + "version": "3.0.4", "description": "Typescript .d.ts generator from GIR for gjs and node-gtk", "type": "module", "private": true, diff --git a/packages/cli/package.json b/packages/cli/package.json index b332c251a..68256d09a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@ts-for-gir/cli", - "version": "3.0.3", + "version": "3.0.4", "description": "TypeScript type definition generator for GObject introspection GIR files", "module": "lib/index.js", "main": "lib/index.js", diff --git a/packages/generator-base/package.json b/packages/generator-base/package.json index f84d5e23d..7561b1105 100644 --- a/packages/generator-base/package.json +++ b/packages/generator-base/package.json @@ -1,6 +1,6 @@ { "name": "@ts-for-gir/generator-base", - "version": "3.0.3", + "version": "3.0.4", "description": "Base generator for ts-for-gir", "module": "lib/index.js", "main": "lib/index.js", diff --git a/packages/generator-html-doc/package.json b/packages/generator-html-doc/package.json index 3dfb8664b..488fbbc1f 100644 --- a/packages/generator-html-doc/package.json +++ b/packages/generator-html-doc/package.json @@ -1,6 +1,6 @@ { "name": "@ts-for-gir/generator-html-doc", - "version": "3.0.3", + "version": "3.0.4", "description": "HTML Documentation generator for ts-for-gir", "module": "lib/index.js", "main": "lib/index.js", diff --git a/packages/generator-typescript/package.json b/packages/generator-typescript/package.json index 9b5690ef2..868e3dfe0 100644 --- a/packages/generator-typescript/package.json +++ b/packages/generator-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@ts-for-gir/generator-typescript", - "version": "3.0.3", + "version": "3.0.4", "description": "TypeScript type definition generator for ts-for-gir", "module": "lib/index.js", "main": "lib/index.js", diff --git a/packages/lib/package.json b/packages/lib/package.json index 6547c04a5..a69626c82 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,6 +1,6 @@ { "name": "@ts-for-gir/lib", - "version": "3.0.3", + "version": "3.0.4", "description": "Typescript .d.ts generator from GIR for gjs and node-gtk", "module": "lib/index.js", "main": "lib/index.js", diff --git a/types b/types index 76fa94cd9..148f9cd0d 160000 --- a/types +++ b/types @@ -1 +1 @@ -Subproject commit 76fa94cd90083ab25cbf0d189974aa3d54ca5680 +Subproject commit 148f9cd0d104765a9d854f629ff4fe28479d190b