7 Commits

Author SHA1 Message Date
04be5f88eb 0.0.5 2016-06-18 15:42:53 +02:00
3c626908f1 compile 2016-06-18 15:42:49 +02:00
821b2f95b0 fix repo link 2016-06-18 15:42:09 +02:00
c0753c185f 0.0.4 2016-06-18 15:13:06 +02:00
dad659e2ed fix description 2016-06-18 15:13:02 +02:00
d1f1ae271a 0.0.3 2016-06-18 15:09:48 +02:00
7bd18cb927 fix branches for ci 2016-06-18 15:09:44 +02:00
11 changed files with 37 additions and 17 deletions

View File

@ -8,8 +8,6 @@ testLEGACY:
stage: test
script:
- npmci test legacy
only:
- master
tags:
- docker
- lossless
@ -18,8 +16,6 @@ testLTS:
stage: test
script:
- npmci test lts
only:
- master
tags:
- docker
- lossless
@ -28,8 +24,6 @@ testSTABLE:
stage: test
script:
- npmci test stable
only:
- master
tags:
- docker
- lossless
@ -39,6 +33,6 @@ release:
script:
- npmci publish npm
only:
- master
- tags
tags:
- lossless

View File

@ -6,7 +6,7 @@ Easily obain SSL certificates from LetsEncrypt. Supports DNS-01 challenge. TypeS
```typescript
import {Cert} from "cert";
myCert = new Cert({
let myCert = new Cert({
cfEmail = "some@cloudflare.email",
cfKey = "someCloudflareApiKey",
outputPath = "someOutputPath" // NOTE: if you already have certificates, make sure you put them in here, so cert only requires the missing ones

3
dist/cert.hook.js vendored Normal file
View File

@ -0,0 +1,3 @@
"use strict";
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJjZXJ0Lmhvb2suanMiLCJzb3VyY2VzQ29udGVudCI6W119

View File

View File

@ -1,3 +1,3 @@
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJob29rLmpzIiwic291cmNlc0NvbnRlbnQiOltdfQ==
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJjZXJ0LnBhdGhzLmpzIiwic291cmNlc0NvbnRlbnQiOltdfQ==

11
dist/install.js vendored
View File

@ -1,3 +1,10 @@
"use strict";
var beautylog = require("beautylog");
var path = require("path");
var smartfile = require("smartfile");
beautylog.info("installing letsencrypt.sh locally...");
smartfile.remote.toFs("https://raw.githubusercontent.com/lukas2511/letsencrypt.sh/master/letsencrypt.sh", path.join(__dirname, "assets/", "le.sh")).then(function () {
beautylog.success("Done!");
});
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJpbnN0YWxsLmpzIiwic291cmNlc0NvbnRlbnQiOltdfQ==
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluc3RhbGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQVksU0FBUyxXQUFNLFdBQVcsQ0FBQyxDQUFBO0FBQ3ZDLElBQVksSUFBSSxXQUFNLE1BQU0sQ0FBQyxDQUFBO0FBQzdCLElBQVksU0FBUyxXQUFNLFdBQVcsQ0FBQyxDQUFBO0FBQ3ZDLFNBQVMsQ0FBQyxJQUFJLENBQUMsc0NBQXNDLENBQUMsQ0FBQztBQUN2RCxTQUFTLENBQUMsTUFBTSxDQUFDLElBQUksQ0FDakIsa0ZBQWtGLEVBQ2xGLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFDLFNBQVMsRUFBQyxPQUFPLENBQUMsQ0FDekMsQ0FBQyxJQUFJLENBQUM7SUFDSCxTQUFTLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQy9CLENBQUMsQ0FBQyxDQUFDIiwiZmlsZSI6Imluc3RhbGwuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBiZWF1dHlsb2cgZnJvbSBcImJlYXV0eWxvZ1wiO1xuaW1wb3J0ICogYXMgcGF0aCBmcm9tIFwicGF0aFwiO1xuaW1wb3J0ICogYXMgc21hcnRmaWxlIGZyb20gXCJzbWFydGZpbGVcIjtcbmJlYXV0eWxvZy5pbmZvKFwiaW5zdGFsbGluZyBsZXRzZW5jcnlwdC5zaCBsb2NhbGx5Li4uXCIpO1xuc21hcnRmaWxlLnJlbW90ZS50b0ZzKFxuICAgIFwiaHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2x1a2FzMjUxMS9sZXRzZW5jcnlwdC5zaC9tYXN0ZXIvbGV0c2VuY3J5cHQuc2hcIixcbiAgICBwYXRoLmpvaW4oX19kaXJuYW1lLFwiYXNzZXRzL1wiLFwibGUuc2hcIilcbikudGhlbigoKSA9PiB7XG4gICAgYmVhdXR5bG9nLnN1Y2Nlc3MoXCJEb25lIVwiKTtcbn0pOyJdfQ==

View File

@ -1,14 +1,14 @@
{
"name": "cert",
"version": "0.0.2",
"description": "automatic cert generation for coreos clusters",
"version": "0.0.5",
"description": "Easily obain SSL certificates from LetsEncrypt. Supports DNS-01 challenge. TypeScript ready.",
"main": "dist/index.js",
"scripts": {
"test": "(npmts)"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pushrocks/cert.git"
"url": "git+https://gitlab.com/pushrocks/cert.git"
},
"keywords": [
"coreos",
@ -19,11 +19,15 @@
"author": "Lossless GmbH",
"license": "MIT",
"bugs": {
"url": "https://github.com/pushrocks/cert/issues"
"url": "https://gitlab.com/pushrocks/cert/issues"
},
"homepage": "https://github.com/pushrocks/cert#readme",
"homepage": "https://gitlab.com/pushrocks/cert#readme",
"dependencies": {
"letsencrypt": "^1.4.4"
"beautylog": "^5.0.12",
"cflare": "0.0.2",
"letsencrypt": "^1.4.4",
"smartcli": "^1.0.2",
"smartfile": "^3.0.10"
},
"devDependencies": {
"npmts-g": "^5.2.6"

2
ts/cert.hook.ts Normal file
View File

@ -0,0 +1,2 @@
import * as smartcli from "smartcli";
import * as cflare from "cflare";

0
ts/cert.paths.ts Normal file
View File

View File

@ -0,0 +1,10 @@
import * as beautylog from "beautylog";
import * as path from "path";
import * as smartfile from "smartfile";
beautylog.info("installing letsencrypt.sh locally...");
smartfile.remote.toFs(
"https://raw.githubusercontent.com/lukas2511/letsencrypt.sh/master/letsencrypt.sh",
path.join(__dirname,"assets/","le.sh")
).then(() => {
beautylog.success("Done!");
});