Files
stanza/packages/create-stanza/tsdown.config.ts
T
jake 9bf80ce2e8 docs: expand README and documentation site with concepts, getting-started, and CLI reference pages
- Add `concepts.mdx` covering categories, cardinality, home, vendoring, peers/adapters, manifest, regions, and the open registry model
- Flesh out `getting-started.mdx` with prerequisites, install/run steps, package-manager variants, inspect/remove commands, and a non-interactive `--yes` example
- Rewrite `cli-reference.mdx` with per-verb sections, global flags, environment variables, and dependency-versioning semantics
- Expand `README.md` with a "Why Stanza?" section, quick-start snippet, docs link, and updated module list; swap `pnpm create` example for `npm init`
- Add `concepts` to `meta.json` nav order
2026-05-22 16:03:15 -04:00

17 lines
528 B
TypeScript

import { defineConfig } from "tsdown";
/**
* `create-stanza` is a thin shim over `stanza-cli`. We compile its TS to
* ESM but externalize EVERYTHING — including `stanza-cli` itself, which
* the user installs alongside `create-stanza` via npm's normal dep chain
* (it's in `dependencies`). Inlining `stanza-cli` here would also pull in
* its transitive 12 MB of ts-morph and friends.
*/
export default defineConfig({
entry: ["./src/bin.ts"],
format: "esm",
target: "node22",
platform: "node",
clean: true,
});