generated from theogravity/boilerplate-typescript-old
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add plugin id, addl plugin management methods (#15)
- Loading branch information
1 parent
a32ad3e
commit c583c94
Showing
10 changed files
with
289 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"loglayer": minor | ||
--- | ||
|
||
Adds an optional `id` field to plugins and the ability to manage plugins. | ||
|
||
The following methods have been added: | ||
|
||
- `LogLayer#removePlugin(id: string)` | ||
- `LogLayer#enablePlugin(id: string)` | ||
- `LogLayer#disablePlugin(id: string)` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,12 @@ | ||
# Contributing | ||
|
||
- Make sure you have appropriate unit tests that cover your feature | ||
- Make sure coverage % is maintained | ||
|
||
# Changelog | ||
|
||
If a git commit message looks like this: | ||
|
||
```text | ||
This is my commit subject | ||
This is my commit body | ||
``` | ||
|
||
Then the changelog will be stamped in the following fashion on merge: | ||
|
||
```text | ||
## <version> - <date> | ||
**Contributor:** <author> | ||
- <git subject> | ||
<git body> | ||
``` | ||
|
||
# Merging | ||
|
||
Once merged, the CI will auto-publish to npm and the changelog will be updated. | ||
- Commit messages should follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification. | ||
* The commit message should be in the format `<type>(<scope>): <description>`. The `scope` is optional. The description must be lowercased. | ||
- This project uses [changeset](https://github.com/changesets/changesets) for managing releases. Use the `add-changeset` command to add a changeset for your changes. | ||
* Fixes should be added to the `patch` category. | ||
* New features should be added to the `minor` category. | ||
* Breaking changes should be added to the `major` category. | ||
- Make sure to add tests for any code written. They are written using [vitest](https://vitest.dev/). The tests should pass before submitting a PR. | ||
- Make sure to run the linter before submitting a PR. The linter is run using the `lint` command. It uses | ||
[biome.js](https://biomejs.dev/) for linting. | ||
- The PR must pass the CI checks before it can be merged. This means it should pass linting and tests. |
Oops, something went wrong.