docs(plugins): give each package a header, and stop leaning on a marketplace
Each README now opens the way core's does — logo, name, one line saying what the package is for. The package README is the page JSR renders, so it is the first thing anyone sees, and three of them opened with a bare `# @green-tea/x`. The logo is an absolute URL rather than a relative path, deliberately. Core's README points at `./assets/logo.png`, and core's `publish.include` does not ship `assets/` — so that image 404s on core's JSR page today. Repeating the pattern three more times would have repeated the bug three more times. Also drops the claim that npmjs.org discovery does not matter "where the marketplace is the channel anyway". There is no marketplace yet, and a plugin should stand on its own rather than on a site that has not shipped. The cost is now stated plainly instead of argued away. Corrects "their built code never imports it": with JSR publishing the source, the build is JSR's, not ours. What holds is that a type import leaves nothing behind, so the published JavaScript never mentions core. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
5 files changed
+63
-10
No files matched your search
@@ -69,9 +69,9 @@ mirror is Plan B3, and it is unblocked rather than done.
|
||||
it lived. It is declared in the JSR package settings, not in `deno.json` — the config schema
|
||||
accepts `name`, `version`, `license`, `exports` and `publish`, and nothing else.
|
||||
|
||||
What this gives up: no discovery on npmjs.org, where the marketplace is the channel anyway, and
|
||||
a site behind a registry proxy that mirrors npmjs.org and refuses a second one cannot reach the
|
||||
plugins. Core still can — it publishes to both.
|
||||
What this gives up, stated plainly rather than argued away: nobody searching npmjs.org will find
|
||||
these, and a site behind a registry proxy that mirrors npmjs.org and refuses to add a second one
|
||||
cannot install them at all. Core still can — it publishes to both.
|
||||
|
||||
## Conventions
|
||||
|
||||
|
||||
Reference in new issue
Block a user