@voyant-travel/workflows-orchestrator 0.111.6 → 0.111.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-static.d.ts","sourceRoot":"","sources":["../../src/node/dashboard-static.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAWhG;AAED,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAgBrF;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAUnF;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAUxF;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqB5C;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM3C"}
1
+ {"version":3,"file":"dashboard-static.d.ts","sourceRoot":"","sources":["../../src/node/dashboard-static.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAWhG;AAED,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAmBrF;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAUnF;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAUxF;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqB5C;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM3C"}
@@ -15,11 +15,14 @@ export function createStaticReader(rootDir) {
15
15
  };
16
16
  }
17
17
  export async function findDashboardDir(startFrom) {
18
+ // Convenience fallback for callers that don't pass an explicit `staticDir`:
19
+ // look for a sibling `local-dashboard/dist` (a workflow dashboard SPA built
20
+ // from `@voyant-travel/workflows-react/ui`). Production self-host should pass
21
+ // `staticDir` explicitly.
18
22
  const candidates = [
19
- join(startFrom, "apps/workflows-local-dashboard/dist"),
23
+ join(startFrom, "local-dashboard/dist"),
20
24
  join(startFrom, "../local-dashboard/dist"),
21
- join(startFrom, "../../apps/workflows-local-dashboard/dist"),
22
- join(startFrom, "../../../apps/workflows-local-dashboard/dist"),
25
+ join(startFrom, "../../local-dashboard/dist"),
23
26
  ];
24
27
  for (const candidate of candidates) {
25
28
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/workflows-orchestrator",
3
- "version": "0.111.6",
3
+ "version": "0.111.7",
4
4
  "description": "Postgres self-host orchestrator runtime for Voyant Workflows — drives runs through the tenant step handler over the v1 wire protocol.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "drizzle-orm": "^0.45.2",
51
51
  "pg": "^8.20.0",
52
- "@voyant-travel/workflows": "^0.111.6"
52
+ "@voyant-travel/workflows": "^0.111.7"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^20.12.0",
@@ -15,11 +15,14 @@ export function createStaticReader(rootDir: string): (path: string) => Promise<U
15
15
  }
16
16
 
17
17
  export async function findDashboardDir(startFrom: string): Promise<string | undefined> {
18
+ // Convenience fallback for callers that don't pass an explicit `staticDir`:
19
+ // look for a sibling `local-dashboard/dist` (a workflow dashboard SPA built
20
+ // from `@voyant-travel/workflows-react/ui`). Production self-host should pass
21
+ // `staticDir` explicitly.
18
22
  const candidates = [
19
- join(startFrom, "apps/workflows-local-dashboard/dist"),
23
+ join(startFrom, "local-dashboard/dist"),
20
24
  join(startFrom, "../local-dashboard/dist"),
21
- join(startFrom, "../../apps/workflows-local-dashboard/dist"),
22
- join(startFrom, "../../../apps/workflows-local-dashboard/dist"),
25
+ join(startFrom, "../../local-dashboard/dist"),
23
26
  ]
24
27
  for (const candidate of candidates) {
25
28
  try {