Skip to content

Commit 435c47a

Browse files
authored
Merge pull request #516 from 2chanhaeng/fixture
Separeted `@fedify/fixture` from `@fedify/fedify`
2 parents ecc823d + 263ed68 commit 435c47a

File tree

87 files changed

+3515
-4445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+3515
-4445
lines changed

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The repository is organized as a monorepo with the following packages:
6161
- ~~src/runtime/~~: **Don't use.** Moved to `@fedify/vocab-runtime` and `src/utils/*`. If user code imports from here, notice and suggest migration.
6262
- *src/shim/*: Platform abstraction layer
6363
- *src/sig/*: Signature implementation
64-
- *src/testing/*: Testing utilities
64+
- *src/testing/*: Testing utilities. Most have been migrated to `packages/fixture`(`@fedify/fixture`), except for modules that have dependencies on `@fedify/fedify`.
6565
- *src/utils/*: Utility functions
6666
- *src/vocab/*: ActivityPub vocabulary implementation
6767
- *src/webfinger/*: WebFinger protocol implementation
@@ -72,6 +72,7 @@ The repository is organized as a monorepo with the following packages:
7272
- *packages/denokv/*: Deno KV integration (@fedify/denokv)
7373
- *packages/elysia/*: Elysia integration (@fedify/elysia)
7474
- *packages/express/*: Express.js integration (@fedify/express)
75+
- *packages/fixture/*: Testing utilities (@fedify/fixture)
7576
- *packages/fastify/*: Fastify integration (@fedify/fastify)
7677
- *packages/fresh/*: Fresh integration (@fedify/fresh)
7778
- *packages/h3/*: h3 framework integration (@fedify/h3)

deno.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"./packages/express",
88
"./packages/fastify",
99
"./packages/fedify",
10+
"./packages/fixture",
1011
"./packages/fresh",
1112
"./packages/h3",
1213
"./packages/hono",
@@ -92,6 +93,9 @@
9293
"codegen"
9394
]
9495
},
96+
"pnpm:build-fixture": {
97+
"command": "cd packages/fixture && pnpm build"
98+
},
9599
"test": {
96100
"command": "deno test --check --doc --allow-all --unstable-kv --trace-leaks --parallel",
97101
"dependencies": [
@@ -102,14 +106,16 @@
102106
"command": "pnpm run --recursive --filter '!{docs}' test",
103107
"dependencies": [
104108
"codegen",
105-
"install"
109+
"install",
110+
"pnpm:build-fixture"
106111
]
107112
},
108113
"test:bun": {
109114
"command": "pnpm run --recursive --filter '!{docs}' test:bun",
110115
"dependencies": [
111116
"codegen",
112-
"install"
117+
"install",
118+
"pnpm:build-fixture"
113119
]
114120
},
115121
"test-all": {

0 commit comments

Comments
 (0)