Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Commit 083654c

Browse files
Zack StevensZack Stevens
andauthored
fix: Initial release (#1)
Co-authored-by: Zack Stevens <[email protected]>
1 parent a35d3be commit 083654c

File tree

4 files changed

+39
-20
lines changed

4 files changed

+39
-20
lines changed

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1-
# release-config-template
2-
semantic-release release configuration template repository
3-
4-
# How do I use it?
5-
1. modify `index.js` to export whatever release config you want, this is the shareable config that other releases will use.
6-
2. Replace all instances of `release-config-template` with the name of your release config. It should follow the convention `release-config-{your name here}`
7-
3. PR to main following conventional commits. Make sure your squash message follows conventional commits.
8-
4. The release workflow should run, and publish your shareable config to npm so you can use it in releases via extends as `@unsupervised/release-config-{your name here}`
1+
# release-config-general
2+
A semantic-release sharable configuration for releasing general code. This is a fairly standard configuration with no exec plugins, and no npm plugin.
3+
This release config generats release notes, a changelog, commits the changelog via the git plugin, and releases to github.
4+
## Plugins
5+
6+
This shareable configuration use the following plugins:
7+
8+
- [`@semantic-release/commit-analyzer`](https://github.com/semantic-release/commit-analyzer)
9+
- [`@semantic-release/release-notes-generator`](https://github.com/semantic-release/release-notes-generator)
10+
- [`@semantic-release/changelog`](https://github.com/semantic-release/changelog)
11+
- [`@semantic-release/git`](https://github.com/semantic-release/git)
12+
- [`@semantic-release/github`](https://github.com/semantic-release/github)
13+
14+
## Install
15+
16+
```bash
17+
$ npm install --save-dev semantic-release @unsupervised/release-config-general
18+
```
19+
20+
## Usage
21+
22+
The shareable config can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):
23+
24+
```json
25+
{
26+
"extends": "@unsupervised/release-config-general"
27+
}
28+
```
29+
30+
## Configuration
31+
32+
See each [plugin](#plugins) documentation for required installation and configuration steps.
33+

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@unsupervised/release-config-template",
2+
"name": "@unsupervised/release-config-general",
33
"version": "1.0.0",
44
"description": "semantic-release shareable config template repsitory",
55
"main": "index.js",
@@ -8,14 +8,14 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/Unsupervisedcom/release-config-template.git"
11+
"url": "git+https://github.com/Unsupervisedcom/release-config-general.git"
1212
},
1313
"author": "Unsupervised",
1414
"license": "UNLICENSED",
1515
"bugs": {
16-
"url": "https://github.com/Unsupervisedcom/release-config-template/issues"
16+
"url": "https://github.com/Unsupervisedcom/release-config-general/issues"
1717
},
18-
"homepage": "https://github.com/Unsupervisedcom/release-config-template#readme",
18+
"homepage": "https://github.com/Unsupervisedcom/release-config-general#readme",
1919
"dependencies": {
2020
"@semantic-release/changelog": "^6.0.1",
2121
"@semantic-release/commit-analyzer": "^9.0.2",

0 commit comments

Comments
 (0)