#plugins

3 entries tagged “plugins”.

javascript

Optional chaining as an accidental deny

p.chains?.includes(name) dropped every plugin that omitted chains. Optional chaining in a filter is an accidental deny; default with ?? instead.

Read the entry →
GitProxy

How to write a GitProxy plugin: a diff-scanning example

How to write a GitProxy plugin: a complete diff-scanning example, how to pick the right chain phase, and why a plugin can load and still never run.

Read the entry →
plugins

How to design a plugin system for your project

How to design a plugin system: named phases instead of positions, deny-by-default placement, and the defaults that must live outside your constructor.

Read the entry →