From 77ecaf2f521eab5e873d34a060fe66d5bbf4b8b6 Mon Sep 17 00:00:00 2001 From: Yoni Goldberg Date: Wed, 25 Sep 2019 20:52:58 +0300 Subject: [PATCH 01/11] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 14bdab07..9cdc4f72 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ Read in a different language: [![CN](/assets/flags/CN.png)**CN**](/README.chines
+###### Our steering committee member, Yoni Goldberg, will speak this month about Node.js practices at [Verona](https://2019.nodejsday.it), [Kharkiv](https://kharkivjs.org) and Atlanta (more details soon) + ###### Built and maintained by our [Steering Committee](#steering-committee) and [Collaborators](#collaborators) # Latest Best Practices and News From 5f40a9643266cca9dbd4d33711d39abaeec56ffd Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2019 08:43:02 +0000 Subject: [PATCH 02/11] docs: update CONTRIBUTORS.md --- CONTRIBUTORS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c54d9329..bf4cd9b7 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -116,6 +116,9 @@ Thanks goes to these wonderful people who have contributed to this repository! Eduard Kyvenko
Eduard Kyvenko

πŸ–‹ Deyvison Rocha
Deyvison Rocha

πŸ–‹ + + George Mamer
George Mamer

πŸ–‹ + From c8e489243707cf9cc3b552214fc7283a4f908f99 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2019 08:43:03 +0000 Subject: [PATCH 03/11] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 6d60fe7e..82b09a08 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -761,6 +761,15 @@ "contributions": [ "content" ] + }, + { + "login": "georgem3", + "name": "George Mamer", + "avatar_url": "https://avatars1.githubusercontent.com/u/20108934?v=4", + "profile": "http://twitter.com/georgemamer", + "contributions": [ + "content" + ] } ], "projectName": "nodebestpractices", From 2c26f7923a8ee2d005a595fbfa25cbbadd16eea2 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2019 21:19:14 +0000 Subject: [PATCH 04/11] docs: update CONTRIBUTORS.md --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index bf4cd9b7..7da72365 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -118,6 +118,7 @@ Thanks goes to these wonderful people who have contributed to this repository! George Mamer
George Mamer

πŸ–‹ + Konstantinos Leimonis
Konstantinos Leimonis

πŸ–‹ From 044818cf2a54fcf2f2796043fddd4cc8250ab698 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2019 21:19:15 +0000 Subject: [PATCH 05/11] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 82b09a08..7e27e421 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -770,6 +770,15 @@ "contributions": [ "content" ] + }, + { + "login": "leimonio", + "name": "Konstantinos Leimonis", + "avatar_url": "https://avatars0.githubusercontent.com/u/1969742?v=4", + "profile": "https://github.com/leimonio", + "contributions": [ + "content" + ] } ], "projectName": "nodebestpractices", From a4e312ad28c092ab53080b66290698dc3a7c0c82 Mon Sep 17 00:00:00 2001 From: Eduard Kyvenko Date: Thu, 10 Oct 2019 11:29:35 +0200 Subject: [PATCH 06/11] Added a bullet point on validating env vars at start-up --- sections/projectstructre/configguide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sections/projectstructre/configguide.md b/sections/projectstructre/configguide.md index 6e7b3663..df340db0 100644 --- a/sections/projectstructre/configguide.md +++ b/sections/projectstructre/configguide.md @@ -14,6 +14,8 @@ When dealing with configuration data, many things can just annoy and slow down: 4. some advanced configuration scenarios demand to inject configuration values via command line (vargs) or sync configuration info via a centralized cache like Redis so multiple servers will use the same configuration data. +5. the application should fail as fast as possible and provide the immediate feedback if the required environment variables are not present at start-up, this can be achieved by using [convict](https://www.npmjs.com/package/convict) to validate the configuration. + Some configuration libraries can provide most of these features for free, have a look at npm libraries like [rc](https://www.npmjs.com/package/rc), [nconf](https://www.npmjs.com/package/nconf) and [config](https://www.npmjs.com/package/config) which tick many of these requirements.

From ae811d303d3e5ceb01bb5cb1882a15a73975ab6d Mon Sep 17 00:00:00 2001 From: Bruno Scheufler Date: Sat, 12 Oct 2019 13:12:24 +0200 Subject: [PATCH 07/11] chore(badges): update bagdes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cdc4f72..0254f7ee 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@
- 84 items Last update: Jun 5, 2019 Updated for Node 12.14.0 LTS + 84 items Last update: Oct 12, 2019 Updated for Node 12.12.0

From 1f2458e8a7350ba17fbd1bbf0bbb0236248cf2de Mon Sep 17 00:00:00 2001 From: Yoni Goldberg Date: Mon, 14 Oct 2019 23:18:02 +0300 Subject: [PATCH 08/11] Update operations-manual.md --- .operations/operations-manual.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.operations/operations-manual.md b/.operations/operations-manual.md index e42fc53d..65daf19f 100644 --- a/.operations/operations-manual.md +++ b/.operations/operations-manual.md @@ -40,17 +40,17 @@ Each month, a maintainer on call will open an issue for maintenance work and rec | Month | Maintainer on call | |---------|--------------------| -| 10/2018 | Sagir | -| 11/2018 | Bruno | -| 12/2018 | Yoni | -| 01/2019 | Kyle | -| 02/2019 | Sagir | -| 03/2019 | Bruno | -| 04/2019 | Yoni | -| 05/2019 | Kyle | -| 06/2019 | Sagir | -| 07/2019 | Bruno | -| 09/2019 | Yoni | +| 10/2019 | Yoni | +| 11/2019 | Bruno | +| 12/2019 | Kyle | +| 01/2020 | Yoni | +| 02/2020 | Bruno | +| 03/2020 | Kyle | +| 04/2020 | Yoni | +| 05/2020 | Bruno | +| 06/2020 | Kyle | +| 07/2020 | Yoni | +| 09/2020 | Bruno |
From 17c1c05a2e2f287fc2ff40b695c0ecc42f652c0b Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2019 01:52:54 +0000 Subject: [PATCH 09/11] docs: update CONTRIBUTORS.md --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7da72365..1ab823a9 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -119,6 +119,7 @@ Thanks goes to these wonderful people who have contributed to this repository! George Mamer
George Mamer

πŸ–‹ Konstantinos Leimonis
Konstantinos Leimonis

πŸ–‹ + Oliver Lluberes
Oliver Lluberes

🌍 From 660b35059b686ffd2a32483629cd001efb6b2d39 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2019 01:52:55 +0000 Subject: [PATCH 10/11] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 7e27e421..e3708533 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -779,6 +779,15 @@ "contributions": [ "content" ] + }, + { + "login": "Zybax", + "name": "Oliver Lluberes", + "avatar_url": "https://avatars3.githubusercontent.com/u/22094453?v=4", + "profile": "https://github.com/Zybax", + "contributions": [ + "translation" + ] } ], "projectName": "nodebestpractices", From e1fb2c91f51e0dd73c333a2c13fa90250d2069a6 Mon Sep 17 00:00:00 2001 From: Alex Ivanov Date: Thu, 17 Oct 2019 08:59:39 +0300 Subject: [PATCH 11/11] Sync updates 19_10/1 --- README.russian.md | 4 +++- sections/projectstructre/configguide.russian.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.russian.md b/README.russian.md index b1b3aeed..a2e3c7ad 100644 --- a/README.russian.md +++ b/README.russian.md @@ -9,7 +9,7 @@
- 84 items Last update: Jun 5, 2019 Updated for Node 12.14.0 LTS + 84 items Last update: Oct 12, 2019 Updated for Node 12.12.0

@@ -22,6 +22,8 @@
+###### Π§Π»Π΅Π½ нашСго руководящСго ΠΊΠΎΠΌΠΈΡ‚Π΅Ρ‚Π° Π™ΠΎΠ½ΠΈ Π“ΠΎΠ»Π΄Π±Π΅Ρ€Π³ Π² этом мСсяцС расскаТСт ΠΎ ΠΏΡ€Π°ΠΊΡ‚ΠΈΠΊΠ΅ Node.js Π² [Π’Π΅Ρ€ΠΎΠ½Π΅](https://2019.nodejsday.it), [Π₯Π°Ρ€ΡŒΠΊΠΎΠ²Π΅](https://kharkivjs.org ) ΠΈ АтлантС(подробности скоро) + ###### Π‘ΠΎΠ·Π΄Π°Π½ΠΎ ΠΈ поддСрТиваСтся нашим [руководящим ΠΊΠΎΠΌΠΈΡ‚Π΅Ρ‚ΠΎΠΌ](#steering-committee) and [соавторами](#collaborators) # ПослСдниС Π»ΡƒΡ‡ΡˆΠΈΠ΅ ΠΏΡ€Π°ΠΊΡ‚ΠΈΠΊΠΈ ΠΈ новости diff --git a/sections/projectstructre/configguide.russian.md b/sections/projectstructre/configguide.russian.md index 90648b28..52f2b87a 100644 --- a/sections/projectstructre/configguide.russian.md +++ b/sections/projectstructre/configguide.russian.md @@ -14,6 +14,8 @@ 4. НСкоторыС Ρ€Π°ΡΡˆΠΈΡ€Π΅Π½Π½Ρ‹Π΅ сцСнарии ΠΊΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΈ Ρ‚Ρ€Π΅Π±ΡƒΡŽΡ‚ Π²Π²ΠΎΠ΄Π° Π·Π½Π°Ρ‡Π΅Π½ΠΈΠΉ ΠΊΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΈ Ρ‡Π΅Ρ€Π΅Π· ΠΊΠΎΠΌΠ°Π½Π΄Π½ΡƒΡŽ строку (vargs) ΠΈΠ»ΠΈ ΡΠΈΠ½Ρ…Ρ€ΠΎΠ½ΠΈΠ·ΠΈΡ€ΡƒΡŽΡ‚ ΠΈΠ½Ρ„ΠΎΡ€ΠΌΠ°Ρ†ΠΈΡŽ ΠΎ ΠΊΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΈ Ρ‡Π΅Ρ€Π΅Π· Ρ†Π΅Π½Ρ‚Ρ€Π°Π»ΠΈΠ·ΠΎΠ²Π°Π½Π½Ρ‹ΠΉ кСш, Ρ‚Π°ΠΊΠΎΠΉ ΠΊΠ°ΠΊ Redis, Ρ‡Ρ‚ΠΎΠ±Ρ‹ нСсколько сСрвСров использовали ΠΎΠ΄Π½ΠΈ ΠΈ Ρ‚Π΅ ΠΆΠ΅ Π΄Π°Π½Π½Ρ‹Π΅ ΠΊΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΈ. +5. ΠŸΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π΄ΠΎΠ»ΠΆΠ½ΠΎ Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ ΠΊΠ°ΠΊ ΠΌΠΎΠΆΠ½ΠΎ быстрСС ΠΈ ΠΎΠ±Π΅ΡΠΏΠ΅Ρ‡ΠΈΠ²Π°Ρ‚ΡŒ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΡƒΡŽ ΠΎΠ±Ρ€Π°Ρ‚Π½ΡƒΡŽ связь, Ссли Ρ‚Ρ€Π΅Π±ΡƒΠ΅ΠΌΡ‹Π΅ ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½Ρ‹Π΅ срСды ΠΎΡ‚ΡΡƒΡ‚ΡΡ‚Π²ΡƒΡŽΡ‚ ΠΏΡ€ΠΈ запускС, ΠΌΠΎΠΆΠ½ΠΎ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ [convict](https://www.npmjs.com/package/convict) для ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠΈ ΠΊΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΈ. + НСкоторыС Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ ΠΊΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΈ ΠΌΠΎΠ³ΡƒΡ‚ ΠΏΡ€Π΅Π΄ΠΎΡΡ‚Π°Π²ΠΈΡ‚ΡŒ Π±ΠΎΠ»ΡŒΡˆΠΈΠ½ΡΡ‚Π²ΠΎ этих Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΉ бСсплатно, посмотритС Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ npm, Ρ‚Π°ΠΊΠΈΠ΅ ΠΊΠ°ΠΊ [rc](https://www.npmjs.com/package/rc), [nconf](https://www.npmjs.com/package/nconf) ΠΈ [config](https://www.npmjs.com/package/config), ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΎΡ‚ΠΌΠ΅Ρ‡Π°ΡŽΡ‚ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ ΠΈΠ· этих Ρ‚Ρ€Π΅Π±ΠΎΠ²Π°Π½ΠΈΠΉ.