4.0.0-beta.7 #178
JumpLink
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have just updated
ts-for-gir
to4.0.0-beta.7
. Types can now be generated locally withoutpackage.json
support, which is now the default. You can try it out directly with:This will generate the types for Libadwaita and all its dependencies, including Gtk 4.0, GObject 2.0, etc.
If you still want to generate types with
package.json
support, simply use the--package
CLI argument. We have also updated them on NPM, including the upcoming types for GNOME Shell 47.What's Changed
Allow toggling between
package.json
support and further cleanups from the gi.ts merge by @JumpLink in #176:packageYarn
toworkspace
as other package managers such as PNPM also support this protocol.onlyVersionPrefix
. This fixesAllow all versions to be imported without a version string (e.g. gi://Gtk instead of gi://Gtk?version=4.0)
in Finalise the ts-for-gir and gi.ts fusion #158 and possibly Create an import for the latest version in*-ambient.d.ts
#174.index.d.ts
file is now created for each module, allowing everything for the module (ambient module, imports.gi, and namespace) to be imported.package.json
support to fix ThebuildType
option doesn't work yet. #168 and Addgi.d.ts
index file #173. For this, there is a new CLI argumentpackage
to togglepackage.json
support.Full Changelog: v4.0.0-beta.6...v4.0.0-beta.7
This discussion was created from the release 4.0.0-beta.7.
Beta Was this translation helpful? Give feedback.
All reactions