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

Commit cd11fff

Browse files
committed
chore: rename rivetkit -> @rivetkit/core & expose @rivetkit/worker (#1003)
1 parent 15be9d4 commit cd11fff

File tree

135 files changed

+355
-219
lines changed

Some content is hidden

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

135 files changed

+355
-219
lines changed

docs/workers/quickstart.mdx

Lines changed: 2 additions & 2 deletions

examples/better-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@types/react-dom": "^18.2.0",
1818
"@vitejs/plugin-react": "^4.2.0",
1919
"concurrently": "^8.2.2",
20-
"rivetkit": "workspace:*",
20+
"@rivetkit/worker": "workspace:*",
2121
"tsx": "^3.12.7",
2222
"typescript": "^5.5.2",
2323
"vite": "^5.0.0",

examples/better-auth/src/backend/registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { worker, setup } from "rivetkit";
1+
import { worker, setup } from "@rivetkit/worker";
22
import { auth, type Session, type User } from "./auth";
33

44
export const chatRoom = worker({
@@ -45,4 +45,4 @@ export const registry = setup({
4545
workers: { chatRoom },
4646
});
4747

48-
export type Registry = typeof registry;
48+
export type Registry = typeof registry;

examples/chat-room/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@types/node": "^22.13.9",
1313
"@types/prompts": "^2",
1414
"prompts": "^2.4.2",
15-
"rivetkit": "workspace:*",
15+
"@rivetkit/worker": "workspace:*",
1616
"tsx": "^3.12.7",
1717
"typescript": "^5.5.2",
1818
"vitest": "^3.1.1"

examples/chat-room/scripts/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createClient } from "rivetkit/client";
1+
import { createClient } from "@rivetkit/worker/client";
22
import type { Registry } from "../workers/registry";
33
import prompts from "prompts";
44

examples/chat-room/scripts/connect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// <reference types="node" />
2-
import { createClient } from "rivetkit/client";
2+
import { createClient } from "@rivetkit/worker/client";
33
import type { Registry } from "../workers/registry";
44

55
async function main() {

examples/chat-room/src/workers/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { worker, setup } from "rivetkit";
1+
import { worker, setup } from "@rivetkit/worker";
22

33
// state managed by the actor
44
export interface State {

examples/chat-room/tests/chat-room.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { test, expect } from "vitest";
2-
import { setupTest } from "rivetkit/test";
2+
import { setupTest } from "@rivetkit/worker/test";
33
import { registry } from "../src/workers/registry";
44

55
test("chat room should handle messages", async (test) => {

examples/cloudflare-workers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@cloudflare/workers-types": "^4.20250129.0",
1414
"@types/node": "^22.13.9",
15-
"rivetkit": "workspace:*",
15+
"@rivetkit/worker": "workspace:*",
1616
"tsx": "^3.12.7",
1717
"typescript": "^5.5.2",
1818
"wrangler": "^3.0.0"

examples/cloudflare-workers/scripts/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createClient } from "rivetkit/client";
1+
import { createClient } from "@rivetkit/worker/client";
22
import type { Registry } from "../src/registry.js";
33

44
// Create RivetKit client

0 commit comments

Comments
 (0)