Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* on proxy startup, read plugin names via environment variable `GITPROXY_LOAD_PLUGINS` as a comma-separated list * on startup, initialize PluginManager which sets a list of plugins and loads them via `load-plugin`. Note, this is a no-op atm since the actual proxy processors are not calling into plugin functions yet * add lerna to support multiple npm packages in a single workspace. This is necessary to start breaking apart the monolithic git-proxy package code into separate packages. * add HttpPlugin class which takes in a request & response function. This class should implement those methods. Note, this is better suited to TypeScript which has built-in interfaces. This doesn't "do" anything yet. feat: plugin system re-ordered hardcoded values work in progress
- Loading branch information