Skip to content

moonrepo/deno-plugin

Repository files navigation

Deno plugin

Deno WASM plugin for proto.

Installation

This plugin is built-in to proto, but if you want to override it with an explicit version, add the following to .prototools.

[plugins]
deno = "source:https://github.com/moonrepo/deno-plugin/releases/download/vX.Y.Z/deno_plugin.wasm"

Configuration

Deno plugin can be configured with a .prototools file.

  • dist-url (string) - The distribution URL to download Deno archives from. Supports {version} and {file} tokens.
[tools.deno]
dist-url = "https://..."

Hooks

Deno plugin does not support hooks.

Contributing

Build the plugin:

cargo build --target wasm32-wasi

Test the plugin by running proto commands.

proto install deno-test
proto list-remote deno-test