@agentproto/tooling
v0.1.0
Published
Shared development tooling for the agentproto workspace — TypeScript configs (base, bundler) and tsup config factory.
Maintainers
Readme
@agentproto/tooling
Shared development tooling for agentproto-org packages: TypeScript configs and a tsup config factory. Pure config — no runtime code, dev-time only.
TypeScript configs
{
"extends": "@agentproto/tooling/typescript/bundler.json"
}typescript/base.json— shared compiler options fortsc --noEmittype-checking.typescript/bundler.json— for packages built with a bundler (tsup); extendsbase.json.typescript/node-library.json— for packages that emit their own declarations viatscinstead of a bundler.
tsup config
import { createTsupConfig } from "@agentproto/tooling/tsup/base"
export default createTsupConfig({
entry: { index: "src/index.ts" },
})createTsupConfig returns a tsup.defineConfig result with the workspace's
shared defaults (ESM output, .mjs/.d.ts emission, es2022 target,
sourcemaps) — pass any tsup.Options to override or extend them.
Peer dependencies
Consumers bring their own tsup (^8.5.0) and typescript (^5.0.0).
