Skip to content

Commit 6e1fe4f

Browse files
authored
Merge pull request #111 from browserbase/kyle/gro-275-add-changesets-better-publishing-to-mcp
chore: adding changesets to make releases easier
2 parents 84da6be + 453f483 commit 6e1fe4f

File tree

7 files changed

+630
-27
lines changed

7 files changed

+630
-27
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/workflows/publish.yml

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

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
version:
10+
name: Version packages
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: 'pnpm'
24+
25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v4
27+
with:
28+
version: 10
29+
30+
- name: Install deps
31+
run: pnpm install --frozen-lockfile
32+
33+
- name: Create Release PR or Publish
34+
uses: changesets/action@v1
35+
with:
36+
version: pnpm version:packages
37+
publish: pnpm release
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
42+

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @browserbasehq/mcp-server-browserbase
2+
3+
## 2.1.0
4+
5+
### Minor Changes
6+
7+
- adding changesets, MCP UI for session create

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserbasehq/mcp-server-browserbase",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"description": "MCP server for AI web browser automation using Browserbase and Stagehand",
55
"license": "Apache-2.0",
66
"author": "Browserbase, Inc. (https://www.browserbase.com/)",
@@ -32,7 +32,10 @@
3232
"prettier:fix": "prettier --write .",
3333
"clean": "rm -rf dist",
3434
"prepublishOnly": "pnpm clean && pnpm build",
35-
"pre-commit": "pnpm lint-staged"
35+
"pre-commit": "pnpm lint-staged",
36+
"changeset": "changeset",
37+
"version:packages": "changeset version",
38+
"release": "changeset publish"
3639
},
3740
"lint-staged": {
3841
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
@@ -42,8 +45,8 @@
4245
},
4346
"dependencies": {
4447
"@browserbasehq/sdk": "^2.6.0",
45-
"@mcp-ui/server": "^5.2.0",
4648
"@browserbasehq/stagehand": "^2.4.3",
49+
"@mcp-ui/server": "^5.2.0",
4750
"@modelcontextprotocol/sdk": "^1.13.1",
4851
"@smithery/cli": "^1.2.15",
4952
"commander": "^14.0.0",
@@ -52,6 +55,7 @@
5255
"zod": "^3.25.67"
5356
},
5457
"devDependencies": {
58+
"@changesets/cli": "^2.29.6",
5559
"@eslint/js": "^9.29.0",
5660
"eslint": "^9.29.0",
5761
"eslint-plugin-react": "^7.37.5",
@@ -64,5 +68,8 @@
6468
"typescript": "^5.6.2",
6569
"typescript-eslint": "^8.35.0"
6670
},
71+
"publishConfig": {
72+
"access": "public"
73+
},
6774
"packageManager": "[email protected]+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184"
6875
}

0 commit comments

Comments
 (0)