lighthouse-mcp 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,6 +152,22 @@ Claude will use the `get_performance_score` tool to analyze the website and retu
|
|
|
152
152
|
|
|
153
153
|
## Development & Release
|
|
154
154
|
|
|
155
|
+
### Prerequisites
|
|
156
|
+
|
|
157
|
+
Before releasing, ensure you're authenticated with both registries:
|
|
158
|
+
|
|
159
|
+
**NPM Authentication:**
|
|
160
|
+
```bash
|
|
161
|
+
npm login
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**MCP Registry Authentication:**
|
|
165
|
+
```bash
|
|
166
|
+
mcp-publisher login github
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
If your authentication tokens expire, you'll need to re-login to the respective services.
|
|
170
|
+
|
|
155
171
|
### Making Releases
|
|
156
172
|
|
|
157
173
|
Use the interactive release script to publish to both NPM and the MCP Registry:
|
|
@@ -161,15 +177,16 @@ Use the interactive release script to publish to both NPM and the MCP Registry:
|
|
|
161
177
|
```
|
|
162
178
|
|
|
163
179
|
The script will:
|
|
164
|
-
1. Check
|
|
165
|
-
2.
|
|
166
|
-
3.
|
|
167
|
-
4.
|
|
168
|
-
5.
|
|
169
|
-
6.
|
|
170
|
-
7.
|
|
171
|
-
8. Publish to
|
|
172
|
-
9.
|
|
173
|
-
10.
|
|
180
|
+
1. Check NPM login status
|
|
181
|
+
2. Check for uncommitted changes
|
|
182
|
+
3. Run tests (if they exist)
|
|
183
|
+
4. Build the project
|
|
184
|
+
5. Prompt for version bump type (patch/minor/major/custom)
|
|
185
|
+
6. Update both package.json and server.json versions
|
|
186
|
+
7. Create a preview of the package contents
|
|
187
|
+
8. Publish to NPM
|
|
188
|
+
9. Publish to MCP Registry (if mcp-publisher is available)
|
|
189
|
+
10. Create git commit and tag
|
|
190
|
+
11. Optionally push to remote repository
|
|
174
191
|
|
|
175
192
|
This ensures consistent releases to both registries with proper version synchronization.
|