From 92cde63a4d7d77c9fb0cec143a98ea99fd2104cc Mon Sep 17 00:00:00 2001 From: Pascal Garber Date: Sun, 3 Mar 2024 12:01:56 +0100 Subject: [PATCH] Fix example cli script --- NEWS.md | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index c6cd11ed3..6d01f5bbc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,7 @@ - Update types for GJS v1.75.2, see https://gitlab.gnome.org/GNOME/gjs/-/commit/666755b3b09d765e43d415e76105b828517b5509 # 3.2.9 +- Upgrade dependencies - Generate global ambient module for latest version, e.g. 'gi://Gtk' or 'gi://GObject' - Fix old gir version generation, see https://github.com/gjsify/types diff --git a/package.json b/package.json index bfa3f40cb..5a4d9ecde 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "build:examples": "yarn workspaces foreach -v --all --exclude '@ts-for-gir/*' --parallel run build", "build:all": "yarn build && yarn build:examples", "start:cli-examples:all": "yarn start:cli-examples:gjs && yarn start:cli-examples:node", - "start:cli-examples:gjs": "yarn workspace ts-for-gir-glib-2-spawn-command-example run start && yarn workspace ts-for-gir-gio-2-cat-promisify-packages run start", - "start:cli-examples:node": "yarn workspace ts-for-gir-node-glib-2-spawn-command-example run start && yarn workspace ts-for-gir-node-gtk-gio-2-cat-promisify-packages run start", + "start:cli-examples:gjs": "yarn workspace @ts-for-gir-example/glib-2-spawn-command-example run start && yarn workspace @ts-for-gir-example/gio-2-cat-promisify-packages run start", + "start:cli-examples:node": "yarn workspace @ts-for-gir-example/node-glib-2-spawn-command-example run start && yarn workspace @ts-for-gir-example/node-gtk-gio-2-cat-promisify-packages run start", "build:types:packages:all": "NODE_OPTIONS=--max-old-space-size=25600 yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js' && yarn install", "build:types:packages:gtk4": "NODE_OPTIONS=--max-old-space-size=25600 yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js' && yarn install", "build:types:all": "yarn ts-for-gir generate --configName='.ts-for-gir.all.rc.js'",