Closed JumpLink closed 2 months ago
Taking a look...
@ewlsh Some in the GNOME community want the types to work without package.json and NPM.
I think for types without package.json support it is easier to generate all gir types in a single file, because in Ambient modules no relative imports are allowed and without package.json support only relative imports are possible. I will try that next.
packageYarn
toworkspace
as other package managers such as PNPM also support this protocolonlyVersionPrefix
. This fixesAllow all versions to be imported without a version string (e.g. gi://Gtk instead of gi://Gtk?version=4.0)
in #158 and possibly #174index.d.ts
file are now created for each module with which everything for the module (ambient module, imports.gi and namespace) can be importedpackage.json
support to fix #168 and #173, for this there is a new cli agrumentpackage
to be able to toggle betweenpackage.json
support.package.json
support is disabled by default.