Files
plugins/.github/ISSUE_TEMPLATE/plugin_proposal.md
T
chrnx e1ea1542c9
CI / dco (pull_request) Successful in 5s
CI / build (pull_request) Successful in 12s
CI / runtimes (bun) (pull_request) Successful in 11s
CI / runtimes (deno) (pull_request) Successful in 11s
CI / runtimes (edge) (pull_request) Successful in 8s
docs: add the community files GitHub expects before this goes public
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>
2026-09-23 11:55:22 -05:00

36 lines
957 B
Markdown

---
name: Plugin proposal
about: Suggest something for the official set — before writing it
labels: enhancement
---
## What it does
<!-- One paragraph. What a user gets that they do not have today. -->
## Why it belongs in the official set
<!--
The honest question is not whether the code would be good. It is whether this
belongs here rather than as your own package.
A plugin that depends on a service, a vendor or a protocol we cannot test is
usually better as `@you/green-tea-whatever`, published to JSR or npm. That is a
first-class outcome, not a consolation — say so if you already plan it that way
and only want a sanity check.
-->
## Runtimes it could support
<!--
Node, Deno, Bun, workerd — and which it cannot, with the reason. A plugin that
needs a filesystem cannot serve workerd, for instance, and knowing that early
changes the design rather than the documentation.
-->
## Shape
```ts
// The call as a user would write it.
```