From c8fbde6a5a171ffc58a3161a8ca322e2010cdc7f Mon Sep 17 00:00:00 2001 From: Outsider Date: Thu, 10 Oct 2019 00:50:18 +0900 Subject: [PATCH 1/5] manage author list in AUTHORS instead package.json Signed-off-by: Outsider --- AUTHORS | 472 +++++++++++++++++++++++++++++++++++ package-lock.json | 232 ------------------ package.json | 503 -------------------------------------- scripts/update-authors.js | 62 +++++ 4 files changed, 534 insertions(+), 735 deletions(-) create mode 100644 AUTHORS create mode 100755 scripts/update-authors.js diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000000..00b65a7b52 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,472 @@ +# Authors ordered by first contribution. + +TJ Holowaychuk +James Carr +Fredrik Lindin +Konstantin Käfer +David Henderson +Harry Brundage +Quang Van +hokaccha +Guillermo Rauch +FARKAS Máté +Ben Lindsey +Steve Mason +Ryunosuke SATO +Nathan Rajlich +Raynos +Yuest Wang +Maciej Małecki +Joshua Krall +Fedor Indutny +Will Langstroth +Attila Domokos +Jussi Virtanen +Phil Sung +vlad +Paul Miller +Bjørge Næss +Jeff Kunkle +Fabio M. Costa +Michael Riley +Ian Young +Jakub Nešetřil +Tyson Tate +Jo Liss +Arian Stolwijk +Brendan Nee +Xavier Antoviaque +Domenic Denicola +Brian Beck +Dave McKenna +Richard Dingwall +Cory Thomas +R56 +Ian Storm Taylor +Andreas Brekken +abrkn +Nathan Bowser +László Bácsi +Atsuya Takagi +Gavin Mogan +fengmk2 +Seiya Konno +Jan Lehnardt +Matt Robenolt +Jonas Westerlund +Koen Punt +Jason Barry +Austin Birch +Adam Crabtree +Casey Foster +Jonathan Creamer +Brian Moore +traleig1 +John Firebaugh +airportyh +Aaron Heckmann +Russ Bradberry +Ivan +Corey Butler +Paul Armstrong +Herman Junge +Michael Schoonmaker +Wil Moore III +Pete Hawkins +tgautier@yahoo.com +yuitest +Matt Smith +Katie Gengler +Bryan Donovan +Nathan Alderson +Shawn Krisman +Merrick Christensen +Timo Tijhof +Simon Gaeremynck +Jaakko Salonen +Jonathan Rajavuori +Forbes Lindesay +Standa Opichal +Matthew Shanley +James Lal +Greg Perkins +Gareth Murphy +Juzer Ali +Sasha Koss +Justin DuJardin +Frederico Silva +Jesse Dailey +Yanis Wang +fcrisci +Javier Aranda +Florian Margaine +fool2fish +James Bowes +Valentin Agachi +Mathieu Desvé +Glen Huang +Simon Goumaz +Alexander Early +Jimmy Cuadra +Russell Munson +lodr +Liam Newman +Dmitry Shirokov +Fredrik Enestad +Kirill Korolyov +grasGendarme +Mike Pennisi +Victor Costan +Tim Ehat +Jeremy Martin +Mal Graty +Di Wu +badunk +Marc Kuo +Sindre Sorhus +Salehen Shovon Rahman +eiji.ienaga +Oscar Godson +Daniel Stockman +Stephen Mathieson +Travis Jeffery +Andreas Lind Petersen +Romain Prieto +JP Bochi +Teddy Zeenny +Roman Neuhauser +XhmikosR +Brian Lalor +Refael Ackermann +ChrisWren +Andrew Nesbitt +berni +Andrey Popp <8mayday@gmail.com> +Brian M. Carlson +Michael Olson +Arnaud Brousseau +Peter Rust +Vadim Nikitin +Roman Shtylman +Tapiwa Kelvin +Rustem Mustafin +Glen Mailer +Nathan Black +sebv +andy matthews +Benjie Gillam +Noshir Patel +Ben Noordhuis +Jacob Wejendorp +claudyus +Denis Bardadym +Connor Dunn +Jonathan Ong +Harish +Michal Charemza +startswithaj +Gareth Aye +Nick Fitzgerald +Jan Kopriva +kavun +Christoffer Hallas +Jonathan Park +Devin Weaver +John Doty +Shaine Hatch +Ben Bradley +qiuzuhui +Jean Ponchon +Linus Unnebäck +Mattias Tidlund +Matija Marohnić +Michael Jackson +Joel Kemp +Zsolt Takács +jsdevel +lakmeer +Joshua Appelman +Christopher Hiller +Michael Demmer +Giovanni Bassi +Panu Horsmalahti +nishigori +Nicolo Taddei +Diogo Monteiro +mrShturman +PoppinL +samuel goldszmidt +Rob Wu +Kent C. Dodds +Kevin Conway +Dominique Quatravaux +zhiyelee +Quanlong He +omardelarosa +Ariel Mashraki +Sean Lang +David da Silva Contín +C. Scott Ananian +Douglas Christopher Wilson +Richard Knop +Buck Doyle +Jonas Dohse +oveddan +monowerker +Marcello Bastea-Forte +Benoît Zugmeyer +Vlad Magdalin +Moshe Kolodny +Tom Coquereau +Timothy Gu +Ian Zamojc +Martin Marko +Chris Buckley +Jake Craige +Fede Ramirez +Parker Moore +Todd Agulnick +Daniel St. Jules +Rico Sta. Cruz +Anis Safine +Adam Gruber +Sam Mussell +klaemo +Stewart Taylor +Jordan Sexton +Keith Cirkel +Andrii Shumada +Dominic Barnes +Maximilian Antoni +Sune Simonsen +Kyle Mitchell +James Nylen +Jonathan Delgado +Jake Marsh +slyg +Tomer Eskenazi +Jeff Schilling +Ryan Hubbard +amsul +Kevin Kirsche +Gabriel Silk +Johnathon Sanders +Max Goodman +Nathan Houle +Ben Vinegar +Duncan Beevers +Tingan Ho +Guy Arye +Nik Nyby +Artem Govorov +Ajay Kodali +Ryan Tablada +Pavel Zubkou +gigadude +Outsider +Jason Lai +Aaron Krause +wsw +Kevin Burke +Berker Peksag +nexdrew +Hugo Giraudel +Rich Trott +Matt Giles +Joey Cozza +Kris Rasmussen +James G. Kim +Sorin Iclanzan +Rob Raux +Sergey Simonchik +Ian W. Remmel +tmont +John Reeves +Fagner Brack +Mark Banner +Michiel de Jong +Benoit Larroque +Charles Lowell +Joao Moreno +Long Ho +Robert Rossmann +Aaron Hamid +Stone +Tom Hughes +Soel +Mislav Marohnić +Prayag Verma +Frank Leon Rose +Ryan Shaw +Thedark1337 +Gyandeep Singh +ryym +Josh Lory +Jonathan Kim +Al Scott +Tobias Bieniek +Benjamin Eidelman +Julien Wajsberg +sarehag +Alexander Shepelin +OlegTsyba +Xavier Damman +Mick Brooks +Erik Eng +Kelong Wang +Jérémie Astori +ScottFreeCode +Sergio Santoro +Adrian Ludwig +Anders Olsen Sandvik +Thomas Grainger +jimenglish81 +Avi Vahl +Jason Leyba +silentcloud +Dmitriy Simushev +simov +Ross Warren +Benson Trent +rmacklin +Rob Loach +Shinnosuke Watanabe +Callum Macrae +ELLIOTTCABLE +Anton +Peter Müller +APerson +not-an-aardvark +Alhadis +Slobodan Mišković +Philip M. White +Christian +anton +Dmitry Sorin +Vivek Ganesan +Josh Eversmann +inxorable +Ben Harris +Aaron Petcoff +Matt Bierner +Ville Saukkonen +Ben Hutchison +Volker Buzek +Scott Kao +Sulabh Bista +rotemdan +Fumiaki MATSUSHIMA +Markus Tacker +Christoph Neuroth +Enric Pallerols +Craig Taub +Yoshiya Hinosawa +Sebastian Van Sande +Chris Lamb +Igwe Kalu +Kevin Wang +Laurence Rowe +Jakob Krigovsky +Chris +Kunal Nagpal +elergy +Jupp Müller +Poprádi Árpád +Charlie Rudolph +Angelica Valenta +Jan Krems +Josh Soref +solodynamo +Eli Skeggs +Nikolaos Georgiou +olsonpm +David Neubauer +Darryl Pogue +38elements +Guangcong Luo +David M. Lee +tripu +Pat Finnigan +Eugene Tiutiunnyk +Aaron Brady +Charles Merriam +Kevin Partington +Lane Kelly +Cube +yehiyam +Jon Surrell +现充 +Ahmad Bamieh +Capacitor Set +Anthony +Can Oztokmak +ImgBot <31427850+ImgBotApp@users.noreply.github.com> +Thomas Broadley +FND +Dina Berry +Marais Rossouw +Andrew Krawchyk <903716+akrawchyk@users.noreply.github.com> +Ted Yavuzkurt +Daniel Ruf +Harry Wolff +Valeri Karpov +Silvio Massari +Joseph Lin +Honza Javorek +Harry Sarson +Anish Karandikar +Victor +Emanuele +Thomas Vantuycom +Alex Bainter +Jerry Muzsik +Nicolas Girault +dfberry +DavNej +Paul Roebuck +Tim Harshman +Charles Samborski +Tobias Mollstam +Ben Glassman +Mark Owsiak +fargies +Marc Udoff +gizemkeser <44727928+gizemkeser@users.noreply.github.com> +Fin Chen +Brittany Moore +Fábio Santos +Jayasankar +Juerg B <44573692+juergba@users.noreply.github.com> +Svetlana <39729453+Lana-Light@users.noreply.github.com> +Martijn Cuppens +Anna Henningsen +Andreas Lind +Chen Yangjian <252317+cyjake@users.noreply.github.com> +Corey Farrell +Wanseob Lim +Szauka <33459309+Szauka@users.noreply.github.com> +Brian Tomlin +Sylvain +Adam Ginzberg +XhmikosR +Gastón I. Silva +Andrew Bradley +Andrew Bradley +DavidLi119 +James D. Rogers +Carl-Erik Kopseng +juergba +Sylvester Keil +Bjorn Stromberg +Stephen Hess +toyjhlee +Piotr Kuczynski +Thomas Scholtes +Brian Lagerman <49239617+brian-lagerman@users.noreply.github.com> +Pascal +Gabe Gorelick +Daniel Ruf <827205+DanielRuf@users.noreply.github.com> +Mario Díaz Ceñera <46492068+MarioDiaz98@users.noreply.github.com> +Oliver Salzburg + +# Generated by scripts/update-authors.js diff --git a/package-lock.json b/package-lock.json index 0c7d9888c5..01eed437ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -279,51 +279,6 @@ } } }, - "@mocha/contributors": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@mocha/contributors/-/contributors-1.0.4.tgz", - "integrity": "sha512-bdOaBixwP7948K7xlqSXnelbsLDAnCX1h4qSRYfbRADMg+UtNJE+ggpzTdBVpdLNxJLkgnRM5KJ9MXiLoMib3Q==", - "dev": true, - "requires": { - "log-symbols": "^2.2.0", - "parse-author": "^2.0.0", - "pkg-up": "^2.0.0", - "write-pkg": "^3.2.0", - "yargs": "^12.0.5" - }, - "dependencies": { - "yargs": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz", - "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==", - "dev": true, - "requires": { - "cliui": "^4.0.0", - "decamelize": "^1.2.0", - "find-up": "^3.0.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1 || ^4.0.0", - "yargs-parser": "^11.1.1" - } - }, - "yargs-parser": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz", - "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, "@mocha/docdash": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@mocha/docdash/-/docdash-2.1.2.tgz", @@ -1292,12 +1247,6 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true }, - "author-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz", - "integrity": "sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA=", - "dev": true - }, "autolinker": { "version": "0.28.1", "resolved": "https://registry.npmjs.org/autolinker/-/autolinker-0.28.1.tgz", @@ -3149,28 +3098,6 @@ "tiny-emitter": "^2.0.0" } }, - "cliui": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", - "dev": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - }, - "dependencies": { - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, "clone": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", @@ -4355,12 +4282,6 @@ "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", "dev": true }, - "detect-indent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", - "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", - "dev": true - }, "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", @@ -8485,12 +8406,6 @@ } } }, - "invert-kv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", - "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", - "dev": true - }, "ip-regex": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", @@ -9680,15 +9595,6 @@ "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", "dev": true }, - "lcid": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", - "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", - "dev": true, - "requires": { - "invert-kv": "^2.0.0" - } - }, "lcov-parse": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", @@ -10514,15 +10420,6 @@ "integrity": "sha1-9M+EV7km7u4qg7FzUBQUvHbrlZc=", "dev": true }, - "map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dev": true, - "requires": { - "p-defer": "^1.0.0" - } - }, "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -10917,17 +10814,6 @@ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", "dev": true }, - "mem": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-4.1.0.tgz", - "integrity": "sha512-I5u6Q1x7wxO0kdOpYBB28xueHADYps5uty/zg936CiG8NTe5sJL8EjrCuLneuDW3PlMdZBGDIn8BirEVdovZvg==", - "dev": true, - "requires": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^1.0.0", - "p-is-promise": "^2.0.0" - } - }, "memoizeasync": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/memoizeasync/-/memoizeasync-1.1.0.tgz", @@ -12402,17 +12288,6 @@ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true }, - "os-locale": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", - "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", - "dev": true, - "requires": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" - } - }, "os-shim": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/os-shim/-/os-shim-0.1.3.tgz", @@ -12450,12 +12325,6 @@ "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==", "dev": true }, - "p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "dev": true - }, "p-event": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-event/-/p-event-1.3.0.tgz", @@ -12471,12 +12340,6 @@ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true }, - "p-is-promise": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.0.0.tgz", - "integrity": "sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg==", - "dev": true - }, "p-limit": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz", @@ -12607,15 +12470,6 @@ "safe-buffer": "^5.1.1" } }, - "parse-author": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-author/-/parse-author-2.0.0.tgz", - "integrity": "sha1-00YL8d3Q367tQtp1QkLmX7aEqB8=", - "dev": true, - "requires": { - "author-regex": "^1.0.0" - } - }, "parse-entities": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.1.tgz", @@ -13002,60 +12856,6 @@ } } }, - "pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", - "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", - "dev": true, - "requires": { - "find-up": "^2.1.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - } - } - }, "please-upgrade-node": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", @@ -18172,38 +17972,6 @@ "integrity": "sha1-wlLXx8WxtAKJdjDjRTx7/mkNnKE=", "dev": true }, - "write-json-file": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz", - "integrity": "sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8=", - "dev": true, - "requires": { - "detect-indent": "^5.0.0", - "graceful-fs": "^4.1.2", - "make-dir": "^1.0.0", - "pify": "^3.0.0", - "sort-keys": "^2.0.0", - "write-file-atomic": "^2.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } - } - }, - "write-pkg": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-3.2.0.tgz", - "integrity": "sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==", - "dev": true, - "requires": { - "sort-keys": "^2.0.0", - "write-json-file": "^2.2.0" - } - }, "ws": { "version": "6.1.4", "resolved": "https://registry.npmjs.org/ws/-/ws-6.1.4.tgz", diff --git a/package.json b/package.json index 7dbe7a453d..045314b857 100644 --- a/package.json +++ b/package.json @@ -14,501 +14,6 @@ "url": "https://opencollective.com/mochajs" }, "author": "TJ Holowaychuk ", - "contributors": [ - "38elements ", - "Aaron Brady ", - "Aaron Hamid ", - "Aaron Heckmann ", - "Aaron Krause ", - "Aaron Petcoff ", - "abrkn ", - "Adam Crabtree ", - "Adam Ginzberg ", - "Adam Gruber ", - "Adrian Ludwig ", - "Ahmad Bamieh ", - "airportyh ", - "Ajay Kodali ", - "Al Scott ", - "Alex Bainter ", - "Alexander Early ", - "Alexander Shepelin ", - "Alhadis ", - "amsul ", - "Anders Olsen Sandvik ", - "Andreas Brekken ", - "Andreas Lind ", - "Andreas Lind Petersen ", - "Andrew Bradley ", - "Andrew Bradley ", - "Andrew Krawchyk <903716+akrawchyk@users.noreply.github.com>", - "Andrew Nesbitt ", - "Andrey Popp <8mayday@gmail.com>", - "Andrii Shumada ", - "andy matthews ", - "Angelica Valenta ", - "Anis Safine ", - "Anish Karandikar ", - "Anna Henningsen ", - "Anthony ", - "Anton ", - "anton ", - "APerson ", - "Arian Stolwijk ", - "Ariel Mashraki ", - "Arnaud Brousseau ", - "Artem Govorov ", - "Atsuya Takagi ", - "Attila Domokos ", - "Austin Birch ", - "Avi Vahl ", - "badunk ", - "Bamieh ", - "Ben Bradley ", - "Ben Glassman ", - "Ben Harris ", - "Ben Hutchison ", - "Ben Lindsey ", - "Ben Noordhuis ", - "Ben Vinegar ", - "Benjamin Eidelman ", - "Benjie Gillam ", - "Benoit Larroque ", - "Benoît Zugmeyer ", - "Benson Trent ", - "Berker Peksag ", - "berni ", - "Bjørge Næss ", - "Bjorn Stromberg ", - "Brendan Nee ", - "Brian Beck ", - "Brian Lagerman <49239617+brian-lagerman@users.noreply.github.com>", - "Brian Lalor ", - "Brian M. Carlson ", - "Brian Moore ", - "Brian Tomlin ", - "Brittany Moore ", - "Bryan Donovan ", - "Buck Doyle ", - "C. Scott Ananian ", - "Callum Macrae ", - "Can Oztokmak ", - "Capacitor Set ", - "Carl-Erik Kopseng ", - "Casey Foster ", - "Charles Lowell ", - "Charles Merriam ", - "Charles Samborski ", - "Charlie Rudolph ", - "Chen Yangjian <252317+cyjake@users.noreply.github.com>", - "Chris ", - "Chris Buckley ", - "Chris Lamb ", - "Christian ", - "Christian Holm ", - "Christoffer Hallas ", - "Christoph Neuroth ", - "Christopher Hiller ", - "ChrisWren ", - "claudyus ", - "Connor Dunn ", - "Corey Butler ", - "Corey Farrell ", - "Cory Thomas ", - "Craig Taub ", - "Cube ", - "Daniel Ruf <827205+DanielRuf@users.noreply.github.com>", - "Daniel Ruf ", - "Daniel St. Jules ", - "Daniel Stockman ", - "Darryl Pogue ", - "Dave McKenna ", - "David da Silva Contín ", - "David Henderson ", - "David M. Lee ", - "David Neubauer ", - "DavidLi119 ", - "DavNej ", - "Denis Bardadym ", - "Devin Weaver ", - "dfberry ", - "Di Wu ", - "Dina Berry ", - "Diogo Monteiro ", - "Dmitrii Sorin ", - "Dmitriy Simushev ", - "Dmitry Shirokov ", - "Dmitry Sorin ", - "Domenic Denicola ", - "Dominic Barnes ", - "Dominique Quatravaux ", - "Douglas Christopher Wilson ", - "Duncan Beevers ", - "eiji.ienaga ", - "elergy ", - "Eli Skeggs ", - "ELLIOTTCABLE ", - "Emanuele ", - "Enric Pallerols ", - "Erik Eng ", - "Eugene Tiutiunnyk ", - "EunChan Park ", - "Fabio M. Costa ", - "Fábio Santos ", - "Fagner Brack ", - "fargies ", - "FARKAS Máté ", - "fcrisci ", - "Fede Ramirez ", - "Fedor Indutny ", - "fengmk2 ", - "Fin Chen ", - "Florian Margaine ", - "FND ", - "fool2fish ", - "Forbes Lindesay ", - "Frank Leon Rose ", - "Frederico Silva ", - "Fredrik Enestad ", - "Fredrik Lindin ", - "Fumiaki MATSUSHIMA ", - "Gabe Gorelick ", - "Gabriel Silk ", - "Gareth Aye ", - "Gareth Murphy ", - "Gastón I. Silva ", - "Gavin Mogan ", - "gaye ", - "gigadude ", - "Giovanni Bassi ", - "gizemkeser <44727928+gizemkeser@users.noreply.github.com>", - "Glen Huang ", - "Glen Mailer ", - "grasGendarme ", - "Greg Perkins ", - "Guangcong Luo ", - "Guillermo Rauch ", - "Guy Arye ", - "Gyandeep Singh ", - "Harish ", - "Harry Brundage ", - "Harry Sarson ", - "Harry Wolff ", - "Herman Junge ", - "hokaccha ", - "Honza Javorek ", - "Hugo Giraudel ", - "Hugo Kim ", - "HYUNSANG HAN ", - "HyunSangHan ", - "Ian Storm Taylor ", - "Ian W. Remmel ", - "Ian Young ", - "Ian Zamojc ", - "Igwe Kalu ", - "ImgBot <31427850+ImgBotApp@users.noreply.github.com>", - "inxorable ", - "Ivan ", - "Jaakko Salonen ", - "Jacob Wejendorp ", - "Jake Craige ", - "Jake Marsh ", - "Jakob Krigovsky ", - "Jakub Nešetřil ", - "James Bowes ", - "James Carr ", - "James D. Rogers ", - "James G. Kim ", - "James Lal ", - "James Nylen ", - "Jan Kopriva ", - "Jan Krems ", - "Jan Lehnardt ", - "Jan-Philip Gehrcke ", - "Jason Barry ", - "Jason Lai ", - "Jason Leyba ", - "Javier Aranda ", - "Jayasankar ", - "Jean Ponchon ", - "Jeff Kunkle ", - "Jeff Schilling ", - "JeongHoon Byun (aka Outsider) ", - "Jérémie Astori ", - "Jeremy Martin ", - "Jerry Muzsik ", - "Jesse Dailey ", - "jimenglish81 ", - "Jimmy Cuadra ", - "Jo Liss ", - "Joao Moreno ", - "Joel Kemp ", - "Joey Cozza ", - "John Doty ", - "John Firebaugh ", - "John Reeves ", - "Johnathon Sanders ", - "Jon Surrell ", - "Jonas Dohse ", - "Jonas Westerlund ", - "Jonathan Creamer ", - "Jonathan Delgado ", - "Jonathan Kim ", - "Jonathan Ong ", - "Jonathan Park ", - "Jonathan Rajavuori ", - "Jordan Sexton ", - "Joseph Lin ", - "Josh Eversmann ", - "Josh Lory ", - "Josh Soref ", - "Joshua Appelman ", - "Joshua Krall ", - "JP Bochi ", - "jsdevel ", - "Juerg B <44573692+juergba@users.noreply.github.com>", - "juergba ", - "Julien Wajsberg ", - "Jupp Müller ", - "Jussi Virtanen ", - "Justin DuJardin ", - "Juzer Ali ", - "Katie Gengler ", - "kavun ", - "Kazuhito Hokamura ", - "Keith Cirkel ", - "Kelong Wang ", - "Kent C. Dodds ", - "Kevin Burke ", - "Kevin Conway ", - "Kevin Kirsche ", - "Kevin Partington ", - "Kevin Wang ", - "Kirill Korolyov ", - "klaemo ", - "Koen Punt ", - "Konstantin Käfer ", - "Kris Rasmussen ", - "Kunal Nagpal ", - "Kyle Fuller ", - "Kyle Mitchell ", - "KyoungWan ", - "lakmeer ", - "Lane Kelly ", - "László Bácsi ", - "Laurence Rowe ", - "Liam Newman ", - "Lindsay-Needs-Sleep <51773923+Lindsay-Needs-Sleep@users.noreply.github.com>", - "Linus Unnebäck ", - "lodr ", - "Long Ho ", - "Maciej Małecki ", - "Mal Graty ", - "Marais Rossouw ", - "Marc Kuo ", - "Marc Udoff ", - "Marcello Bastea-Forte ", - "Mario Díaz Ceñera <46492068+MarioDiaz98@users.noreply.github.com>", - "Mark Banner ", - "Mark Owsiak ", - "Markus Tacker ", - "Martijn Cuppens ", - "Martin Marko ", - "Mathieu Desvé ", - "Matija Marohnić ", - "Matt Bierner ", - "Matt Giles ", - "Matt Robenolt ", - "Matt Smith ", - "Matthew Shanley ", - "Mattias Tidlund ", - "Max Goodman ", - "Maximilian Antoni ", - "Merrick Christensen ", - "Mia ", - "Michael Demmer ", - "Michael Jackson ", - "Michael Olson ", - "Michael Riley ", - "Michael Schoonmaker ", - "Michal Charemza ", - "Michiel de Jong ", - "Mick Brooks ", - "Mike Pennisi ", - "Mislav Marohnić ", - "monowerker ", - "Moshe Kolodny ", - "mrShturman ", - "Nathan Alderson ", - "Nathan Black ", - "Nathan Bowser ", - "Nathan Houle ", - "Nathan Rajlich ", - "nexdrew ", - "Nick Fitzgerald ", - "Nicolas Girault ", - "Nicolo Taddei ", - "Nik Nyby ", - "Nikolaos Georgiou ", - "nishigori ", - "Noshir Patel ", - "not-an-aardvark ", - "OlegTsyba ", - "Oliver Salzburg ", - "olsonpm ", - "omardelarosa ", - "Oscar Godson ", - "Outsider ", - "oveddan ", - "P. Roebuck ", - "Panu Horsmalahti ", - "Park Seong-beom ", - "Parker Moore ", - "Pascal ", - "Pat Finnigan ", - "Paul Armstrong ", - "Paul Miller ", - "Paul Roebuck ", - "Pavel Zubkou ", - "Pete Hawkins ", - "Peter Müller ", - "Peter Rust ", - "Peter Schmidt ", - "Phil Sung ", - "Philip M. White ", - "Piotr Kuczynski ", - "PoppinL ", - "Poprádi Árpád ", - "Prayag Verma ", - "qiuzuhui ", - "Quang Van ", - "Quanlong He ", - "R56 ", - "Raynos ", - "Refael Ackermann ", - "Rens Groothuijsen ", - "Rich Trott ", - "Richard Dingwall ", - "Richard Knop ", - "Rico Sta. Cruz ", - "rmacklin ", - "Rob Loach ", - "Rob Raux ", - "Rob Wu ", - "Robert Kieffer ", - "Robert Rossmann ", - "Romain Prieto ", - "Roman Neuhauser ", - "Roman Shtylman ", - "Ross Warren ", - "rotemdan ", - "Russ Bradberry ", - "Russell Munson ", - "Rustem Mustafin ", - "Ryan Hubbard ", - "Ryan Shaw ", - "Ryan Tablada ", - "Ryunosuke SATO ", - "ryym ", - "Saerom Bang ", - "Salehen Shovon Rahman ", - "Sam Mussell ", - "samuel goldszmidt ", - "sarehag ", - "Sasha Koss ", - "Scott Kao ", - "Scott Santucci ", - "ScottFreeCode ", - "Sean Lang ", - "Sebastian Van Sande ", - "sebv ", - "Seiya Konno ", - "Sergey Simonchik ", - "Sergio Santoro ", - "Shaine Hatch ", - "Shawn Krisman ", - "SheetJSDev ", - "Shinnosuke Watanabe ", - "silentcloud ", - "Silvio Massari ", - "Simon Gaeremynck ", - "Simon Goumaz ", - "simov ", - "Sindre Sorhus ", - "Slobodan Mišković ", - "slyg ", - "Soel ", - "solodynamo ", - "Sona Lee ", - "Soobin Bak ", - "Sorin Iclanzan ", - "Standa Opichal ", - "startswithaj ", - "Stephen Hess ", - "Stephen Mathieson ", - "Steve Mason ", - "Stewart Taylor ", - "Stone ", - "Sulabh Bista ", - "Sune Simonsen ", - "Svetlana <39729453+Lana-Light@users.noreply.github.com>", - "Sylvain ", - "Sylvester Keil ", - "Szauka <33459309+Szauka@users.noreply.github.com>", - "Tapiwa Kelvin ", - "Ted Yavuzkurt ", - "Teddy Zeenny ", - "tgautier@yahoo.com ", - "Thedark1337 ", - "Thomas Broadley ", - "Thomas Grainger ", - "Thomas Scholtes ", - "Thomas Vantuycom ", - "Tim Ehat ", - "Tim Harshman ", - "Timo Tijhof ", - "Timothy Gu ", - "Tingan Ho ", - "tmont ", - "Tobias Bieniek ", - "Tobias Mollstam ", - "Todd Agulnick ", - "Tom Coquereau ", - "Tom Hughes ", - "Tomer Eskenazi ", - "toyjhlee ", - "traleig1 ", - "Travis Jeffery ", - "tripu ", - "Tyson Tate ", - "Vadim Nikitin ", - "Valentin Agachi ", - "Valeri Karpov ", - "Victor ", - "Victor Costan ", - "Ville Saukkonen ", - "Vivek Ganesan ", - "vlad ", - "Vlad Magdalin ", - "Volker Buzek ", - "Wanseob Lim ", - "Wil Moore III ", - "Will Langstroth ", - "wsw ", - "Xavier Antoviaque ", - "Xavier Damman ", - "XhmikosR ", - "XhmikosR ", - "Yanis Wang ", - "yehiyam ", - "Yoshiya Hinosawa ", - "Yuest Wang ", - "yuitest ", - "zhiyelee ", - "Zirak ", - "Zsolt Takács ", - "现充 " - ], "license": "MIT", "repository": { "type": "git", @@ -565,7 +70,6 @@ }, "devDependencies": { "@11ty/eleventy": "^0.8.3", - "@mocha/contributors": "^1.0.4", "@mocha/docdash": "^2.1.2", "acorn": "^7.0.0", "assetgraph-builder": "^6.10.1", @@ -655,13 +159,6 @@ "endOfLine": "auto" }, "gitter": "https://gitter.im/mochajs/mocha", - "@mocha/contributors": { - "exclude": [ - "greenkeeperio-bot ", - "greenkeeper[bot] ", - "TJ Holowaychuk " - ] - }, "husky": { "hooks": { "pre-commit": "lint-staged" diff --git a/scripts/update-authors.js b/scripts/update-authors.js new file mode 100755 index 0000000000..4ec0e03137 --- /dev/null +++ b/scripts/update-authors.js @@ -0,0 +1,62 @@ +#!/usr/bin/env node +// original comes from https://github.com/nodejs/node/blob/master/tools/update-authors.js + +// Usage: tools/update-author.js [--dry] +// Passing --dry will redirect output to stdout rather than write to 'AUTHORS'. +'use strict'; +const {spawn} = require('child_process'); +const fs = require('fs'); +const readline = require('readline'); + +const log = spawn( + 'git', + // Inspect author name/email and body. + ['log', '--reverse', '--format=Author: %aN <%aE>\n%b'], + { + stdio: ['inherit', 'pipe', 'inherit'] + } +); +const rl = readline.createInterface({input: log.stdout}); + +let output; +if (process.argv.includes('--dry')) { + output = process.stdout; +} else { + output = fs.createWriteStream('AUTHORS'); +} + +output.write('# Authors ordered by first contribution.\n\n'); + +const seen = new Set(); + +const excludeEmails = [ + '', + '' +]; + +// Support regular git author metadata, as well as `Author:` and +// `Co-authored-by:` in the message body. Both have been used in the past +// to indicate multiple authors per commit, with the latter standardized +// by GitHub now. +const authorRe = new RegExp( + '(^Author:|^Co-authored-by:)\\s+(?[^<]+)\\s+(?<[^>]+>)', + 'i' +); + +rl.on('line', line => { + const match = line.match(authorRe); + if (!match) return; + + let {author, email} = match.groups; + + if (seen.has(email) || excludeEmails.includes(email)) { + return; + } + + seen.add(email); + output.write(`${author} ${email}\n`); +}); + +rl.on('close', () => { + output.end('\n# Generated by scripts/update-authors.js\n'); +}); From 4c8bc1803546539baa538c8a18111f7ddad8b9ac Mon Sep 17 00:00:00 2001 From: Outsider Date: Sun, 13 Oct 2019 18:27:18 +0900 Subject: [PATCH 2/5] update AUTHORS when run version Signed-off-by: Outsider --- package-scripts.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-scripts.js b/package-scripts.js index 0e414e1542..a074f54ab9 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -307,9 +307,9 @@ module.exports = { description: 'Build API docs' } }, - updateContributors: { - script: 'contributors', - description: 'Update list of contributors in package.json' + updateAuthors: { + script: 'scripts/update-authors.js', + description: 'Update list of AUTHORS' }, linkifyChangelog: { script: 'node scripts/linkify-changelog.js', @@ -317,7 +317,7 @@ module.exports = { }, version: { script: - 'nps updateContributors && nps linkifyChangelog && git add -A ./package.json ./CHANGELOG.md', + 'nps updateAuthors && nps linkifyChangelog && git add -A ./AUTHORS ./CHANGELOG.md', description: 'Tasks to perform when `npm version` is run' } } From ba0818ece4a423deafec85f9588283f8694059a4 Mon Sep 17 00:00:00 2001 From: Outsider Date: Fri, 18 Oct 2019 22:36:52 +0900 Subject: [PATCH 3/5] update release guide for AUTHORS Signed-off-by: Outsider --- MAINTAINERS.md | 150 ++++++++++++++++++++++++------------------------- 1 file changed, 75 insertions(+), 75 deletions(-) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 31d5e40ce9..f155418edd 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -39,13 +39,13 @@ ## Introduction -Hi stranger! We've written this document for: +Hi stranger! We've written this document for: 1. Active maintainers of Mocha 1. Prospective maintainers of Mocha 1. Anyone curious about how Mocha's maintainers maintain Mocha -The purpose of this document is to *describe our processes*. We want to avoid conflicts and confusion around "unwritten rules". In our opinion, the most straightforward way to address this is to *write them down*. This *also* happens to be the most straightforward way to change them! +The purpose of this document is to _describe our processes_. We want to avoid conflicts and confusion around "unwritten rules". In our opinion, the most straightforward way to address this is to _write them down_. This _also_ happens to be the most straightforward way to change them! To assist in eliminating ambiguity, we will define some terms. @@ -55,7 +55,7 @@ Anyone involved with Mocha will fall into one of these buckets: **user**, **cont ### User -A "user" for the purpose of this document is any *individual developer* who consumes Mocha to write and/or execute tests. A user interacts with contributors. A user interacts with the software, web site, documentation, etc., which these contributors provide. +A "user" for the purpose of this document is any _individual developer_ who consumes Mocha to write and/or execute tests. A user interacts with contributors. A user interacts with the software, web site, documentation, etc., which these contributors provide. As a user, you're expected to follow the [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) when interacting in Mocha's "official" social spaces. This includes: @@ -70,7 +70,7 @@ This is the most important thing: **You don't have to write code to be a contributor!** -A "contributor" is any individual who has *given back* in some way to the project and its community. Contributions include (but are not limited to): +A "contributor" is any individual who has _given back_ in some way to the project and its community. Contributions include (but are not limited to): 1. Reporting bugs which follow the reporting guidelines 1. Suggesting and debating enhancements that have wide applicability @@ -84,11 +84,11 @@ A "contributor" is any individual who has *given back* in some way to the projec 1. Recruiting more contributors! Don't spam. 1. Researching the user base, getting feedback, etc. Don't spam. -A contributor is *usually* a user as well, but this isn't a hard-and-fast rule. A contributor is also expected to adhere to the [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) as a user would. +A contributor is _usually_ a user as well, but this isn't a hard-and-fast rule. A contributor is also expected to adhere to the [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) as a user would. -As you can see, it's wide open! Think of it another way: if you are *adding value to Mocha*, then you are a contributor. +As you can see, it's wide open! Think of it another way: if you are _adding value to Mocha_, then you are a contributor. -> Due to the nature of GitHub, it's a challenge to recognize those who've made contributions *elsewhere* on the web, or even contributions of the "non-code" variety. If you know of any great contributions which have gone unnoticed, please bring them to the maintainers' attention! +> Due to the nature of GitHub, it's a challenge to recognize those who've made contributions _elsewhere_ on the web, or even contributions of the "non-code" variety. If you know of any great contributions which have gone unnoticed, please bring them to the maintainers' attention! #### A Note About Donations @@ -98,11 +98,11 @@ We love our backers and sponsors! 💕 ### Maintainer -A maintainer has certain "rights" (or "permissions") to the Mocha project and other projects under the `mochajs` organization. There's no way to dance around this: with these rights come increased responsibilities. +A maintainer has certain "rights" (or "permissions") to the Mocha project and other projects under the `mochajs` organization. There's no way to dance around this: with these rights come increased responsibilities. -However, **there is no expectation of a standard of technical ability** to be a maintainer of Mocha. This doesn't imply a lack of technical oversight--every pull request will eventually be reviewed. +However, **there is no expectation of a standard of technical ability** to be a maintainer of Mocha. This doesn't imply a lack of technical oversight--every pull request will eventually be reviewed. -**If you think you aren't experienced enough to maintain a project like Mocha, you are incorrect.** The only requirements are the above responsibilities and a desire to help the project. It bears repeating: +**If you think you aren't experienced enough to maintain a project like Mocha, you are incorrect.** The only requirements are the above responsibilities and a desire to help the project. It bears repeating: **You don't have to write code to be a maintainer!** @@ -110,30 +110,30 @@ However, **there is no expectation of a standard of technical ability** to be a #### The Responsibilities of a Maintainer -As a maintainer, you are expected to *not just* "follow" the code of conduct, but embody its values. Your public behavior, whether in the physical or virtual world, reflects upon the project and other maintainers. +As a maintainer, you are expected to _not just_ "follow" the code of conduct, but embody its values. Your public behavior, whether in the physical or virtual world, reflects upon the project and other maintainers. -> If you don't understand the code of conduct, or why it exists, it is *your responsibility* to educate yourself. +> If you don't understand the code of conduct, or why it exists, it is _your responsibility_ to educate yourself. > This does not imply the CoC is immutable. -Furthermore, a maintainer is a contributor who **contributes regularly**, or expresses a *desire to do so.* That could be every day--but it might be once a week, or even once a month. Your boss doesn't work here; contribute as often as you wish. We are all people with Real Lives, and for many of us, contributing to OSS is just a hobby! +Furthermore, a maintainer is a contributor who **contributes regularly**, or expresses a _desire to do so._ That could be every day--but it might be once a week, or even once a month. Your boss doesn't work here; contribute as often as you wish. We are all people with Real Lives, and for many of us, contributing to OSS is just a hobby! -Finally, a maintainer must help define what makes Mocha "Mocha". At minimum, a maintainer must *understand* the current definition (if a maintainer is not interested in decision-making). Some of these questions include: +Finally, a maintainer must help define what makes Mocha "Mocha". At minimum, a maintainer must _understand_ the current definition (if a maintainer is not interested in decision-making). Some of these questions include: - What's the scope of Mocha? - Where should we focus efforts? - What's urgent, what can wait? - What can we break? What's off-limits? -- What user feedback is valuable? What isn't? +- What user feedback is valuable? What isn't? -As maintainers, *we work together* to learn about the nature of these questions. If we try hard enough, we even come to some answers! +As maintainers, _we work together_ to learn about the nature of these questions. If we try hard enough, we even come to some answers! -A maintainer *must* also have 2FA enabled on their GitHub account. +A maintainer _must_ also have 2FA enabled on their GitHub account. > If you think that you aren't familiar with mocha's internals enough to contribute, please watch [This walkthrough video!](https://youtu.be/zLayCLcIno0) #### The Rights of a Maintainer -You may choose to do zero or more of these *at their discretion*: +You may choose to do zero or more of these _at their discretion_: - Merge pull requests - Modify issues (closing, adding labels, assigning them other maintainers, etc.) @@ -144,7 +144,7 @@ You may choose to do zero or more of these *at their discretion*: - Add new maintainers to the team - Tag releases and publish Mocha to npm -> While maintainers have the ability to commit directly to the `master` branch, *this is to be avoided* if any other maintainer could reasonably take issue with the change, or the change affects Mocha's API or output. For example, a spelling correction in `CHANGELOG.md` may not require a pull request. A change to a reporter's output most certainly would! Maintainers are trusted to use their best judgement; if unsure, err on the side of caution. +> While maintainers have the ability to commit directly to the `master` branch, _this is to be avoided_ if any other maintainer could reasonably take issue with the change, or the change affects Mocha's API or output. For example, a spelling correction in `CHANGELOG.md` may not require a pull request. A change to a reporter's output most certainly would! Maintainers are trusted to use their best judgement; if unsure, err on the side of caution. #### About "Owners" @@ -155,20 +155,20 @@ Some maintainers will have full admin rights to the [mochajs org](https://github ## Mocha's Decision-Making Process -Mocha follows a [consensus-seeking decision-making](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making) process. In other words, all maintainers attempt to come to agreement. If that fails, we decide by a simple vote. +Mocha follows a [consensus-seeking decision-making](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making) process. In other words, all maintainers attempt to come to agreement. If that fails, we decide by a simple vote. -Active maintainers will make an effort to solicit feedback from others before making important or potentially controversial decisions. Given the varying geographical distribution and availability of the maintenance team, we resolve to do the best we can to solicit feedback. +Active maintainers will make an effort to solicit feedback from others before making important or potentially controversial decisions. Given the varying geographical distribution and availability of the maintenance team, we resolve to do the best we can to solicit feedback. -In other words, to have your opinion heard, participate regularly. The rest of the team won't wait on feedback that isn't necessarily forthcoming! +In other words, to have your opinion heard, participate regularly. The rest of the team won't wait on feedback that isn't necessarily forthcoming! ## Communication -Maintainers will mainly gather in [the mochajs/contributors channel](https://gitter.im/mochajs/contributors). This is a *public* channel, and *anyone* can join. +Maintainers will mainly gather in [the mochajs/contributors channel](https://gitter.im/mochajs/contributors). This is a _public_ channel, and _anyone_ can join. Videoconference (or audio) calls may happen on a regular or irregular basis, as schedules allow. This is mainly because we have Real Lives and time zones suck. ## Working with Issues & Pull Requests -All new issues will need to be triaged, and pull requests must be examined. Maintainers must understand [Semantic Versioning](http://semver.org) ("SemVer"), as Mocha follows it strictly. +All new issues will need to be triaged, and pull requests must be examined. Maintainers must understand [Semantic Versioning](http://semver.org) ("SemVer"), as Mocha follows it strictly. > If you see an issue or PR that could use some labels, please add them! @@ -180,24 +180,24 @@ The TL;DR of Semantic Versioning is: - MINOR version when you add functionality in a backwards-compatible manner, and - PATCH version when you make backwards-compatible bug fixes. -Pull requests *must* have one of these three (3) labels: +Pull requests _must_ have one of these three (3) labels: - `semver-patch` for backwards-compatible bug fixes, documentation, or anything which does not affect a "production" (`npm install mocha`) installation of Mocha - `semver-minor` for backwards-compatible new features or usability/interface enhancements - `semver-major` for backwards-incompatible ("breaking") changes to the API -A PR which introduces a breaking change is considered to be `semver-major`, *regardless* of whether it's a bug fix, feature, or whatever. +A PR which introduces a breaking change is considered to be `semver-major`, _regardless_ of whether it's a bug fix, feature, or whatever. For the purposes of the above definitions, Mocha has some unique considerations, and includes the following in its definition of "API": -1. Mocha's *documented*, programmatic interface which *is not explicitly tagged with `@private`* +1. Mocha's _documented_, programmatic interface which _is not explicitly tagged with `@private`_ 1. Mocha's machine-readable reporter output 1. Mocha's default settings 1. Mocha's command-line options 1. The environments which Mocha supports; this includes: - 1. Browser versions - 1. Node.js versions - 1. Compatibility with popular module loaders (e.g., AMD) + 1. Browser versions + 1. Node.js versions + 1. Compatibility with popular module loaders (e.g., AMD) **Err on the side of the user; breaking changes to private APIs will be `semver-major`, if and only if they are known to be consumed by actively developed project(s).** @@ -213,18 +213,18 @@ Examples of a breaking changes might be: ### Questions -Support questions should be answered if possible, but the user should be directed to the chat room, StackOverflow, or Google Groups for further help, *if* it is indeed a Mocha-related issue. +Support questions should be answered if possible, but the user should be directed to the chat room, StackOverflow, or Google Groups for further help, _if_ it is indeed a Mocha-related issue. -If it's *not* a Mocha problem (people tend not to believe this), you may want to show a counter-example. It's often helpful to direct the issue author to the responsible project, if you can determine what that is. +If it's _not_ a Mocha problem (people tend not to believe this), you may want to show a counter-example. It's often helpful to direct the issue author to the responsible project, if you can determine what that is. -- `faq`: Issues which are *repeatedly* asked support questions or misunderstandings. This may also apply to questions which receive a lot of 👍's +- `faq`: Issues which are _repeatedly_ asked support questions or misunderstandings. This may also apply to questions which receive a lot of 👍's - `question`: Add this label if it's just a support question ### Bugs - `confirmed-bug`: A confirmed bug - `unconfirmed-bug`: A maintainer has not yet or cannot reproduce; typically `needs-feedback` follows (see "Feedback & Follow-ups" below) -- `invalid`: Not a bug. Close the issue. +- `invalid`: Not a bug. Close the issue. - `wontfix`: A bug, but for Reasons, it won't get fixed. ### Features @@ -243,22 +243,22 @@ If it's *not* a Mocha problem (people tend not to believe this), you may want to ### Feedback & Follow-ups -Issues or PRs which require action or feedback from a *specific* maintainer, should have that item *assigned* to them. +Issues or PRs which require action or feedback from a _specific_ maintainer, should have that item _assigned_ to them. -- `needs-feedback`: Issues which *need feedback from the original author*. Will automatically become `stale` (see "Meta" section below) -- `needs-review`: For *pull requests only*; PRs which need a maintainer to inspect and/or merge them +- `needs-feedback`: Issues which _need feedback from the original author_. Will automatically become `stale` (see "Meta" section below) +- `needs-review`: For _pull requests only_; PRs which need a maintainer to inspect and/or merge them ### Meta -- `stale`: The "stalebot" marks things as stale and will close issues if they need feedback but haven't received any. Comment on an issue to prevent this from happening. -- `help wanted`: If it's an issue that is not a high priority for the maintenance team, use this label to solicit contributions. Note lack of `-` in this label's name. +- `stale`: The "stalebot" marks things as stale and will close issues if they need feedback but haven't received any. Comment on an issue to prevent this from happening. +- `help wanted`: If it's an issue that is not a high priority for the maintenance team, use this label to solicit contributions. Note lack of `-` in this label's name. - `good-first-issue`: Typically combined with `help wanted`; an issue that new contributors to Mocha may find straightforward. ### Closing Issues Write "closes #" or "resolves #" in a commit or PR to have the original issue closed automatically once the PR is merged. -For any issue which is a duplicate, write "duplicate of #" in a new comment, and close the issue. [Read more about marking issues as duplicates](https://help.github.com/articles/about-duplicate-issues-and-pull-requests/). +For any issue which is a duplicate, write "duplicate of #" in a new comment, and close the issue. [Read more about marking issues as duplicates](https://help.github.com/articles/about-duplicate-issues-and-pull-requests/). If the issue is a support question, and you believe it has been answered, close the issue. @@ -266,13 +266,13 @@ If the issue is not Mocha-related, and/or a bug cannot be confirmed, label it `i ## Commenting on Issues and Reviewing Pull Requests -**All maintainers should be courteous and kind.** Thank the external contributor for the pull request, even if it is not merged. If the pull request has been opened (and subsequently closed) without discussion in a corresponding issue, let them know that by creating an issue first, they could have saved wasted effort. *Clearly and objectively* explain the reasoning for rejecting any PR. +**All maintainers should be courteous and kind.** Thank the external contributor for the pull request, even if it is not merged. If the pull request has been opened (and subsequently closed) without discussion in a corresponding issue, let them know that by creating an issue first, they could have saved wasted effort. _Clearly and objectively_ explain the reasoning for rejecting any PR. -If you need more information in an issue, nicely ask the user to provide it. Remind them to use the issue/PR templates if they have not. If the user never gets around to it, the "stalebot" will close it eventually anyhow. +If you need more information in an issue, nicely ask the user to provide it. Remind them to use the issue/PR templates if they have not. If the user never gets around to it, the "stalebot" will close it eventually anyhow. ### Reviewing Code -Use GitHub's code review features. Requesting a review from another maintainer *may or may not* actually result in a review; don't wait on it. If the PR cannot move forward without input from a certain maintainer, *assign them to the PR*. +Use GitHub's code review features. Requesting a review from another maintainer _may or may not_ actually result in a review; don't wait on it. If the PR cannot move forward without input from a certain maintainer, _assign them to the PR_. ### The Part About Jerks @@ -280,18 +280,18 @@ There will be jerks. #### Rude or Entitled People -These are users who feel the Mocha project and its maintainers *owe them* time or support. This is incorrect. +These are users who feel the Mocha project and its maintainers _owe them_ time or support. This is incorrect. -However, this behavior is often indicative of someone who is "new" to open source. Many just don't know better. It is not your *responsibility* to educate them (again, you owe them nothing). +However, this behavior is often indicative of someone who is "new" to open source. Many just don't know better. It is not your _responsibility_ to educate them (again, you owe them nothing). Here are some suggestions: 1. If u mad, wait 20 minutes before writing a comment. -1. "Kill them with kindness". Explain how they are presenting themselves; maybe link to a good article or two about it. -1. Don't make it about "users vs. maintainers". Treat them like a potential future maintainer. -1. Avoid adding to the drama. You could try to reach out privately; email may be in their GitHub profile. You will likely never hear from that individual again (problem solved) +1. "Kill them with kindness". Explain how they are presenting themselves; maybe link to a good article or two about it. +1. Don't make it about "users vs. maintainers". Treat them like a potential future maintainer. +1. Avoid adding to the drama. You could try to reach out privately; email may be in their GitHub profile. You will likely never hear from that individual again (problem solved) 1. If an issue is getting out of control, lock it. -1. If someone is *repeatedly* rude and does not correct their mistakes, you may ban them from participating in the `mochajs` org. If you do not have permission to do so, contact one which does (an "owner"). +1. If someone is _repeatedly_ rude and does not correct their mistakes, you may ban them from participating in the `mochajs` org. If you do not have permission to do so, contact one which does (an "owner"). #### Code of Conduct Violations @@ -304,29 +304,29 @@ Here are some suggestions: ## Branches -`master` is the only maintained branch in `mochajs/mocha` or any of the other repos. **`master` is the only branch to which force-pushing is disallowed.** +`master` is the only maintained branch in `mochajs/mocha` or any of the other repos. **`master` is the only branch to which force-pushing is disallowed.** Maintainers may push new branches to a repo, as long as they remove them when finished (merging a PR will prompt to do so). -Please *please* ***please*** delete old or unused branches. +Please _please_ **_please_** delete old or unused branches. ## Merging PRs -GitHub has several options for how to merge a PR. Here's what we do: +GitHub has several options for how to merge a PR. Here's what we do: -1. *If a PR has multiple commits*, "Squash". -1. *If a PR has a single commit*, "Rebase". +1. _If a PR has multiple commits_, "Squash". +1. _If a PR has a single commit_, "Rebase". 1. Don't "Merge". **Upon acceptance of a PR, you must assign it a milestone.** ### Using Milestones -If you know that the PR is breaking, assign it to a new or existing milestone correlating with the next major release. For example, if Mocha's current version is v6.5.2, then this milestone would be named `v7.0.0`. +If you know that the PR is breaking, assign it to a new or existing milestone correlating with the next major release. For example, if Mocha's current version is v6.5.2, then this milestone would be named `v7.0.0`. -Likewise, if the PR is `semver-minor`, create or use a new milestone correlating to the next *minor* release, e.g., `v6.6.0`. +Likewise, if the PR is `semver-minor`, create or use a new milestone correlating to the next _minor_ release, e.g., `v6.6.0`. -If it's unclear what the next milestone will be, use or create a milestone named `next`. This milestone will be renamed to the new version at release time. +If it's unclear what the next milestone will be, use or create a milestone named `next`. This milestone will be renamed to the new version at release time. By using milestones, we can cherry-pick non-breaking changes into minor or patch releases, and keep `master` as the latest version. @@ -334,43 +334,43 @@ By using milestones, we can cherry-pick non-breaking changes into minor or patch ## Mocha's Release Process -*It's easier to release often.* +_It's easier to release often._ 1. Decide whether this is a `patch`, `minor`, or `major` release. 1. Checkout `master` in your working copy & pull. -1. Modify `CHANGELOG.md`; follow the existing conventions in that file. Use the "pull request" number, unless there isn't one. *You do not need to add Markdown links; this is done automatically.* - 1. You can omit stuff from `CHANGELOG.md` that was done by a maintainer, but would have no interest to consumers of Mocha. - 1. If the changes aren't of interest to consumers but *were not* made by a maintainer, reference them anyway. It's cool to give attribution! -1. Use `npm version` (use `npm@6+`) to bump the version; see `npm version --help` for more info. (Hint--use `-m`: e.g., `npm version patch -m 'Release v%s'`) - 1. This command will update the list of contributors (from the Git history) in `package.json`, and add GitHub links to `CHANGELOG.md`. - 1. These changes are then added to the Git "stage" and will be added to the commit. +1. Modify `CHANGELOG.md`; follow the existing conventions in that file. Use the "pull request" number, unless there isn't one. _You do not need to add Markdown links; this is done automatically._ + 1. You can omit stuff from `CHANGELOG.md` that was done by a maintainer, but would have no interest to consumers of Mocha. + 1. If the changes aren't of interest to consumers but _were not_ made by a maintainer, reference them anyway. It's cool to give attribution! +1. Use `npm version` (use `npm@6+`) to bump the version; see `npm version --help` for more info. (Hint--use `-m`: e.g., `npm version patch -m 'Release v%s'`) + 1. This command will update the list of authors (from the Git history) in `AUTHORS`, and add GitHub links to `CHANGELOG.md`. + 1. These changes are then added to the Git "stage" and will be added to the commit. 1. Push `master` to `origin` with your new tag; e.g. `git push origin master --tags` -1. Copy & paste the `CHANGELOG.md` lines to a new GitHub "release". Save release as draft. +1. Copy & paste the `CHANGELOG.md` lines to a new GitHub "release". Save release as draft. 1. Meanwhile, you can check [the build](https://travis-ci.org/mochajs/mocha) on Travis-CI and [AppVeyor](https://ci.appveyor.com/project/boneskull/mocha). 1. Once the build is green, and you're satisfied with the release notes, open your draft release on GitHub, then click "publish." -1. Back in your working copy, run `npm publish`. *If you're doing a prerelease, ensure that you use `--tag=next`.* -1. Announce the update on Twitter or just tell your dog or something. New releases will be automatically tweeted by [@b0neskull](https://twitter.com/b0neskull) via a feed subscription to Mocha's "releases" page on GitHub. +1. Back in your working copy, run `npm publish`. _If you're doing a prerelease, ensure that you use `--tag=next`._ +1. Announce the update on Twitter or just tell your dog or something. New releases will be automatically tweeted by [@b0neskull](https://twitter.com/b0neskull) via a feed subscription to Mocha's "releases" page on GitHub. In addition to above, you'll need to ensure the docs at [https://mochajs.org](https://mochajs.org) are updated: -1. *If you're doing a prerelease*, fast-forward the `next` branch to `master`, and push it. This updates [https://next.mochajs.org](https://next.mochajs.org). That's all. -1. *If this is NOT a prerelease*, fast-forward the `mochajs.org` branch to `master` and push it. This updates [https://mochajs.org](https://mochajs.org). -1. *If this is a "final" release* (the first release of a major *after* one or more prereleases) then remove the `next` tag from npm via `npm dist-tag rm next`. +1. _If you're doing a prerelease_, fast-forward the `next` branch to `master`, and push it. This updates [https://next.mochajs.org](https://next.mochajs.org). That's all. +1. _If this is NOT a prerelease_, fast-forward the `mochajs.org` branch to `master` and push it. This updates [https://mochajs.org](https://mochajs.org). +1. _If this is a "final" release_ (the first release of a major _after_ one or more prereleases) then remove the `next` tag from npm via `npm dist-tag rm next`. -*Note: there are too many steps above.* +_Note: there are too many steps above._ ## About The JS Foundation -The [JS Foundation](https://js.foundation) retains copyright of all projects underneath the [mochajs org](https://github.com/mochajs). The Foundation does not influence technical decisions nor the project roadmap. It is, however, charged with ensuring the continued vitality and sustainability of projects under its banner. +The [JS Foundation](https://js.foundation) retains copyright of all projects underneath the [mochajs org](https://github.com/mochajs). The Foundation does not influence technical decisions nor the project roadmap. It is, however, charged with ensuring the continued vitality and sustainability of projects under its banner. As a maintainer, you have access to the resources the JS Foundation provides. ## About OpenCollective -Mocha collects donations [via OpenCollective](https://opencollective.com/mochajs). As a maintainer, you may help decide how the funds are used. These decisions are made via a consensus-seeking process, much like any other decision. +Mocha collects donations [via OpenCollective](https://opencollective.com/mochajs). As a maintainer, you may help decide how the funds are used. These decisions are made via a consensus-seeking process, much like any other decision. Expense transparency is built in to OpenCollective. -* * * +--- -Questions? Ask in the [contributors' chat room](https://gitter.im/mochajs/contributors)! +Questions? Ask in the [contributors' chat room](https://gitter.im/mochajs/contributors)! From 3d36c93d3f576eaccb9c9c1a2e3434d76527681f Mon Sep 17 00:00:00 2001 From: Outsider Date: Fri, 31 Jan 2020 00:02:48 +0900 Subject: [PATCH 4/5] update authors based on 7.0.1 Signed-off-by: Outsider --- AUTHORS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/AUTHORS b/AUTHORS index 00b65a7b52..e343853b2a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -468,5 +468,23 @@ Gabe Gorelick Daniel Ruf <827205+DanielRuf@users.noreply.github.com> Mario Díaz Ceñera <46492068+MarioDiaz98@users.noreply.github.com> Oliver Salzburg +Sona Lee +Park Seong-beom +EunChan Park +Mia +Lindsay-Needs-Sleep <51773923+Lindsay-Needs-Sleep@users.noreply.github.com> +Soobin Bak +Peter Schmidt +SheetJSDev +HyunSangHan +Jan-Philip Gehrcke +Robert Kieffer +Saerom Bang +Kyle Fuller +Rens Groothuijsen +Hugo Kim +KyoungWan +Zirak +Christian Holm # Generated by scripts/update-authors.js From bf1cd2db618c32d5e86d09c685108b30132f5b4b Mon Sep 17 00:00:00 2001 From: Outsider Date: Fri, 31 Jan 2020 00:15:31 +0900 Subject: [PATCH 5/5] specify node cmd to run js script Signed-off-by: Outsider --- package-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-scripts.js b/package-scripts.js index a074f54ab9..3f9b2d0bd4 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -308,7 +308,7 @@ module.exports = { } }, updateAuthors: { - script: 'scripts/update-authors.js', + script: 'node scripts/update-authors.js', description: 'Update list of AUTHORS' }, linkifyChangelog: {