tcm-ts.txt / code
tcm . cli . test . e2e . pack
setUp
testPackForAnEditor
testPackIntoPackage
testPackRefusesAmbiguousExports
testPackTwoRangesSideBySide
tcmts.cli.test.e2e.pack
setUp () => { dir: string; spawn: (cmd: string, args: string[], cwd?: string) => { status: number | null;… A new codebase with greet (a function with a doc, an interface, a main using a package) and ui (a component).
testPackForAnEditor () => void A package for an editor (a VS Code extension): its API comes from where it runs (`vscode`, its types from @types/vscode, never a dependency), its package.json starts from a file of the codebase, and files ship beside it.
testPackIntoPackage () => void Pack definitions into a package: bins, entry points, types, docs, dependencies at their locked versions.
testPackRefusesAmbiguousExports () => void Pack refuses what it can't export unambiguously.
testPackTwoRangesSideBySide () => void A package pinned at two ranges keeps both, side by side.