| ... | ... | @@ -5,6 +5,7 @@ import * as Effect from "effect/Effect"; |
| 5 | 5 | import * as Option from "effect/Option"; |
| 6 | 6 | |
| 7 | 7 | import { |
| 8 | resolveDesktopRuntimeDependencies, |
| 8 | 9 | resolveBuildOptions, |
| 9 | 10 | resolveDesktopBuildIconAssets, |
| 10 | 11 | resolveDesktopProductName, |
| ... | ... | @@ -39,6 +40,30 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => { |
| 39 | 40 | }); |
| 40 | 41 | }); |
| 41 | 42 | |
| 43 | it("omits bundled workspace packages from staged desktop dependencies", () => { |
| 44 | assert.deepStrictEqual( |
| 45 | resolveDesktopRuntimeDependencies( |
| 46 | { |
| 47 | "@effect/platform-node": "catalog:", |
| 48 | "@t3tools/contracts": "workspace:*", |
| 49 | "@t3tools/shared": "workspace:*", |
| 50 | "@t3tools/ssh": "workspace:*", |
| 51 | "@t3tools/tailscale": "workspace:*", |
| 52 | effect: "catalog:", |
| 53 | electron: "41.5.0", |
| 54 | }, |
| 55 | { |
| 56 | "@effect/platform-node": "4.0.0-beta.59", |
| 57 | effect: "4.0.0-beta.59", |
| 58 | }, |
| 59 | ), |
| 60 | { |
| 61 | "@effect/platform-node": "4.0.0-beta.59", |
| 62 | effect: "4.0.0-beta.59", |
| 63 | }, |
| 64 | ); |
| 65 | }); |
| 66 | |
| 42 | 67 | it("falls back to the default mock update port when the configured port is blank", () => { |
| 43 | 68 | assert.equal(resolveMockUpdateServerUrl(undefined), "http://localhost:3000"); |
| 44 | 69 | assert.equal(resolveMockUpdateServerUrl(4123), "http://localhost:4123"); |