yaml-flow 5.4.0 → 5.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/board-livecards-server-runtime.js +2 -4
- package/browser/board-livecards-runtime-client.js +0 -6
- package/dist/cli/board-live-cards-cli.cjs +11 -5
- package/dist/cli/board-live-cards-cli.cjs.map +1 -1
- package/dist/cli/board-live-cards-cli.js +11 -5
- package/dist/cli/board-live-cards-cli.js.map +1 -1
- package/examples/browser/boards/portfolio-tracker/portfolio-tracker.js +1 -1
- package/examples/example-board/demo-server.js +5 -27
- package/examples/example-board/demo-shell-browser.html +3 -3
- package/examples/example-board/demo-shell-with-server.html +8 -5
- package/package.json +1 -1
|
@@ -9821,15 +9821,21 @@ function shouldSuppressSpawn() {
|
|
|
9821
9821
|
return process.env.BOARD_LIVE_CARDS_NO_SPAWN === "1";
|
|
9822
9822
|
}
|
|
9823
9823
|
function getCliInvocationPath(cliDir) {
|
|
9824
|
-
const jsPath = path7.join(cliDir, "board-live-cards-cli.js");
|
|
9825
|
-
if (fs7.existsSync(jsPath)) {
|
|
9826
|
-
return { cmd: process.execPath, args: [jsPath] };
|
|
9827
|
-
}
|
|
9828
9824
|
const tsPath = path7.join(cliDir, "board-live-cards-cli.ts");
|
|
9829
|
-
const
|
|
9825
|
+
const localTsxBin = path7.join(cliDir, "..", "..", "node_modules", ".bin", "tsx");
|
|
9826
|
+
const localTsxMjs = path7.join(cliDir, "..", "..", "node_modules", "tsx", "dist", "cli.mjs");
|
|
9827
|
+
const localTsx = fs7.existsSync(localTsxMjs) ? localTsxMjs : localTsxBin;
|
|
9830
9828
|
if (fs7.existsSync(tsPath) && fs7.existsSync(localTsx)) {
|
|
9831
9829
|
return { cmd: process.execPath, args: [localTsx, tsPath] };
|
|
9832
9830
|
}
|
|
9831
|
+
const distJsPath = path7.join(cliDir, "dist", "cli", "board-live-cards-cli.js");
|
|
9832
|
+
if (fs7.existsSync(distJsPath)) {
|
|
9833
|
+
return { cmd: process.execPath, args: [distJsPath] };
|
|
9834
|
+
}
|
|
9835
|
+
const jsPath = path7.join(cliDir, "board-live-cards-cli.js");
|
|
9836
|
+
if (fs7.existsSync(jsPath)) {
|
|
9837
|
+
return { cmd: process.execPath, args: [jsPath] };
|
|
9838
|
+
}
|
|
9833
9839
|
return null;
|
|
9834
9840
|
}
|
|
9835
9841
|
function buildCliInvocation(cliDir, command, args) {
|