Skip to content

Commit 463078b

Browse files
committed
Release manifest trust metadata 0.3.3
1 parent 43d8a65 commit 463078b

12 files changed

Lines changed: 62 additions & 14 deletions

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"name": "emdash-smtp-workspace",
33
"private": true,
4-
"version": "0.3.2",
4+
"version": "0.3.3",
55
"type": "module",
66
"description": "Full-featured SMTP and transactional email plugin family for EmDash",
77
"packageManager": "pnpm@10.28.0",
8+
"plugin": {
9+
"id": "emdash-smtp"
10+
},
811
"scripts": {
912
"build": "pnpm -r build",
1013
"test": "pnpm -r test",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emdash-smtp-core",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Internal shared runtime for EmDash SMTP. End users should install emdash-smtp or emdash-smtp-marketplace.",
55
"type": "module",
66
"main": "dist/index.mjs",

packages/core/src/admin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import type {
4444
} from "./types.js";
4545

4646
export const SMTP_PLUGIN_ID = "emdash-smtp";
47-
export const SMTP_PLUGIN_VERSION = "0.3.2";
47+
export const SMTP_PLUGIN_VERSION = "0.3.3";
4848

4949
export const SMTP_ADMIN_PAGES = [
5050
{ path: "/providers", label: "SMTP Providers", icon: "mail" },

packages/emdash-smtp-marketplace/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.3.3
4+
5+
- Added package-level plugin identity metadata for marketplace trust review.
6+
- Refreshed `emdash-smtp-core` dependency pin to 0.3.3.
7+
38
## 0.2.1
49

510
- Refreshed README/package metadata clarifying supported install targets (`emdash-smtp`, `emdash-smtp-marketplace`)

packages/emdash-smtp-marketplace/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emdash-smtp-marketplace",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Marketplace-safe SMTP and transactional email plugin for EmDash",
55
"type": "module",
66
"main": "src/index.ts",
@@ -37,7 +37,7 @@
3737
],
3838
"author": "Mason James",
3939
"dependencies": {
40-
"emdash-smtp-core": "0.3.2"
40+
"emdash-smtp-core": "0.3.3"
4141
},
4242
"peerDependencies": {
4343
"emdash": ">=0.1.0"
@@ -46,6 +46,9 @@
4646
"publishConfig": {
4747
"access": "public"
4848
},
49+
"plugin": {
50+
"id": "emdash-smtp"
51+
},
4952
"repository": {
5053
"type": "git",
5154
"url": "git+https://github.com/masonjames/emdash-smtp.git",

packages/emdash-smtp-marketplace/tests/plugin.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { readFileSync } from "node:fs";
2+
13
import { describe, expect, it } from "vitest";
24

35
import { emdashSmtpMarketplace, SMTP_MARKETPLACE_PLUGIN_ID } from "../src/index.js";
@@ -21,6 +23,13 @@ describe("emdash-smtp-marketplace descriptor", () => {
2123
]),
2224
);
2325
});
26+
27+
it("keeps package plugin.id metadata in sync", () => {
28+
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")) as {
29+
plugin?: { id?: string };
30+
};
31+
expect(pkg.plugin?.id).toBe(SMTP_MARKETPLACE_PLUGIN_ID);
32+
});
2433
});
2534

2635
describe("emdash-smtp-marketplace runtime", () => {

packages/emdash-smtp/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.3.3
4+
5+
- Added package-level plugin identity metadata and explicit native descriptor metadata for marketplace trust review.
6+
- Refreshed interdependency pins to the matching 0.3.3 releases.
7+
38
## 0.2.1
49

510
- Strengthened README and package metadata messaging directing installers to `emdash-smtp` rather than the internal `emdash-smtp-core`/`emdash-smtp-node-transports` packages

packages/emdash-smtp/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emdash-smtp",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Trusted full-parity SMTP and transactional email plugin for EmDash",
55
"type": "module",
66
"main": "dist/index.mjs",
@@ -35,8 +35,8 @@
3535
],
3636
"author": "Mason James",
3737
"dependencies": {
38-
"emdash-smtp-core": "0.3.2",
39-
"emdash-smtp-node-transports": "0.3.2"
38+
"emdash-smtp-core": "0.3.3",
39+
"emdash-smtp-node-transports": "0.3.3"
4040
},
4141
"peerDependencies": {
4242
"emdash": ">=0.1.0"
@@ -45,6 +45,9 @@
4545
"publishConfig": {
4646
"access": "public"
4747
},
48+
"plugin": {
49+
"id": "emdash-smtp"
50+
},
4851
"repository": {
4952
"type": "git",
5053
"url": "git+https://github.com/masonjames/emdash-smtp.git",

packages/emdash-smtp/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export function emdashSmtp(options: EmdashSmtpOptions = {}): PluginDescriptor<Em
1616
return {
1717
id: SMTP_PLUGIN_ID,
1818
version: SMTP_PLUGIN_VERSION,
19+
format: "native",
1920
entrypoint: "emdash-smtp/plugin",
2021
options,
2122
capabilities: ["email:provide", "network:fetch"],

packages/emdash-smtp/tests/plugin.test.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { readFileSync } from "node:fs";
2+
13
import { describe, expect, it } from "vitest";
24

35
import { emdashSmtp } from "../src/index.js";
@@ -7,11 +9,28 @@ describe("emdash-smtp descriptor", () => {
79
it("uses the shared emdash-smtp plugin id", () => {
810
const descriptor = emdashSmtp();
911
expect(descriptor.id).toBe("emdash-smtp");
12+
expect(descriptor.format).toBe("native");
1013
expect(descriptor.entrypoint).toBe("emdash-smtp/plugin");
14+
expect(descriptor.capabilities).toEqual(["email:provide", "network:fetch"]);
15+
expect(descriptor.allowedHosts?.length).toBeGreaterThan(0);
1116
expect(descriptor.adminPages).toHaveLength(2);
1217
});
1318
});
1419

20+
describe("emdash-smtp package metadata", () => {
21+
it("keeps package plugin.id metadata in sync", () => {
22+
const descriptor = emdashSmtp();
23+
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")) as {
24+
plugin?: { id?: string };
25+
};
26+
const workspacePkg = JSON.parse(readFileSync(new URL("../../../package.json", import.meta.url), "utf8")) as {
27+
plugin?: { id?: string };
28+
};
29+
expect(pkg.plugin?.id).toBe(descriptor.id);
30+
expect(workspacePkg.plugin?.id).toBe(descriptor.id);
31+
});
32+
});
33+
1534
describe("emdash-smtp plugin", () => {
1635
it("registers email delivery and admin routes", () => {
1736
const plugin = createPlugin();

0 commit comments

Comments
 (0)