Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:5-24-trixie",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-extra/features/bun:1": {}

},
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y lcov && bun install"
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
36 changes: 0 additions & 36 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cmd_line
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
genhtml install
10 changes: 10 additions & 0 deletions packages/http-recorder/dist/effect.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as Layer from "effect/Layer";
import type * as HttpClient from "effect/unstable/http/HttpClient";
import type { RecorderOptions } from "./types.js";
/**
* Provides a fetch-backed `HttpClient` with cassette recording and replay.
*
* Locally, a missing cassette is recorded from the real service. Existing
* cassettes are replayed, and `CI=true` makes a missing cassette fail.
*/
export declare const http: (name: string, options?: RecorderOptions) => Layer.Layer<HttpClient.HttpClient>;
17 changes: 17 additions & 0 deletions packages/http-recorder/dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/** HTTP and WebSocket cassette recording. */
export declare const HttpRecorder: {
readonly http: (name: string, options?: import("./types.js").RecorderOptions) => import("effect/Layer").Layer<import("effect/unstable/http/HttpClient").HttpClient>;
readonly socket: (name: string, options?: import("./types.js").RecorderOptions) => import("effect/Layer").Layer<import("effect/unstable/socket/Socket").Socket, never, import("effect/unstable/socket/Socket").Socket>;
};
export declare namespace HttpRecorder {
/** Additional JSON metadata stored with a cassette. */
type CassetteMetadata = import("./types.js").CassetteMetadata;
/** Recorder configuration. */
type RecorderOptions = import("./types.js").RecorderOptions;
/** Additive redaction and header-preservation policy. */
type RedactOptions = import("./types.js").RedactOptions;
/** Returns whether an incoming HTTP request matches a recorded request. */
type RequestMatcher = import("./types.js").RequestMatcher;
/** The normalized HTTP request representation used for matching. */
type RequestSnapshot = import("./types.js").RequestSnapshot;
}
Loading
Loading