Skip to content

Classes used by the Sourcegraph extension API

License

Notifications You must be signed in to change notification settings

sourcegraph/extension-api-classes

Repository files navigation

@sourcegraph/extension-api-classes

npm downloads build codecov code style: prettier semantic-release

⚠️ Deprecation notice

Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. Learn more.

The repo and the docs below are kept to support older Sourcegraph versions.

Description

Classes used by the Sourcegraph extension API

Install

npm install @sourcegraph/extension-api-classes
# or
yarn add @sourcegraph/extension-api-classes

Build

yarn
yarn build

Test

yarn test

Release

Releases are done automatically in CI when commits are merged into master by analyzing Conventional Commit Messages. After running yarn, commit messages will be linted automatically when committing though a git hook. The git hook can be circumvented for fixup commits with git's fixup! autosquash feature, or by passing --no-verify to git commit. You may have to rebase a branch before merging to ensure it has a proper commit history, or squash merge with a manually edited commit message that conforms to the convention.