prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix ci

Tyler b8ee81d3 1f6f5419

+10 -16
+1
.github/workflows/ci.yml
··· 33 33 steps: 34 34 - uses: actions/checkout@v4 35 35 - uses: ./.github/actions/prepare 36 + - run: pnpm build 36 37 - run: pnpm test 37 38 benchmark_types: 38 39 name: Benchmark Types
-11
packages/prototypey/cli/tests/simple-lexicon.ts
··· 1 - import { lx } from "prototypey"; 2 - 3 - export const profileNamespace = lx.lexicon("app.bsky.actor.profile", { 4 - main: lx.record({ 5 - key: "self", 6 - record: lx.object({ 7 - displayName: lx.string({ maxLength: 64, maxGraphemes: 64 }), 8 - description: lx.string({ maxLength: 256, maxGraphemes: 256 }), 9 - }), 10 - }), 11 - });
+8 -4
packages/prototypey/cli/tests/test-utils.ts
··· 8 8 options?: { cwd?: string; env?: NodeJS.ProcessEnv }, 9 9 ): Promise<{ stdout: string; stderr: string; code: number }> { 10 10 return new Promise((resolve) => { 11 - const child = spawn("node", ["--experimental-strip-types", cliPath, ...args], { 12 - cwd: options?.cwd ?? process.cwd(), 13 - env: options?.env ?? process.env, 14 - }); 11 + const child = spawn( 12 + "node", 13 + ["--experimental-strip-types", cliPath, ...args], 14 + { 15 + cwd: options?.cwd ?? process.cwd(), 16 + env: options?.env ?? process.env, 17 + }, 18 + ); 15 19 16 20 let stdout = ""; 17 21 let stderr = "";
+1 -1
packages/prototypey/package.json
··· 29 29 "build": "tsdown", 30 30 "lint": "eslint .", 31 31 "test": "vitest run", 32 - "test:bench": "node tests/infer.bench.ts", 32 + "test:bench": "node core/tests/infer.bench.ts", 33 33 "test:bench:validation": "vitest bench --run tests/validation-baseline.bench.ts", 34 34 "test:update-snapshots": "vitest run -u", 35 35 "tsc": "tsc"