Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 8920851

Browse files
committed
chore: simplify package directories (#1205)
1 parent 489a38c commit 8920851

File tree

233 files changed

+440
-1084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+440
-1084
lines changed

packages/actor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"test": "vitest run"
7979
},
8080
"dependencies": {
81-
"@rivetkit/core": "workspace:*"
81+
"rivetkit": "workspace:*"
8282
},
8383
"devDependencies": {
8484
"@types/node": "^22.14.0",

packages/actor/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "@rivetkit/core/client";
1+
export * from "rivetkit/client";

packages/actor/src/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "@rivetkit/core/errors";
1+
export * from "rivetkit/errors";

packages/actor/src/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "@rivetkit/core/log";
1+
export * from "rivetkit/log";

packages/actor/src/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "@rivetkit/core";
1+
export * from "rivetkit";

packages/actor/src/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "@rivetkit/core/test";
1+
export * from "rivetkit/test";
File renamed without changes.

packages/drivers/cloudflare-workers/package.json renamed to packages/cloudflare-workers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"invariant": "^2.2.4",
4848
"zod": "^3.25.76",
4949
"hono": "4.8.3",
50-
"@rivetkit/core": "workspace:*"
50+
"rivetkit": "workspace:*"
5151
},
5252
"stableVersion": "0.8.0"
5353
}

packages/drivers/cloudflare-workers/src/actor-driver.ts renamed to packages/cloudflare-workers/src/actor-driver.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1+
import invariant from "invariant";
12
import type {
23
AnyActorInstance as CoreAnyActorInstance,
34
RegistryConfig,
45
RunConfig,
5-
} from "@rivetkit/core";
6+
} from "rivetkit";
67
import {
78
createGenericConnDrivers,
89
GenericConnGlobalState,
910
lookupInRegistry,
10-
} from "@rivetkit/core";
11-
import type { Client } from "@rivetkit/core/client";
11+
} from "rivetkit";
12+
import type { Client } from "rivetkit/client";
1213
import type {
1314
ActorDriver,
1415
AnyActorInstance,
1516
ManagerDriver,
16-
} from "@rivetkit/core/driver-helpers";
17-
import invariant from "invariant";
17+
} from "rivetkit/driver-helpers";
1818
import { KEYS } from "./actor-handler-do";
1919

2020
interface DurableObjectGlobalState {

packages/drivers/cloudflare-workers/src/actor-handler-do.ts renamed to packages/cloudflare-workers/src/actor-handler-do.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
import { DurableObject, env } from "cloudflare:workers";
2-
import type {
3-
ActorKey,
4-
ActorRouter,
5-
Registry,
6-
RunConfig,
7-
} from "@rivetkit/core";
2+
import type { ExecutionContext } from "hono";
3+
import invariant from "invariant";
4+
import type { ActorKey, ActorRouter, Registry, RunConfig } from "rivetkit";
85
import {
96
createActorRouter,
107
createClientWithDriver,
118
createInlineClientDriver,
12-
} from "@rivetkit/core";
13-
import { serializeEmptyPersistData } from "@rivetkit/core/driver-helpers";
14-
import type { ExecutionContext } from "hono";
15-
import invariant from "invariant";
9+
} from "rivetkit";
10+
import { serializeEmptyPersistData } from "rivetkit/driver-helpers";
1611
import {
1712
CloudflareDurableObjectGlobalState,
1813
createCloudflareActorsActorDriverBuilder,

0 commit comments

Comments
 (0)