fix repo link
This commit is contained in:
		@@ -6,7 +6,7 @@ Easily obain SSL certificates from LetsEncrypt. Supports DNS-01 challenge. TypeS
 | 
				
			|||||||
```typescript
 | 
					```typescript
 | 
				
			||||||
import {Cert} from "cert";
 | 
					import {Cert} from "cert";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
myCert = new Cert({
 | 
					let myCert = new Cert({
 | 
				
			||||||
    cfEmail = "some@cloudflare.email",
 | 
					    cfEmail = "some@cloudflare.email",
 | 
				
			||||||
    cfKey = "someCloudflareApiKey",
 | 
					    cfKey = "someCloudflareApiKey",
 | 
				
			||||||
    outputPath = "someOutputPath" // NOTE: if you already have certificates, make sure you put them in here, so cert only requires the missing ones
 | 
					    outputPath = "someOutputPath" // NOTE: if you already have certificates, make sure you put them in here, so cert only requires the missing ones
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							@@ -8,7 +8,7 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "repository": {
 | 
					  "repository": {
 | 
				
			||||||
    "type": "git",
 | 
					    "type": "git",
 | 
				
			||||||
    "url": "git+https://github.com/pushrocks/cert.git"
 | 
					    "url": "git+https://gitlab.com/pushrocks/cert.git"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "keywords": [
 | 
					  "keywords": [
 | 
				
			||||||
    "coreos",
 | 
					    "coreos",
 | 
				
			||||||
@@ -19,11 +19,15 @@
 | 
				
			|||||||
  "author": "Lossless GmbH",
 | 
					  "author": "Lossless GmbH",
 | 
				
			||||||
  "license": "MIT",
 | 
					  "license": "MIT",
 | 
				
			||||||
  "bugs": {
 | 
					  "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": {
 | 
					  "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": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "npmts-g": "^5.2.6"
 | 
					    "npmts-g": "^5.2.6"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								ts/cert.hook.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ts/cert.hook.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					import * as smartcli from "smartcli";
 | 
				
			||||||
 | 
					import * as cflare from "cflare";
 | 
				
			||||||
@@ -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!");
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
		Reference in New Issue
	
	Block a user