@crvouga/mockingbird-service-mailosaur 0.1.0

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/dist/server.js ADDED
@@ -0,0 +1,16 @@
1
+ import {
2
+ CERTIFICATE_HOSTS,
3
+ DEFAULT_PORT,
4
+ createServer,
5
+ selfSignedCertificate,
6
+ serveTarget
7
+ } from "./chunk-LQNQZS6T.js";
8
+ import "./chunk-C46JZZ56.js";
9
+ export {
10
+ CERTIFICATE_HOSTS,
11
+ DEFAULT_PORT,
12
+ createServer,
13
+ selfSignedCertificate,
14
+ serveTarget
15
+ };
16
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/package.json ADDED
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "@crvouga/mockingbird-service-mailosaur",
3
+ "version": "0.1.0",
4
+ "description": "Stateful mock of the Mailosaur email/SMS testing API (messages search, get, delete, long-poll) with an HTTP ingest so other mocks can drop mail in (Mockingbird service contract).",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "files": [
9
+ "dist",
10
+ "README.md",
11
+ "CHANGELOG.md"
12
+ ],
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "./server": {
21
+ "types": "./dist/server.d.ts",
22
+ "default": "./dist/server.js"
23
+ }
24
+ },
25
+ "bin": {
26
+ "mockingbird-mailosaur": "./dist/cli.js"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public",
30
+ "provenance": true
31
+ },
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/crvouga/mockingbird.git",
35
+ "directory": "packages/service/mailosaur"
36
+ },
37
+ "homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/mailosaur#readme",
38
+ "keywords": [
39
+ "mockingbird",
40
+ "service",
41
+ "mailosaur",
42
+ "email",
43
+ "inbox",
44
+ "testing",
45
+ "mock"
46
+ ],
47
+ "mockingbird": {
48
+ "runtime": "portable",
49
+ "entries": {
50
+ "server": "node",
51
+ "cli": "node"
52
+ },
53
+ "layer": "service",
54
+ "category": "communication",
55
+ "displayName": "Mailosaur",
56
+ "status": "wip"
57
+ },
58
+ "scripts": {
59
+ "generate": "bun ../../openapi/codegen/dist/cli.js",
60
+ "generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
61
+ "openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
62
+ "build": "bun ../../../scripts/bundle-service.ts",
63
+ "typecheck": "tsc -p tsconfig.json --noEmit",
64
+ "lint": "biome check .",
65
+ "test": "bun test",
66
+ "parity": "bun scripts/parity.ts",
67
+ "portability": "bun ../../../scripts/portability.ts",
68
+ "pack:check": "bun ../../../scripts/pack-check.ts"
69
+ },
70
+ "dependencies": {
71
+ "@crvouga/mockingbird-service-sqlite": "0.3.0",
72
+ "hono": "4.11.9"
73
+ },
74
+ "devDependencies": {
75
+ "fast-check": "4.9.0",
76
+ "@crvouga/mockingbird-testing": "0.1.0",
77
+ "@crvouga/mockingbird-service-sqlite": "0.0.0-development",
78
+ "@crvouga/mockingbird-parity": "0.0.0-development",
79
+ "@crvouga/mockingbird-openbao": "0.0.0-development",
80
+ "@crvouga/mockingbird-openapi-codegen": "0.1.0",
81
+ "@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
82
+ "@crvouga/mockingbird-core": "0.0.0-development",
83
+ "@crvouga/mockingbird-sqlite": "0.0.0-development",
84
+ "@crvouga/mockingbird-openapi": "0.0.0-development",
85
+ "@crvouga/mockingbird-service": "0.0.0-development",
86
+ "@crvouga/mockingbird-http-codec": "0.0.0-development",
87
+ "@crvouga/mockingbird-adapter-node": "0.0.0-development",
88
+ "mailosaur": "11.1.0"
89
+ }
90
+ }