@ossy/deployment-tools 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -28460,20 +28460,22 @@ class CaddyClient {
28460
28460
  },
28461
28461
  tls: {
28462
28462
  automation: {
28463
- policies: {
28464
- issuers: [
28465
- {
28466
- module: 'acme',
28467
- challenges: {
28468
- dns: {
28469
- provider: {
28470
- name: 'route53'
28463
+ policies: [
28464
+ {
28465
+ issuers: [
28466
+ {
28467
+ module: 'acme',
28468
+ challenges: {
28469
+ dns: {
28470
+ provider: {
28471
+ name: 'route53'
28472
+ }
28471
28473
  }
28472
28474
  }
28473
28475
  }
28474
- }
28475
- ]
28476
- }
28476
+ ]
28477
+ }
28478
+ ]
28477
28479
  }
28478
28480
  }
28479
28481
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossy/deployment-tools",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Collection of scripts and tools to aid deployment of containers and static files",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  import fetch from 'node-fetch'
2
2
  import * as config from './config.js'
3
3
 
4
- const Matchers = {
4
+ export const Matchers = {
5
5
  host: host => ({ host: [host] }),
6
6
  path: path => ({ path: [path] })
7
7
  }
@@ -58,20 +58,22 @@ class CaddyClient {
58
58
  },
59
59
  tls: {
60
60
  automation: {
61
- policies: {
62
- issuers: [
63
- {
64
- module: 'acme',
65
- challenges: {
66
- dns: {
67
- provider: {
68
- name: 'route53'
61
+ policies: [
62
+ {
63
+ issuers: [
64
+ {
65
+ module: 'acme',
66
+ challenges: {
67
+ dns: {
68
+ provider: {
69
+ name: 'route53'
70
+ }
69
71
  }
70
72
  }
71
73
  }
72
- }
73
- ]
74
- }
74
+ ]
75
+ }
76
+ ]
75
77
  }
76
78
  }
77
79
  }
package/src/Caddyfile DELETED
@@ -1,18 +0,0 @@
1
- *.qa.ossy.com {
2
-
3
- tls {
4
- dns 123123
5
- }
6
-
7
- @foo host ci.qa.example.com
8
- handle @foo {
9
- reverse_proxy * {
10
- to localhost:3005
11
- }
12
- }
13
-
14
- handle {
15
- respond "Wrong turn!"
16
- }
17
-
18
- }