From ac6043b236532d6ed1763bac801c4525abb4c515 Mon Sep 17 00:00:00 2001 From: Evan Welsh Date: Thu, 4 Apr 2024 04:39:47 -0700 Subject: [PATCH] Fix CLI test cases --- examples/gjs/glib-2-spawn-command/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gjs/glib-2-spawn-command/package.json b/examples/gjs/glib-2-spawn-command/package.json index 64f06f3b1..fb02f847f 100644 --- a/examples/gjs/glib-2-spawn-command/package.json +++ b/examples/gjs/glib-2-spawn-command/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "start": "yarn build && yarn start:gjs", - "start:gjs": "gjs dist/main.js", + "start:gjs": "gjs -m dist/main.js", "watch": "yarn build:app --watch", "build": "yarn build:app", "build:app": "yarn clear:ts && webpack --env production", diff --git a/package.json b/package.json index 60facf618..0ee138c57 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "build:generator-html-doc": "yarn workspace @ts-for-gir/generator-html-doc run build", "build:examples": "yarn workspaces foreach -v --all --include '@ts-for-gir-example/*' --parallel run build", "build:all": "yarn build && yarn build:examples", - "start:cli-examples": "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": "yarn workspace @ts-for-gir-example/glib-2-spawn-command-example run start && yarn workspace @ts-for-gir-example/gio-2-cat-example run start", "build:types:packages": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-all.rc.js' && yarn install", "build:types:packages:gtk4": "yarn ts-for-gir generate --configName='.ts-for-gir.packages-gtk4.rc.js' && yarn install", "build:types:local": "yarn ts-for-gir generate --configName='.ts-for-gir.all.rc.js'",