Skip to content

Commit

Permalink
chore: Update contributors (and make it run on prepublishOnly)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdubroy committed Jan 7, 2022
1 parent a78fc60 commit 76c16ab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 10 additions & 7 deletions packages/ohm-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@
"test": "ava && ava --config ava-ts.config.js test/test-typings.ts",
"test-watch": "ava --watch",
"pre-commit": "yarn run lint && yarn run build && yarn run test",
"prepublishOnly": "bash scripts/update-contributors",
"prepack": "cp ../../README.md . && yarn build",
"postpack": "rm README.md",
"unsafe-bootstrap": "bash scripts/bootstrap",
"version-package": "bash scripts/version",
"update-contributors": "bash scripts/update-contributors",
"watch": "webpack --mode=development --watch"
},
"license": "MIT",
Expand All @@ -52,18 +53,19 @@
"Tony Garnock-Jones <tonygarnockjones@gmail.com>",
"Saketh Kasibatla <sake.kasi@gmail.com>",
"Lionel Landwerlin <llandwerlin@gmail.com>",
"Ray Toal <rtoal@lmu.edu>",
"Jason Merrill <jwmerrill@gmail.com>",
"Ray Toal <rtoal@lmu.edu>",
"Yoshiki Ohshima <Yoshiki.Ohshima@acm.org>",
"stagas <gstagas@gmail.com>",
"Jonathan Edwards <JonathanMEdwards@gmail.com>",
"Milan Lajtoš <milan.lajtos@me.com>",
"Neil Jewers <njjewers@uwaterloo.ca>",
"megabuz <3299889+megabuz@users.noreply.github.com>",
"Mike Niebling <(none)>",
"AngryPowman <angrypowman@qq.com>",
"Leslie Ying <acetophore@users.noreply.github.com>",
"Pierre Donias <pierre.donias@gmail.com>",
"sfinnie <scott.finnie@gmail.com>",
"Justin Chase <justin.m.chase@gmail.com>",
"Pierre Donias <pierre.donias@gmail.com>",
"Ian Harris <ian@fofgof.xyz>",
"Daniel Tomlinson <DanielTomlinson@me.com>",
"Stan Rozenraukh <stan@stanistan.com>",
"Stephan Seidt <stephan.seidt@gmail.com>",
Expand All @@ -77,9 +79,10 @@
"abego <ub@abego-software.de>",
"acslk <d_vd415@hotmail.com>",
"codeZeilen <codeZeilen@users.noreply.github.com>",
"owch <bowenrainyday@gmail.com>",
"AngryPowman <angrypowman@qq.com>",
"Luca Guzzon <luca.guzzon@gmail.com>",
"sfinnie <scott.finnie@gmail.com>"
"Leslie Ying <acetophore@users.noreply.github.com>",
"owch <bowenrainyday@gmail.com>"
],
"dependencies": {},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/ohm-js/scripts/update-contributors
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

echo "👫 Updating the list of contributors..."
json -I -f "package.json" -e "this.contributors=[$(./scripts/get-contributors)]"

0 comments on commit 76c16ab

Please # to comment.