v2.7.13: add igg banner

Este commit está contenido en:
AJ ONeal 2019-08-17 21:24:18 -06:00
padre ada2b9ccfe
commit f3bae8580b
Se han modificado 2 ficheros con 30 adiciones y 2 borrados

Ver fichero

@ -1,6 +1,6 @@
{
"name": "greenlock-express",
"version": "2.7.12",
"version": "2.7.13",
"description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.",
"main": "index.js",
"homepage": "https://greenlock.domains",
@ -12,7 +12,8 @@
"redirect-https": "^1.1.5"
},
"files": [
"lib"
"lib",
"scripts"
],
"trulyOptionalDependencies": {
"spdy": "^3.4.7"
@ -28,6 +29,7 @@
},
"scripts": {
"start": "node server.js ./config.js",
"postinstall": "node scripts/postinstall",
"test": "node test/greenlock.js"
},
"repository": {

26
scripts/postinstall Archivo ejecutable
Ver fichero

@ -0,0 +1,26 @@
#!/usr/bin/env node
'use strict';
// BG WH \u001b[47m
// BOLD \u001b[1m
// RED \u001b[31m
// GREEN \u001b[32m
// RESET \u001b[0m
[ '',
'\u001b[31m===============================\u001b[0m',
'\u001b[31m==\u001b[0m Do you rely on Greenlock? \u001b[31m==\u001b[0m',
'\u001b[31m===============================\u001b[0m',
'',
"Hey! Let's Encrypt will \u001b[31mSTOP WORKING\u001b[0m with Greenlock v2 at the end of October,",
"and \u001b[31mWITHOUT YOUR HELP\u001b[0m we won't get the next release out in time.",
'',
"If Greenlock has saved you time and money, and taken stress out of your life,",
"or you just love it, please reach out to return the favor today:",
'',
'\u001b[31mSAVE GREENLOCK:\u001b[0m',
'https://indiegogo.com/at/greenlock',
''
].forEach(function (line) {
console.info(line);
});