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: 6 additions & 1 deletion docs/repository-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ note allows.
| `.husky/post-commit` | `.husky/post-commit` | Runs `opx` hooks & lint; never blocks a commit. A repository with its own hooks (`pre-commit`, `commit-msg`) keeps them |
| `.env.example` | `.env.example` | Lists every variable the repo reads; required only where it reads some |
| `.github/CODEOWNERS` | `.github/CODEOWNERS` | One line, `* @castastrophe`; the ruleset requires code owner review |
| `.github/renovate.json` | `renovate.json` | One-month release age, monthly lockfile refresh |
| `.github/renovate.json` | `renovate.json` | One-month release age, monthly lockfile refresh, & `@changesets/cli` held below 3 |
| `.github/release.yml` | `release.yml` | Changelog categories keyed on `type:` labels |
| `.gitignore` | `.gitignore` | Add `_site` for repos that build an Eleventy site, & `coverage` for every repo with tests |

Expand Down Expand Up @@ -173,6 +173,11 @@ a `GITHUB_TOKEN` wherever `yarn run version` runs. The starter config uses the d
generator instead; [opx#41](https://github.com/allonsy-studio/opx/issues/41) tracks an
opt-in for the custom format.

Changesets CLI 3 & `changesets/action@v1` do not work together: the action reads `New tag:`
lines that CLI 3 no longer prints, so a release gets no git tag or GitHub release. The baseline
Renovate config holds `@changesets/cli` below 3. Move the CLI & the action to v2 together, in
one pull request, then drop the rule in that repository.

`opx release` is in beta (`0.1.0-beta.2` at the last check). Plain Changesets commands work
on the same files where it is not adopted yet.

Expand Down
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
{
"matchDatasources": ["npm"],
"minimumReleaseAge": "1 month"
},
{
"description": "Hold the Changesets CLI at 2 while the release workflow uses changesets/action@v1, which reads CLI 2 output. Move both to 3 together, with changesets/action@v2.",
"matchPackageNames": ["@changesets/cli"],
"allowedVersions": "<3"
}
],
"rebaseWhen": "behind-base-branch",
Expand Down
Loading