Website for https://plugins.dprint.dev.
This website is hosted on Deno Deploy.
This service provides a convenient redirect for a plugin stored in any GitHub repo.
To use it, create a GitHub release in your repo with:
- Plugin named
plugin.wasm
(useplugin.json
for process plugins) - JSON schema named
schema.json
(if exists)
Then your redirect urls will look like:
https://plugins.dprint.dev/<username>/<repo_name>-<tag_name>.wasm
https://plugins.dprint.dev/<username>/<repo_name>/<tag_name>/schema.json
https://plugins.dprint.dev/<username>/<repo_name>/latest.json
Restrictions and recommendations:
- Tag names must not contain a dash (
-
). - It is recommended to use the format
x.x.x
for your tag names to be consistent with other plugins (ex. no leadingv
likev1.0.0
).
If your repo name is in the format dprint-plugin-<something>
then you can omit dprint-plugin-
in the <repo_name>
for the redirect (ex. https://plugins.dprint.dev/<user>/dprint-plugin-typescript-0.0.0.wasm
may be shortened to https://plugins.dprint.dev/<user>/typescript-0.0.0.wasm
).
deno run --allow-read=. --allow-net --allow-env --no-check main.ts