Skip to content

Open-VCS/PluginTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PluginTemplate: Hello, World!

This folder is a starter template for building OpenVCS plugins with the same SDK/runtime architecture used by the Git plugin.

It keeps the behavior simple: when the plugin starts, it logs one line:

  • Hello, World from PluginTemplate!

Build

From PluginTemplate/, run:

npm install
npm run build

Validate

npm run lint
npm test

What it contains

  • package.json: OpenVCS plugin manifest and npm scripts.
  • tsconfig.json: TypeScript build settings for the plugin runtime.
  • src/plugin.ts: plugin definition and startup hook.
  • test/plugin.test.ts: basic smoke tests for the exported plugin contract.

Customizing

  1. Change the openvcs.id in package.json.
  2. Update the startup log line in src/plugin.ts.
  3. Add more plugin behavior using the same PluginDefinition / OnPluginStart() entrypoint pattern.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors