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
7 changes: 5 additions & 2 deletions newborns/repo-turbo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
// the commit, and refuses it without `depends = "lint"`. `mise e2e` works first
// in a fresh clone. A package repo also has what a release needs: a workspace
// package with a pending changeset passes `test`, scoped to it by name, and
// `changeset version` takes the changeset in. Created by `plx new`; it needs
// the network (`mise install`, `pnpm add`).
// `changeset version` takes the changeset in, with a changelog that `check`
// then accepts. Created by `plx new`; it needs the network (`mise install`,
// `pnpm add`).
//
// mise run newborn # every template
// KEEP=1 mise run newborn # leave the newborns in place and say where
Expand Down Expand Up @@ -285,5 +286,7 @@ for (const [name, answers] of [
assert.ok(scoped.ok, scoped.output);
await sh('mise', ['exec', '--', 'pnpm', 'exec', 'changeset', 'version'], dir);
assert.match(read(dir, 'packages/demo/package.json'), /"version": "0\.2\.0"/);
assert.match(read(dir, 'packages/demo/CHANGELOG.md'), /^## 0\.2\.0\n\n### Minor Changes\n\n- A first change\.$/m);
await pass(dir, name, 'check');
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"commit": false,
"access": "{{ 'restricted' if package_registry == 'github' else 'public' }}",
"baseBranch": "main",
{#- No formatter for changelogs and changesets: Biome formats no Markdown here (@plexus-ms/config), and changesets would start it as `pnpm exec @biomejs/biome`, which pnpm cannot run. #}
"format": false,
"updateInternalDependencies": "patch",
"fixed": [],
"linked": [],
Expand Down