Skip to content

Commit 7c142d6

Browse files
committed
chore: cleanup
1 parent c7b628f commit 7c142d6

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.claude-plugin/commands/payload/reference/PLUGIN-DEVELOPMENT.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -905,8 +905,6 @@ for (const collection of config.collections!) {
905905

906906
#### TypeScript Schema Extension
907907

908-
**Used by:** plugin-ecommerce
909-
910908
Add custom properties to generated TypeScript schema:
911909

912910
```ts
@@ -935,8 +933,6 @@ incomingConfig.typescript.schema.push((args) => {
935933

936934
#### Module Declaration Augmentation
937935

938-
**Used by:** plugin-import-export
939-
940936
Extend Payload types for plugin-specific field properties:
941937

942938
```ts
@@ -1427,14 +1423,14 @@ export const stripePlugin =
14271423

14281424
Include a `dev/` directory with a complete Payload project for local development:
14291425

1430-
1. **Create `dev/.env` from `.env.example`:**
1426+
1. Create `dev/.env` from `.env.example`:
14311427

14321428
```bash
14331429
DATABASE_URI=mongodb://127.0.0.1/plugin-dev
14341430
PAYLOAD_SECRET=your-secret-here
14351431
```
14361432

1437-
2. **Configure `dev/payload.config.ts`:**
1433+
2. Configure `dev/payload.config.ts`:
14381434

14391435
```ts
14401436
import { buildConfig } from 'payload'
@@ -1458,7 +1454,7 @@ export default buildConfig({
14581454
})
14591455
```
14601456

1461-
3. **Run development server:**
1457+
3. Run development server:
14621458

14631459
```bash
14641460
npm run dev # Starts Next.js on http://localhost:3000

0 commit comments

Comments
 (0)