@specific.dev/spectest 0.4.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/package.json +38 -0
- package/src/browser.ts +824 -0
- package/src/components/index.ts +32 -0
- package/src/components/k3s.ts +1324 -0
- package/src/components/postgres.ts +281 -0
- package/src/components/replayFake.ts +515 -0
- package/src/daemon.ts +3910 -0
- package/src/index.ts +1601 -0
- package/src/ingress.ts +288 -0
- package/src/inspect.ts +604 -0
- package/src/record-secrets.ts +41 -0
- package/src/recorder.ts +659 -0
- package/src/resolver.ts +351 -0
- package/src/terminal.ts +740 -0
- package/src/vendor/rrweb-plugin-console-record.umd.js +520 -0
- package/src/vendor/rrweb-record.min.js +5 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Reusable, pre-built service definitions for common dependencies.
|
|
2
|
+
//
|
|
3
|
+
// Each component returns a fully-formed `ServiceDefinition` ready to
|
|
4
|
+
// drop into an environment's `services` map. Beyond the container
|
|
5
|
+
// boilerplate (image, env vars, volumes, ready checks) a component may
|
|
6
|
+
// also ship a `client` factory — that's what surfaces convenience
|
|
7
|
+
// handles like `ctx.svc.db.client` (a Bun SQL pool for `postgres(...)`).
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
postgres,
|
|
11
|
+
sqlClient,
|
|
12
|
+
type PostgresOptions,
|
|
13
|
+
type SqlClient,
|
|
14
|
+
} from "./postgres.js";
|
|
15
|
+
export {
|
|
16
|
+
k3s,
|
|
17
|
+
type K3sOptions,
|
|
18
|
+
type K3sHelpers,
|
|
19
|
+
type K3sClient,
|
|
20
|
+
} from "./k3s.js";
|
|
21
|
+
export {
|
|
22
|
+
replayFake,
|
|
23
|
+
type ReplayFakeOptions,
|
|
24
|
+
type ReplayMatch,
|
|
25
|
+
type ReplaySecretInjection,
|
|
26
|
+
type ReplayHelpers,
|
|
27
|
+
type Cassette,
|
|
28
|
+
type CassetteInteraction,
|
|
29
|
+
type CassetteRequest,
|
|
30
|
+
type CassetteResponse,
|
|
31
|
+
type CassetteState,
|
|
32
|
+
} from "./replayFake.js";
|