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

Commit 25e4447

Browse files
committed
chore: migrate to pnpm (#997)
1 parent 7eb047e commit 25e4447

File tree

23 files changed

+7342
-8815
lines changed

23 files changed

+7342
-8815
lines changed

.yarnrc.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

CLAUDE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
## Build Commands
2222

23-
- **Type Check:** `yarn check-types` - Verify TypeScript types
24-
- **Check specific package:** `yarn check-types -F rivetkit` - Check only specified package
25-
- **Build:** `yarn build` - Production build using Turbopack
26-
- **Build specific package:** `yarn build -F rivetkit` - Build only specified package
27-
- **Format:** `yarn fmt` - Format code with Biome
23+
- **Type Check:** `pnpm check-types` - Verify TypeScript types
24+
- **Check specific package:** `pnpm check-types -F rivetkit` - Check only specified package
25+
- **Build:** `pnpm build` - Production build using Turbopack
26+
- **Build specific package:** `pnpm build -F rivetkit` - Build only specified package
27+
- **Format:** `pnpm fmt` - Format code with Biome
2828
- Do not run the format command automatically.
2929

3030
## Core Concepts
@@ -92,7 +92,7 @@ This ensures imports resolve correctly across different build environments and p
9292

9393
## Project Structure
9494

95-
- Monorepo with Yarn workspaces and Turborepo
95+
- Monorepo with pnpm workspaces and Turborepo
9696
- Core code in `packages/rivetkit/`
9797
- Platform implementations in `packages/platforms/`
9898
- Driver implementations in `packages/drivers/`
@@ -105,7 +105,7 @@ This ensures imports resolve correctly across different build environments and p
105105
- Follow existing patterns for P2P networking
106106
- Add proper JSDoc comments for public APIs
107107
- Ensure proper error handling with descriptive messages
108-
- Run `yarn check-types` regularly during development to catch type errors early. Prefer `yarn check-types` instead of `yarn build`.
108+
- Run `pnpm check-types` regularly during development to catch type errors early. Prefer `pnpm check-types` instead of `pnpm build`.
109109
- Use `tsx` CLI to execute TypeScript scripts directly (e.g., `tsx script.ts` instead of `node script.js`).
110110
- Do not auto-commit changes
111111

CONTRIBUTING.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

clients/rust/tests/e2e.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl MockServer {
2525
.find(|p| p.join("package.json").exists())
2626
.expect("Failed to find repo root");
2727

28-
// Run `yarn build -F rivetkit` in the root of this repo
28+
// Run `pnpm build -F rivetkit` in the root of this repo
2929
let status = Command::new("yarn")
3030
.args(["build", "-F", "rivetkit"])
3131
.current_dir(&repo_root)

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mintlify Documentation
22

33
```
4-
yarn dlx mintlify dev
4+
pnpm dlx mintlify dev
55
```
66

examples/linear-coding-agent/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -149,23 +149,6 @@ To expose your local webhook server to the internet:
149149
npm run ngrok
150150
```
151151

152-
#### Local Testing
153-
154-
For local testing without actual webhooks, you can use the debugging CLI tools:
155-
156-
```bash
157-
# Check the status of a specific issue
158-
yarn cli status <ISSUE-ID>
159-
160-
# Get debug information for a specific issue
161-
yarn cli debug <ISSUE-ID>
162-
163-
# View conversation history with the LLM
164-
yarn cli history <ISSUE-ID>
165-
```
166-
167-
This allows you to monitor and debug the agent's behavior for specific issues.
168-
169152
### Configuration
170153

171154
Set the following environment variables:

examples/linear-coding-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"dev": "concurrently --raw \"yarn dev:actors\" \"yarn dev:server\" \"yarn dev:ngrok\"",
7+
"dev": "concurrently --raw \"pnpm dev:actors\" \"pnpm dev:server\" \"pnpm dev:ngrok\"",
88
"dev:actors": "npx rivetkit/cli@latest dev src/workers/registry.ts",
99
"dev:server": "tsx --watch src/server/index.ts",
1010
"dev:ngrok": "ngrok http 3000",

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# tags:
1010
# - frontend
1111
# - security
12-
# run: yarn audit
12+
# run: pnpm audit
1313
#
1414
# - name: gems audit
1515
# tags:
@@ -20,7 +20,7 @@
2020
# pre-commit:
2121
# parallel: true
2222
# jobs:
23-
# - run: yarn eslint {staged_files}
23+
# - run: pnpm eslint {staged_files}
2424
# glob: "*.{js,ts,jsx,tsx}"
2525
#
2626
# - name: rubocop

package.json

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
{
22
"private": true,
3-
"packageManager": "[email protected]",
43
"name": "@rivetkit/workspace",
5-
"workspaces": [
6-
"packages/*",
7-
"packages/platforms/*",
8-
"packages/drivers/*",
9-
"packages/components/*",
10-
"packages/misc/*",
11-
"packages/frameworks/*",
12-
"examples/*"
13-
],
144
"scripts": {
155
"start": "npx turbo watch build",
166
"dev": "npx turbo watch dev",
177
"build": "npx turbo build",
188
"test": "npx turbo test",
199
"test:watch": "npx turbo watch test",
2010
"check-types": "npx turbo check-types",
21-
"fmt": "yarn biome check --write .",
22-
"dev-docs": "cd docs && yarn dlx mintlify@latest dev",
23-
"dev-docs-middleware": "cd packages/misc/docs-middleware && yarn dev",
24-
"deploy-docs-middleware": "cd packages/misc/docs-middleware && yarn deploy",
25-
"docs-broken-links": "cd docs && yarn dlx mintlify@latest broken-links",
11+
"fmt": "pnpm biome check --write .",
12+
"dev-docs": "cd docs && pnpm dlx mintlify@latest dev",
13+
"dev-docs-middleware": "cd packages/misc/docs-middleware && pnpm dev",
14+
"deploy-docs-middleware": "cd packages/misc/docs-middleware && pnpm deploy",
15+
"docs-broken-links": "cd docs && pnpm dlx mintlify@latest broken-links",
2616
"docs-bump": "git checkout main && git pull --ff && date > docs/.bump && git add docs/.bump && git commit -m \"chore: bump mintlify\" && git push origin main"
2717
},
2818
"devDependencies": {
@@ -43,5 +33,6 @@
4333
},
4434
"dependencies": {
4535
"esbuild": "^0.25.1"
46-
}
36+
},
37+
"packageManager": "[email protected]+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808"
4738
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
},
128128
"sideEffects": false,
129129
"scripts": {
130-
"dev": "yarn build --watch",
130+
"dev": "pnpm build --watch",
131131
"build": "tsup src/mod.ts src/client/mod.ts src/common/log.ts src/common/websocket.ts src/worker/errors.ts src/topologies/coordinate/mod.ts src/topologies/partition/mod.ts src/utils.ts src/driver-helpers/mod.ts src/driver-test-suite/mod.ts src/test/mod.ts",
132132
"check-types": "tsc --noEmit",
133133
"boop": "tsc --outDir dist/test -d",

0 commit comments

Comments
 (0)