@fluidgrids/cli 2026.1115.3 → 2026.1115.4
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/dist/cli.js +6 -3
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -3320,7 +3320,7 @@ async function lowerProject(project, options) {
|
|
|
3320
3320
|
result.warnings.push("The source map build did not reproduce the bundle; the push uploads no source map (stack traces show bundle locations).");
|
|
3321
3321
|
}
|
|
3322
3322
|
}
|
|
3323
|
-
result.sourceFiles =
|
|
3323
|
+
result.sourceFiles = lowered.sourceFiles;
|
|
3324
3324
|
if (deps)
|
|
3325
3325
|
result.vendored = deps;
|
|
3326
3326
|
result.issues.push(...lowered.issues);
|
|
@@ -4881,7 +4881,7 @@ import { existsSync as existsSync9, readFileSync as readFileSync7 } from "fs";
|
|
|
4881
4881
|
import { basename as basename2, dirname as dirname4, extname as extname2, relative, resolve as resolve4, sep } from "path";
|
|
4882
4882
|
import { CliUserError as CliUserError27 } from "@burdenoff/cli-sdk/core";
|
|
4883
4883
|
import { irHash as irHash5, parseWorkflowDocument as parseWorkflowDocument2 } from "@fluidgrids/workflows/ir";
|
|
4884
|
-
import { lower as lower2 } from "@fluidgrids/workflows/roundtrip";
|
|
4884
|
+
import { bundledProjectFiles, lower as lower2 } from "@fluidgrids/workflows/roundtrip";
|
|
4885
4885
|
import { UnresolvedConnectionsError as UnresolvedConnectionsError2 } from "@fluidgrids/workflows";
|
|
4886
4886
|
function nameOf(definition, fallback) {
|
|
4887
4887
|
const name = definition["name"];
|
|
@@ -4954,7 +4954,10 @@ async function prepareTypeScript(env, project, path, options) {
|
|
|
4954
4954
|
const workflow = chooseWorkflow(lowered.workflows, path, options.key);
|
|
4955
4955
|
const written = inputs.filter((file) => file.path === path || file.path.startsWith(`${ACTIVITIES_DIR}/`) || file.path === `${WORKFLOWS_DIR}/${workflow.key}.layout.json` || file.path === `${WORKFLOWS_DIR}/${workflow.key}.pinned.json`);
|
|
4956
4956
|
const reached = importClosure(new Map(inputs.filter((file) => file.path.endsWith(".ts")).map((f) => [f.path, f.content])), written.filter((file) => file.path.endsWith(".ts")).map((file) => file.path));
|
|
4957
|
-
const
|
|
4957
|
+
const selected = inputs.filter((file) => written.includes(file) || file.path.startsWith(`${GENERATED_DIR}/`) && reached.has(file.path));
|
|
4958
|
+
const files = [
|
|
4959
|
+
...bundledProjectFiles(new Map(selected.map((file) => [file.path, file.content])))
|
|
4960
|
+
].map(([path, content]) => ({ path, content }));
|
|
4958
4961
|
const definition = workflow.definition;
|
|
4959
4962
|
const key = options.key ?? workflow.key;
|
|
4960
4963
|
const name = options.name ?? nameOf(definition, key);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidgrids/cli",
|
|
3
|
-
"version": "2026.1115.
|
|
3
|
+
"version": "2026.1115.4",
|
|
4
4
|
"description": "CLI tool for FluidGrids — workflow automation management (thin shell over @burdenoff/cli-sdk)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@burdenoff/cli-sdk": "2026.1109.1",
|
|
58
|
-
"@fluidgrids/workflows": "2026.1115.
|
|
58
|
+
"@fluidgrids/workflows": "2026.1115.3",
|
|
59
59
|
"@napi-rs/keyring": "2.1.1",
|
|
60
60
|
"commander": "^14.0.3",
|
|
61
61
|
"esbuild": "0.28.2",
|