Skip to content

Commit

Permalink
Merge pull request #163 from rkotze/remove-edit-delete
Browse files Browse the repository at this point in the history
🔥 Remove delete and edit commands
  • Loading branch information
rkotze authored Oct 27, 2024
2 parents 70e2720 + a33f42d commit 63efb46
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 533 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ Follows [Semantic Versioning](https://semver.org/).

## git-mob-core Next

## git-mob 3.3.0
## git-mob 4.0.0

### Added

- Update to `suggest-coauthors` will show a select interactive list using `inquirer/checkbox`. Select one or more authors to save. Reducing the number of steps to add new co-authors.

### Breaking

- Removed the following commands because I think they are low value to maintain. See readme on how to edit/delete co-authors.
- `git delete-coauthor`
- `git edit-coauthor`

## git-mob-core 0.9.3

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/bob/git-mob-core.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const glob = require('glob');

const baseConfig = {
entryPoints: ['./src/index.js'],
entryPoints: ['./src/index.ts'],
mainFields: ['module', 'main'],
platform: 'node',
target: ['node16'],
Expand Down
10 changes: 4 additions & 6 deletions packages/bob/git-mob.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ const glob = require('glob');
const baseConfig = {
entryPoints: [
'./src/git-mob.ts',
'./src/solo.js',
'./src/solo.ts',
'./src/git-add-coauthor.ts',
'./src/git-delete-coauthor.js',
'./src/git-edit-coauthor.js',
'./src/git-mob-print.js',
'./src/git-suggest-coauthors.js',
'./src/install/create-author-file.js',
'./src/git-mob-print.ts',
'./src/git-suggest-coauthors.ts',
'./src/install/create-author-file.ts',
],
mainFields: ['module', 'main'],
bundle: true,
Expand Down
20 changes: 0 additions & 20 deletions packages/git-mob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ _Add co-authors to commits_ when you collaborate on code. Use when pairing with
- [List all co-authors](#list-all-co-authors)
- [Overwrite the main author](#overwrite-the-main-author)
- [Add co-author](#add-co-author)
- [Delete co-author](#delete-co-author)
- [Edit co-author](#edit-co-author)
- [Suggest co-authors](#suggest-co-authors)
- [Path to .git-coauthors](#path-to-git-coauthors)
- [Help](#help)
Expand Down Expand Up @@ -225,24 +223,6 @@ Add a new co-author to your `.git-coauthors` file.
$ git add-coauthor bb "Barry Butterworth" barry@butterworth.org
```
### Delete co-author
Delete a co-author from your `.git-coauthors` file.
```
$ git delete-coauthor bb
```
### Edit co-author
Edit a co-author's details in your `.git-coauthors` file.
```
$ git edit-coauthor bb --name="Barry Butterworth" --email="barry@butterworth.org"
$ git edit-coauthor bb --name="Barry Butterworth"
$ git edit-coauthor bb --email="barry@butterworth.org"
```
### Suggest co-authors
Suggest co-authors to save based on contributors to the current Git repository.
Expand Down
2 changes: 0 additions & 2 deletions packages/git-mob/bin/delete-coauthor.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/git-mob/bin/edit-coauthor.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/git-mob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
"git-mob-print": "bin/mob-print.js",
"git-solo": "bin/solo.js",
"git-add-coauthor": "bin/add-coauthor.js",
"git-delete-coauthor": "bin/delete-coauthor.js",
"git-edit-coauthor": "bin/edit-coauthor.js",
"git-suggest-coauthors": "bin/suggest-coauthors.js"
},
"repository": {
Expand Down
89 changes: 0 additions & 89 deletions packages/git-mob/src/git-authors/index.js

This file was deleted.

77 changes: 0 additions & 77 deletions packages/git-mob/src/git-authors/index.spec.js

This file was deleted.

29 changes: 0 additions & 29 deletions packages/git-mob/src/git-delete-coauthor.js

This file was deleted.

67 changes: 0 additions & 67 deletions packages/git-mob/src/git-delete-coauthor.spec.js

This file was deleted.

21 changes: 0 additions & 21 deletions packages/git-mob/src/git-edit-coauthor.js

This file was deleted.

Loading

0 comments on commit 63efb46

Please sign in to comment.