Releases: koddsson/coworking-with
v0.4.3
v0.4.2
What's Changed
- Fixes typos by @NetOpWibby in #23
- Fix packages after npm audit by @koddsson in #24
New Contributors
- @NetOpWibby made their first contribution in #23
Full Changelog: v0.4.1...v0.4.2
v0.4.1
This version updates the project's dependencies as well as fixing an issue where the program would crash when working in a project that has a package.json
file and "type": "module"
set in it.
v0.4.0
v0.3.2
v0.3.1
- Merge pull request #16 from koddsson/fix-12 d1af722
- use signature directly 88974b0
- fix formating of commit trailer 397741a
- run eslint with default settings on the project 246ae05
- keep track of commit trailers 200457a
- Merge pull request #14 from koddsson/eslint f973063
- install depenencies? b4d610a
- eslint is test script 14abdb3
- Merge pull request #15 from koddsson/action cf900ba
- Create nodejs.yml 23b32e2
- run eslint with default settings on the project c7a72dc
- Delete main.workflow ff8cc2f
v0.3.0
0.2.0
v0.1.1
@koddsson/coworking-with
Easily add coworking signitures to your commits.
Usage
npx @koddsson/coworking-with <usernames>...
The script installs a commit-msg
hook that will append all commit messages with Co-authored-by: USERNAME <EMAIL>
for each user you have specified. This commit trailer can be picked up by tools such as GitHub.
Note that since we go through the git log history to find the signiture that the user you want to cowork with needs to have at least one commit into the repo you are working in.
Quit "coworking mode" with the --stop
flag.
npx @koddsson/coworking-with --stop
That's pretty much it.
Enhancements
I want a indicator on my shell to tell me if I'm coworking mode or not. I do this in my fish shell by checking the coworking.coauthor
key in the git config.
function _is_coworking
echo (command git config --get-all coworking.coauthor 2> /dev/null)
end
[..]
if [ (_is_coworking) ]
set -l git_coworking "👨🏻💻"
set git_info "$git_info$git_coworking"
end
This snippet just sets a little emoji on my prompt when I'm in coworking mode but your setup is going to need some different way to indicate coworking mode.