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
35 "@executor-js/api": "workspace:*",35 "@executor-js/api": "workspace:*",
36 "@executor-js/cloudflare": "workspace:*",36 "@executor-js/cloudflare": "workspace:*",
37 "@executor-js/execution": "workspace:*",37 "@executor-js/execution": "workspace:*",
38 "@executor-js/fumadb": "workspace:*",
38 "@executor-js/host-mcp": "workspace:*",39 "@executor-js/host-mcp": "workspace:*",
39 "@executor-js/plugin-graphql": "workspace:*",40 "@executor-js/plugin-graphql": "workspace:*",
40 "@executor-js/plugin-mcp": "workspace:*",41 "@executor-js/plugin-mcp": "workspace:*",
@@ -63,7 +64,6 @@ · 22 unmodified lines
63 "autumn-js": "^1.2.8",64 "autumn-js": "^1.2.8",
64 "drizzle-orm": "catalog:",65 "drizzle-orm": "catalog:",
65 "effect": "catalog:",66 "effect": "catalog:",
66 "fumadb": "workspace:*",
67 "jose": "^5.6.3",67 "jose": "^5.6.3",
68 "postgres": "^3.4.9",68 "postgres": "^3.4.9",
69 "posthog-js": "^1.372.5",69 "posthog-js": "^1.372.5",
apps/cloud/src/db/executor-schema.ts+1−1
@@ -8,7 +8,7 @@ import { · 7 unmodified lines
8 uniqueIndex,8 uniqueIndex,
9 bigint,9 bigint,
10} from "drizzle-orm/pg-core";10} from "drizzle-orm/pg-core";
11import { createId } from "fumadb/cuid";11import { createId } from "@executor-js/fumadb/cuid";
12 12
13export const integration = pgTable(13export const integration = pgTable(
14 "integration",14 "integration",
apps/cloud/src/db/fuma.ts+3−3
@@ -1,7 +1,7 @@
1import { Effect, Layer } from "effect";1import { Effect, Layer } from "effect";
2import { type FumaDB } from "fumadb";2import { type FumaDB } from "@executor-js/fumadb";
3import { type DrizzleConfig } from "fumadb/adapters/drizzle";3import { type DrizzleConfig } from "@executor-js/fumadb/adapters/drizzle";
4import { type schema as fumaSchema, type RelationsMap } from "fumadb/schema";4import { type schema as fumaSchema, type RelationsMap } from "@executor-js/fumadb/schema";
5 5
6import {6import {
7 createExecutorFumaDb,7 createExecutorFumaDb,