Browse Source

v1.8.4: add support banner

v1.8.4
AJ ONeal 5 years ago
parent
commit
15583d961e
  1. 10
      README.md
  2. 2
      package-lock.json
  3. 9
      package.json
  4. 83
      scripts/postinstall

10
README.md

@ -1,3 +1,13 @@
# Do you rely on ACME.js?
Hey! Let's Encrypt will **STOP WORKING** with Greenlock and ACME.js at the end of Oct 2019.
**WITHOUT YOUR HELP** we won't get the next release out in time.
If Greenlock (or ACME.js) 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:
[**SAVE GREENLOCK / ACME.js**](https://indiegogo.com/at/greenlock): <https://indiegogo.com/at/greenlock>
| **acme-v2.js** ([npm](https://www.npmjs.com/package/acme-v2))
| [acme-v2-cli.js](https://git.coolaj86.com/coolaj86/acme-v2-cli.js)
| [greenlock.js](https://git.coolaj86.com/coolaj86/greenlock.js)

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "acme-v2",
"version": "1.8.0",
"version": "1.8.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

9
package.json

@ -1,10 +1,17 @@
{
"name": "acme-v2",
"version": "1.8.3",
"version": "1.8.4",
"description": "A lightweight library for getting Free SSL certifications through Let's Encrypt, using the ACME protocol.",
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
"main": "node.js",
"files": [
"compat.js",
"node.js",
"lib",
"scripts"
],
"scripts": {
"postinstall": "node scripts/postinstall",
"test": "node ./test.js"
},
"repository": {

83
scripts/postinstall

@ -0,0 +1,83 @@
#!/usr/bin/env node
'use strict';
// BG WH \u001b[47m
// BOLD \u001b[1m
// RED \u001b[31m
// GREEN \u001b[32m
// RESET \u001b[0m
var grabbers = [
[
'',
'================================================================================',
'',
' ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ',
'๐Ÿ”ฅ ๐Ÿ”ฅ',
'๐Ÿ”ฅ Do you rely on Greenlock? ๐Ÿ”ฅ',
'๐Ÿ”ฅ (or ACME.js) ๐Ÿ”ฅ',
'๐Ÿ”ฅ ๐Ÿ”ฅ',
' ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ'
],
[
'',
'================================================================================',
'',
' ๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’',
'๐Ÿ’ ๐Ÿ’',
'๐Ÿ’ Do you rely on Greenlock? ๐Ÿ’',
'๐Ÿ’ (or ACME.js) ๐Ÿ’',
'๐Ÿ’ ๐Ÿ’',
' ๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’๐Ÿ’'
],
[
'',
'================================================================================',
'',
' ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡',
'๐Ÿ‘‰ ๐Ÿ‘ˆ',
'๐Ÿ‘‰ Do you rely on Greenlock? ๐Ÿ‘ˆ',
'๐Ÿ‘‰ (or ACME.js) ๐Ÿ‘ˆ',
'๐Ÿ‘‰ ๐Ÿ‘ˆ',
' ๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘† '
],
[
'',
'================================================================================',
'',
' ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ',
'๐Ÿ‘€ ๐Ÿ‘€',
'๐Ÿ‘€ Do you rely on Greenlock? ๐Ÿ‘€',
'๐Ÿ‘€ (or ACME.js) ๐Ÿ‘€',
'๐Ÿ‘€ ๐Ÿ‘€',
' ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ ๐Ÿ‘€ '
]
];
setTimeout(function() {
grabbers[Math.floor(Math.random() * grabbers.length)]
.concat([
'',
"Hey! Let's Encrypt will \u001b[31mSTOP WORKING\u001b[0m with Greenlock and ACME.js at the end of Oct 2019.",
"\u001b[31mWITHOUT YOUR HELP\u001b[0m we won't get the next release out in time.",
'',
'If Greenlock (or ACME.js) 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 / ACME.js:\u001b[0m',
'https://indiegogo.com/at/greenlock',
'',
'================================================================================',
''
])
.forEach(function(line) {
console.info(line);
});
}, 300);
setTimeout(function() {
// give time to read
}, 1500);
Loadingโ€ฆ
Cancel
Save