@crvouga/mockingbird-service-oauth 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,14 @@
1
+ import {
2
+ DEFAULT_PORT,
3
+ createMultiServer,
4
+ createServer,
5
+ serveTarget
6
+ } from "./chunk-WYBO4XJW.js";
7
+ import "./chunk-X6FYBOEA.js";
8
+ export {
9
+ DEFAULT_PORT,
10
+ createMultiServer,
11
+ createServer,
12
+ serveTarget
13
+ };
14
+ //# 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,102 @@
1
+ {
2
+ "name": "@crvouga/mockingbird-service-oauth",
3
+ "version": "0.1.0",
4
+ "description": "Portable social-login mock with Google, Apple, Microsoft, GitHub and generic OIDC profiles, private relay identities, reproducible edge cases, signed tokens and an accessible UI.",
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-oauth": "./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/oauth"
36
+ },
37
+ "homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/oauth#readme",
38
+ "keywords": [
39
+ "mockingbird",
40
+ "oauth",
41
+ "openid-connect",
42
+ "google",
43
+ "apple",
44
+ "social-login",
45
+ "mock",
46
+ "microsoft",
47
+ "github",
48
+ "fault-injection"
49
+ ],
50
+ "mockingbird": {
51
+ "runtime": "portable",
52
+ "entries": {
53
+ "server": "node",
54
+ "cli": "node"
55
+ },
56
+ "layer": "service",
57
+ "category": "identity",
58
+ "displayName": "OAuth & Social Login",
59
+ "status": "ready",
60
+ "examples": [
61
+ {
62
+ "id": "google-login",
63
+ "title": "Try a complete OAuth login",
64
+ "description": "Choose popup or redirect, sign in through OAuth Mock, and return to an example app. The client, Hono server, and provider all run in process.",
65
+ "entry": "examples/google-login/index.ts",
66
+ "sources": [
67
+ "examples/google-login/app.ts",
68
+ "examples/google-login/transport.ts",
69
+ "examples/google-login/index.ts"
70
+ ]
71
+ }
72
+ ]
73
+ },
74
+ "scripts": {
75
+ "generate": "bun ../../openapi/codegen/dist/cli.js",
76
+ "generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
77
+ "openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
78
+ "build": "bun ../../../scripts/bundle-service.ts",
79
+ "typecheck": "tsc -p tsconfig.json --noEmit",
80
+ "lint": "biome check .",
81
+ "test": "bun test --timeout 30000",
82
+ "parity": "bun scripts/parity.ts",
83
+ "portability": "bun ../../../scripts/portability.ts",
84
+ "pack:check": "bun ../../../scripts/pack-check.ts"
85
+ },
86
+ "dependencies": {
87
+ "@crvouga/mockingbird-service-sqlite": "0.3.0"
88
+ },
89
+ "devDependencies": {
90
+ "@crvouga/mockingbird-adapter-node": "0.0.0-development",
91
+ "@crvouga/mockingbird-core": "0.0.0-development",
92
+ "@crvouga/mockingbird-openapi": "0.0.0-development",
93
+ "@crvouga/mockingbird-openapi-codegen": "0.1.0",
94
+ "@crvouga/mockingbird-service": "0.0.0-development",
95
+ "@crvouga/mockingbird-sqlite": "0.0.0-development",
96
+ "@crvouga/mockingbird-testing": "0.1.0",
97
+ "fast-check": "4.5.3",
98
+ "jose": "6.1.3",
99
+ "oauth4webapi": "3.8.8",
100
+ "hono": "4.11.9"
101
+ }
102
+ }