@amplia-labs/purelymail-mcp 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +13 -16
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -107,22 +107,19 @@ tools require Node.js 20.19 or later.
107
107
 
108
108
  ### Releasing
109
109
 
110
- Releases are published to npm by the
111
- [publish workflow](.github/workflows/publish.yml), using
112
- [trusted publishing](https://docs.npmjs.com/trusted-publishers). No npm token is
113
- stored in the repository.
114
-
115
- 1. Update the version in `package.json` and in both `version` fields of
116
- `server.json`. A test fails if they disagree.
117
- 2. Merge the change to `main`.
118
- 3. Tag that commit and push the tag. The tag must match the version:
119
-
120
- ```bash
121
- git tag v1.2.3
122
- git push origin v1.2.3
123
- ```
124
-
125
- The workflow runs `npm run check` before uploading anything.
110
+ Releases are automated with [Changesets](https://changesets.dev):
111
+
112
+ 1. Run `npm run changeset` in any pull request that changes the package, and
113
+ commit the generated file.
114
+ 2. After it merges, the [publish workflow](.github/workflows/publish.yml) opens
115
+ or updates a **Version Packages** pull request.
116
+ 3. Merging that pull request publishes the new version to npm, using
117
+ [trusted publishing](https://docs.npmjs.com/trusted-publishers). No npm token
118
+ is stored in the repository.
119
+
120
+ Pull requests without a changeset do not release anything. Version pull requests
121
+ do not trigger CI, so the publish workflow runs `npm run check` itself and stops
122
+ before publishing if it fails.
126
123
 
127
124
  ## License
128
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplia-labs/purelymail-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MCP server for the Purelymail API (users, domains, routing, app passwords, billing)",
5
5
  "keywords": [
6
6
  "email",
@@ -39,13 +39,16 @@
39
39
  "knip": "knip",
40
40
  "cpd": "jscpd",
41
41
  "check": "tsc --noEmit && npm run lint && npm run format:check && npm run knip && npm run cpd && npm test",
42
- "prepublishOnly": "npm run check"
42
+ "prepublishOnly": "npm run check",
43
+ "changeset": "changeset",
44
+ "version-packages": "changeset version && node scripts/sync-server-version.mjs && npm install --package-lock-only"
43
45
  },
44
46
  "dependencies": {
45
47
  "@modelcontextprotocol/sdk": "^1.32.2",
46
48
  "zod": "^4.6.7"
47
49
  },
48
50
  "devDependencies": {
51
+ "@changesets/cli": "^3.0.3",
49
52
  "@types/node": "^26.6.6",
50
53
  "jscpd": "^5.4.2",
51
54
  "knip": "^6.44.1",