You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-48Lines changed: 22 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ A monorepo template for creating plugins for [Better-Stack](https://github.com/b
6
6
7
7
This repository provides:
8
8
- A complete plugin development environment
9
-
- Starter plugin (`todo-plugin`) that you'll modify and publish to npm
9
+
- Starter plugin (`plugin`) that you'll modify and publish to npm
10
10
- Shared UI components package
11
11
- Next.js example application showing plugin integration
12
12
- E2E testing setup with Playwright
13
13
- TypeScript configuration and ESLint setup
14
14
15
-
**Getting Started:** Clone this repository, modify the `todo-plugin` package to match your needs, update the package name in `package.json`, and publish it to npm under your own account.
15
+
**Getting Started:** Clone this repository, modify the `plugin` package to match your needs, update the package name in `package.json`, and publish it to npm under your own account.
16
16
17
17
## Getting Started
18
18
@@ -56,68 +56,42 @@ The example Next.js application will be available at `http://localhost:3000`.
56
56
```
57
57
plugin-starter/
58
58
├── packages/
59
-
│ ├── todo-plugin/ # Your plugin (modify this and publish to npm)
59
+
│ ├── plugin/ # Your plugin (modify this and publish to npm)
│ └── nextjs/ # Next.js example app showing plugin usage
70
-
├── e2e/ # End-to-end tests
71
-
└── package.json # Root package.json with workspace scripts
69
+
│ └── nextjs/ # Next.js example app showing plugin usage
70
+
├── e2e/ # End-to-end tests
71
+
└── package.json # Root package.json with workspace scripts
72
72
```
73
73
74
74
## Tutorial: Building Your Better-Stack Plugin
75
75
76
-
This tutorial walks you through customizing the `todo-plugin` to build your own Better-Stack plugin. You'll modify the existing plugin and publish it to npm under your own account.
76
+
This tutorial walks you through customizing the `plugin` to build your own Better-Stack plugin. You'll modify the existing plugin and publish it to npm under your own account.
77
77
78
78
### Step 1: Update Package Configuration
79
79
80
-
First, update `packages/todo-plugin/package.json` with your own package name and npm account:
80
+
First, update `packages/plugin/package.json` with your own package name and npm account:
0 commit comments