History

Fix published package imports (#934)

The vendored fumadb fork was published under the bare name "fumadb", which collides with the upstream npm package — so a published @executor-js/sdk would resolve the wrong dependency. Scope the package to @executor-js/fumadb and update every workspace dependency, import specifier, and the build filter to match.

Rhys Sullivan committed 5 months ago

Commit 17174c41 parent 2c8f2d037 files · +89 −80Browse files

Showing the changes to apps/cloud (3 of 37 files). Show all

Unified · Split

3 files
  1. apps/cloud/package.json +1 −1
  2. apps/cloud/src/db/executor-schema.ts +1 −1
  3. apps/cloud/src/db/fuma.ts +3 −3
apps/cloud/package.json+1−1
@@ -35,6 +35,7 @@ · 34 unmodified lines
3535 "@executor-js/api": "workspace:*",
3636 "@executor-js/cloudflare": "workspace:*",
3737 "@executor-js/execution": "workspace:*",
38+ "@executor-js/fumadb": "workspace:*",
3839 "@executor-js/host-mcp": "workspace:*",
3940 "@executor-js/plugin-graphql": "workspace:*",
4041 "@executor-js/plugin-mcp": "workspace:*",
@@ -63,7 +64,6 @@ · 22 unmodified lines
6364 "autumn-js": "^1.2.8",
6465 "drizzle-orm": "catalog:",
6566 "effect": "catalog:",
66− "fumadb": "workspace:*",
6767 "jose": "^5.6.3",
6868 "postgres": "^3.4.9",
6969 "posthog-js": "^1.372.5",
apps/cloud/src/db/executor-schema.ts+1−1
@@ -8,7 +8,7 @@ import { · 7 unmodified lines
88 uniqueIndex,
99 bigint,
1010 } from "drizzle-orm/pg-core";
11−import { createId } from "fumadb/cuid";
11+import { createId } from "@executor-js/fumadb/cuid";
1212
1313 export const integration = pgTable(
1414 "integration",
apps/cloud/src/db/fuma.ts+3−3
@@ -1,7 +1,7 @@
11 import { Effect, Layer } from "effect";
2−import { type FumaDB } from "fumadb";
3−import { type DrizzleConfig } from "fumadb/adapters/drizzle";
4−import { type schema as fumaSchema, type RelationsMap } from "fumadb/schema";
2+import { type FumaDB } from "@executor-js/fumadb";
3+import { type DrizzleConfig } from "@executor-js/fumadb/adapters/drizzle";
4+import { type schema as fumaSchema, type RelationsMap } from "@executor-js/fumadb/schema";
55
66 import {
77 createExecutorFumaDb,