Skip to content

Commit 3e38dfa

Browse files
authored
chore: rename pds package (#20)
1 parent 8abeecb commit 3e38dfa

14 files changed

Lines changed: 28 additions & 22 deletions

File tree

.changeset/lemon-bobcats-pick.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-pds": patch
3+
"@ascorbic/pds": patch
4+
---
5+
6+
Initial release

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This file provides guidance to agentic coding tools when working with code in th
2121
This is a monorepo using pnpm workspaces with the following structure:
2222

2323
- **Root** (`atproto-worker`): Workspace configuration, shared tooling, plan documents
24-
- **packages/pds**: The main PDS library (`@ascorbic/pds-worker`)
24+
- **packages/pds**: The main PDS library (`@ascorbic/pds`)
2525
- **demos/pds**: Demo PDS deployment
2626

2727
## Commands

EDGE_PDS_PLAN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,20 +2117,20 @@ These can all be added later.
21172117
21182118
### Design Decision: Zero-Code Re-Export Pattern
21192119
2120-
For maximum simplicity, users deploying a PDS should not need to write any code. The `@ascorbic/pds-worker` package provides everything needed, and users simply re-export it.
2120+
For maximum simplicity, users deploying a PDS should not need to write any code. The `@ascorbic/pds` package provides everything needed, and users simply re-export it.
21212121
21222122
#### User's Worker (Minimal)
21232123
21242124
```typescript
21252125
// src/index.ts
2126-
export { default, AccountDurableObject } from "@ascorbic/pds-worker";
2126+
export { default, AccountDurableObject } from "@ascorbic/pds";
21272127
```
21282128
21292129
That's it. No additional code required.
21302130
21312131
#### Package Exports
21322132
2133-
The `@ascorbic/pds-worker` package exports:
2133+
The `@ascorbic/pds` package exports:
21342134
21352135
```typescript
21362136
// Core exports for advanced users
@@ -2202,7 +2202,7 @@ All configuration is via environment variables and secrets:
22022202
```
22032203
demos/pds/
22042204
├── src/
2205-
│ └── index.ts # Re-exports @ascorbic/pds-worker
2205+
│ └── index.ts # Re-exports @ascorbic/pds
22062206
├── wrangler.jsonc # Worker config with bindings
22072207
├── package.json # Dependencies
22082208
├── .env.example # Template for required vars

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ This PDS is designed to federate with the Bluesky network - relays can sync from
1414

1515
## Packages
1616

17-
- `@ascorbic/pds-worker` - The main PDS library
17+
- `@ascorbic/pds` - The main PDS library
1818
- `@demo/pds` - A deployable demo instance

demos/pds/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Personal PDS on Cloudflare Workers
22

3-
This is an example deployment of `@ascorbic/pds-worker` - a single-user AT Protocol Personal Data Server on Cloudflare Workers.
3+
This is an example deployment of `@ascorbic/pds` - a single-user AT Protocol Personal Data Server on Cloudflare Workers.
44

55
> **⚠️ Experimental Software**
66
>
@@ -76,11 +76,11 @@ Configuration is via environment variables: vars in the `wrangler.jsonc` and sec
7676

7777
## Architecture
7878

79-
This deployment simply re-exports the `@ascorbic/pds-worker` package:
79+
This deployment simply re-exports the `@ascorbic/pds` package:
8080

8181
```typescript
8282
// src/index.ts
83-
export { default, AccountDurableObject } from "@ascorbic/pds-worker";
83+
export { default, AccountDurableObject } from "@ascorbic/pds";
8484
```
8585

8686
No additional code needed!

demos/pds/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "pds",
2+
"name": "@demo/pds",
33
"version": "1.0.0",
44
"description": "Demo PDS deployment",
55
"type": "module",
66
"private": true,
77
"dependencies": {
8-
"@ascorbic/pds-worker": "^0.0.0"
8+
"@ascorbic/pds": "^0.0.0"
99
},
1010
"devDependencies": {
1111
"@cloudflare/vite-plugin": "^1.17.0",

demos/pds/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Re-export the PDS worker - that's all you need!
2-
export { default, AccountDurableObject } from "@ascorbic/pds-worker";
2+
export { default, AccountDurableObject } from "@ascorbic/pds";

packages/create-pds/templates/pds-worker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ Once deployed, your PDS serves:
8989

9090
- [AT Protocol Docs](https://atproto.com)
9191
- [Cloudflare Workers Docs](https://developers.cloudflare.com/workers/)
92-
- [@ascorbic/pds-worker on GitHub](https://github.com/ascorbic/atproto-worker)
92+
- [@ascorbic/pds on GitHub](https://github.com/ascorbic/atproto-worker)

packages/create-pds/templates/pds-worker/package.json.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"private": true,
77
"dependencies": {
8-
"@ascorbic/pds-worker": "^0.0.0"
8+
"@ascorbic/pds": "^0.0.0"
99
},
1010
"devDependencies": {
1111
"@cloudflare/vite-plugin": "^1.17.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Re-export the PDS worker - that's all you need!
2-
export { default, AccountDurableObject } from "@ascorbic/pds-worker";
2+
export { default, AccountDurableObject } from "@ascorbic/pds";

0 commit comments

Comments
 (0)