The repository had a LICENSE and nothing else. Adds CONTRIBUTING, a code of conduct, a security policy, the DCO, issue templates and a pull request template — the set GitHub checks for, written for these packages rather than copied from core. **This adds a `contrib` branch, reversing a decision made earlier today.** The promotion originally mirrored `main` alone, on the reasoning that a repository with no documented contribution flow does not need a branch nobody targets. That reasoning held right up until we decided to document one. CONTRIBUTING has to send people somewhere, `main` is the wrong answer — a pull request there puts the forges out of step and breaks the next promotion — so `develop → contrib` is back, the same arrangement core runs. What is adapted rather than inherited: - Node 22, not core's 18, which is what every package here already requires. - No build step anywhere. JSR transpiles the source, so `deno publish --dry-run` is what stands in for one. - The four traps an assistant falls into *here*: turning `import type` into a value import, adding a build, writing for Node alone, and changing `engines` without the README's Runtimes table. - SECURITY scopes each package separately, and sends vulnerabilities in the framework itself to core — same people, but the advisory has to live where the fix does. There is also a plugin proposal template, which exists to ask the question that is cheaper in a paragraph than in a written pull request: whether a thing belongs in the official set at all, or is better as the author's own package. The template says the second outcome is first-class, because it usually is. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
> **Base branch:** on GitHub this must target `contrib`, not `main`. You can change it above before you submit — and [here is why](https://github.com/Expressive-Tea/green-tea-plugins/blob/main/CONTRIBUTING.md#where-to-send-your-changes). Delete this line once the base is right.
|
|
|
|
## What this changes
|
|
|
|
<!-- A sentence or two, on the why rather than the what. -->
|
|
|
|
Closes #
|
|
|
|
## Which runtimes you ran
|
|
|
|
<!-- Not all four are expected for a typo. Say which you ran rather than leaving it to be guessed. -->
|
|
|
|
- [ ] `npm test` (Node)
|
|
- [ ] `npm run test:deno`
|
|
- [ ] `npm run test:bun`
|
|
- [ ] `npm run test:edge`
|
|
|
|
## Checklist
|
|
|
|
- [ ] The base branch above is `contrib`
|
|
- [ ] Commits are signed off (`git commit -s`)
|
|
- [ ] `lint`, `format:check`, `typecheck`, `complexity:check` and `deno publish --dry-run` pass locally
|
|
- [ ] New behaviour has a test
|
|
- [ ] Core is still imported as `import type` only — never a value import
|
|
- [ ] If `engines` changed, the package README's Runtimes table changed with it
|
|
- [ ] A breaking change is under `### Breaking`, first in that package's CHANGELOG
|