Skip to content
Merged
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
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ All other packages depend on core via `@distilled.cloud/sdk-core` workspace depe
| Tool | Purpose | Command |
|------|---------|---------|
| **Bun** | Runtime, package manager, test runner | `bun install`, `bun run ...` |
| **tsgo** | Type checking (native TypeScript compiler) | `tsgo` (check), `tsgo -b` (build) |
| **tsc** | Type checking (native TypeScript compiler, `typescript@7`) | `tsc` (check), `tsc -b` (build) |
| **oxlint** | Linter | `oxlint --fix src` |
| **oxfmt** | Formatter | `oxfmt --write src`, `oxfmt --check src` |
| **vitest** | Test framework | `bunx vitest run test` |
Expand All @@ -75,9 +75,9 @@ Every package has these scripts:

| Script | Command | Description |
|--------|---------|-------------|
| `typecheck` | `tsgo` | Type check only (no emit) |
| `build` | `tsgo -b` | Build to `lib/` (.js + .d.ts + source maps) |
| `check` | `tsgo && oxlint src && oxfmt --check src` | Full check (types + lint + format) |
| `typecheck` | `tsc` | Type check only (no emit) |
| `build` | `tsc -b` | Build to `lib/` (.js + .d.ts + source maps) |
| `check` | `tsc && oxlint src && oxfmt --check src` | Full check (types + lint + format) |
| `fmt` | `oxfmt --write src` | Format source |
| `lint` | `oxlint --fix src` | Lint + autofix |
| `test` | `bunx vitest run test` | Run tests |
Expand Down
56 changes: 41 additions & 15 deletions bun.lock

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

30 changes: 29 additions & 1 deletion bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
[install]
minimumReleaseAge = 259200
minimumReleaseAgeExcludes = ["effect", "fast-check", "@effect/platform-bun", "@effect/platform-node", "@effect/vitest", "@effect/platform-node-shared"]
minimumReleaseAgeExcludes = [
"effect",
"fast-check",
"@effect/platform-bun",
"@effect/platform-node",
"@effect/vitest",
"@effect/platform-node-shared",
"typescript",
"@typescript/typescript-win32-x64",
"@typescript/typescript-win32-arm64",
"@typescript/typescript-linux-x64",
"@typescript/typescript-linux-arm",
"@typescript/typescript-linux-arm64",
"@typescript/typescript-darwin-x64",
"@typescript/typescript-darwin-arm64",
"@typescript/typescript-aix-ppc64",
"@typescript/typescript-freebsd-arm64",
"@typescript/typescript-freebsd-x64",
"@typescript/typescript-linux-loong64",
"@typescript/typescript-linux-mips64el",
"@typescript/typescript-linux-ppc64",
"@typescript/typescript-linux-riscv64",
"@typescript/typescript-linux-s390x",
"@typescript/typescript-netbsd-arm64",
"@typescript/typescript-netbsd-x64",
"@typescript/typescript-openbsd-arm64",
"@typescript/typescript-openbsd-x64",
"@typescript/typescript-sunos-x64",
]
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"@smithy/util-base64": "^4.3.0",
"@types/bun": "^1.3.0",
"@types/node": "^25.3.5",
"@typescript/native-preview": "7.0.0-dev.20260329.1",
"archiver": "^7.0.1",
"aws4fetch": "^1.0.20",
"dedent": "^1.7.0",
Expand All @@ -52,6 +51,7 @@
"oxfmt": "^0.36.0",
"oxlint": "^1.51.0",
"pathe": "^2.0.3",
"typescript": "^7.0.2",
"vite": "^7.3.1",
"vitest": "^3.2.3",
"yaml": "^2.7.1"
Expand All @@ -68,12 +68,12 @@
"@anthropic-ai/claude-agent-sdk": "^0.2.81",
"@types/bun": "catalog:",
"@types/node": "catalog:",
"@typescript/native-preview": "catalog:",
"aws4fetch": "^1.0.20",
"changelogithub": "^14.0.0",
"husky": "^9.1.7",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"typescript": "catalog:",
"yaml": "catalog:"
}
}
6 changes: 3 additions & 3 deletions packages/aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@
}
},
"scripts": {
"typecheck": "tsgo",
"build": "tsgo -b",
"typecheck": "tsc",
"build": "tsc -b",
"fmt": "oxfmt --write src",
"lint": "oxlint --fix src",
"check": "tsgo && oxlint src && oxfmt --check src",
"check": "tsc && oxlint src && oxfmt --check src",
"test": "bunx vitest run test --exclude specs --passWithNoTests",
"publish:npm": "bun run build && bun publish --access public",
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
Expand Down
6 changes: 3 additions & 3 deletions packages/axiom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
}
},
"scripts": {
"typecheck": "tsgo",
"build": "tsgo -b",
"typecheck": "tsc",
"build": "tsc -b",
"fmt": "oxfmt --write src",
"lint": "oxlint --fix src",
"check": "tsgo && oxlint src && oxfmt --check src",
"check": "tsc && oxlint src && oxfmt --check src",
"test": "bunx vitest run test --passWithNoTests",
"publish:npm": "bun run build && bun publish --access public",
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
Expand Down
6 changes: 3 additions & 3 deletions packages/azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
}
},
"scripts": {
"typecheck": "tsgo",
"build": "tsgo -b",
"typecheck": "tsc",
"build": "tsc -b",
"fmt": "oxfmt --write src",
"lint": "oxlint --fix src",
"check": "tsgo && oxlint src && oxfmt --check src",
"check": "tsc && oxlint src && oxfmt --check src",
"test": "bunx vitest run test --exclude specs --passWithNoTests",
"publish:npm": "bun run build && bun publish --access public",
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
Expand Down
8 changes: 4 additions & 4 deletions packages/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
}
},
"scripts": {
"typecheck": "tsgo",
"build": "tsgo -b",
"typecheck": "tsc",
"build": "tsc -b",
"download:env": "doppler secrets download --no-file --format env > .env",
"fmt": "oxfmt --write src",
"lint": "oxlint --fix src",
"check": "tsgo && oxlint src && oxfmt --check src",
"check": "tsc && oxlint src && oxfmt --check src",
"test": "vitest run --exclude specs --passWithNoTests",
"publish:npm": "bun run build && bun publish --access public",
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
Expand All @@ -72,7 +72,7 @@
"@types/bun": "catalog:",
"@types/node": "catalog:",
"dotenv": "catalog:",
"typescript": "^5.9.3",
"typescript-5": "npm:typescript@^5.9.3",
"vitest": "catalog:"
},
"peerDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/cloudflare/scripts/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import * as path from "node:path";
import { execSync } from "node:child_process";
import { createHash } from "node:crypto";
import { fileURLToPath } from "node:url";
import * as ts from "typescript";
// typescript@7 (native) ships no JS compiler API — parse.ts needs the TS 5 API,
// aliased as typescript-5 so its tsc bin cannot shadow the workspace typescript@7.
import * as ts from "typescript-5";
import { parse as parseYaml } from "yaml";
import {
type ErrorMatcherInfo,
Expand Down
6 changes: 3 additions & 3 deletions packages/coinbase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
}
},
"scripts": {
"typecheck": "tsgo",
"build": "tsgo -b",
"typecheck": "tsc",
"build": "tsc -b",
"fmt": "oxfmt --write src",
"lint": "oxlint --fix src",
"check": "tsgo && oxlint src && oxfmt --check src",
"check": "tsc && oxlint src && oxfmt --check src",
"test": "bunx vitest run test --exclude specs --passWithNoTests",
"publish:npm": "bun run build && bun publish --access public",
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
}
},
"scripts": {
"typecheck": "tsgo",
"build": "tsgo -b",
"typecheck": "tsc",
"build": "tsc -b",
"fmt": "oxfmt --write src",
"lint": "oxlint --fix src",
"check": "tsgo && oxlint src && oxfmt --check src",
"check": "tsc && oxlint src && oxfmt --check src",
"test": "bunx vitest run test --exclude specs --passWithNoTests",
"publish:npm": "bun run build && bun publish --access public"
},
Expand Down
Loading
Loading