@crvouga/mockingbird-service-payload-cms 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/CHANGELOG.md +5 -0
- package/README.md +113 -0
- package/dist/chunk-CMLKVFH4.js +350 -0
- package/dist/chunk-CMLKVFH4.js.map +7 -0
- package/dist/chunk-Q2QUEFCG.js +2429 -0
- package/dist/chunk-Q2QUEFCG.js.map +7 -0
- package/dist/cli.js +19 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +866 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +7 -0
- package/dist/server.d.ts +1180 -0
- package/dist/server.js +12 -0
- package/dist/server.js.map +7 -0
- package/package.json +87 -0
package/dist/server.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crvouga/mockingbird-service-payload-cms",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Stateful mock of the Payload CMS collection REST API: paginated finds with a where-query subset, find by id, a seeded marketing collection and admin-editable documents.",
|
|
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-payload-cms": "./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/payload-cms"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/payload-cms#readme",
|
|
38
|
+
"keywords": [
|
|
39
|
+
"mockingbird",
|
|
40
|
+
"service",
|
|
41
|
+
"payload",
|
|
42
|
+
"payload-cms",
|
|
43
|
+
"cms"
|
|
44
|
+
],
|
|
45
|
+
"mockingbird": {
|
|
46
|
+
"runtime": "portable",
|
|
47
|
+
"entries": {
|
|
48
|
+
"server": "node",
|
|
49
|
+
"cli": "node"
|
|
50
|
+
},
|
|
51
|
+
"layer": "service",
|
|
52
|
+
"category": "productivity",
|
|
53
|
+
"displayName": "Payload CMS",
|
|
54
|
+
"status": "wip"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"generate": "bun ../../openapi/codegen/dist/cli.js",
|
|
58
|
+
"generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
|
|
59
|
+
"openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
|
|
60
|
+
"build": "bun ../../../scripts/bundle-service.ts",
|
|
61
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
62
|
+
"lint": "biome check .",
|
|
63
|
+
"test": "bun test",
|
|
64
|
+
"parity": "bun scripts/parity.ts",
|
|
65
|
+
"portability": "bun ../../../scripts/portability.ts",
|
|
66
|
+
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@crvouga/mockingbird-service-sqlite": "0.3.0",
|
|
70
|
+
"hono": "4.11.9"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"fast-check": "4.9.0",
|
|
74
|
+
"@crvouga/mockingbird-testing": "0.1.0",
|
|
75
|
+
"@crvouga/mockingbird-service-sqlite": "0.0.0-development",
|
|
76
|
+
"@crvouga/mockingbird-parity": "0.0.0-development",
|
|
77
|
+
"@crvouga/mockingbird-openbao": "0.0.0-development",
|
|
78
|
+
"@crvouga/mockingbird-openapi-codegen": "0.1.0",
|
|
79
|
+
"@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
|
|
80
|
+
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
81
|
+
"@crvouga/mockingbird-sqlite": "0.0.0-development",
|
|
82
|
+
"@crvouga/mockingbird-openapi": "0.0.0-development",
|
|
83
|
+
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
84
|
+
"@crvouga/mockingbird-http-codec": "0.0.0-development",
|
|
85
|
+
"@crvouga/mockingbird-adapter-node": "0.0.0-development"
|
|
86
|
+
}
|
|
87
|
+
}
|