Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.53 KB

File metadata and controls

54 lines (33 loc) · 1.53 KB

PRs are always welcome.

First, please read our Code of Conduct.

If you have any questions please reach out to us on Discord in the #contribute channel.

Installation

You'll need, at minimum, node 22 and bun installed.

Then install the dependencies:

bun install

Then build the libraries:

bun run build:libs

Packages

See the README.md for each package for more details.

Debugging

It is often useful to enable source maps in traces during local development.

To do so run export NODE_OPTIONS=--enable-source-maps in your active terminal.

Plugins Development

To develop a plugin, you can use the @plugin root decorator to load the plugin from a local .env.schema file.

e.g. use @plugin(./packages/plugins/1password) instead of a package name like @plugin(@varlock/1password-plugin).

# @plugin(./packages/plugins/1password)
# @initOp(token=$OP_TOKEN, allowAppAuth=true)
# ---

# @type=opServiceAccountToken @sensitive
OP_TOKEN=