@adobe/helix-config 3.3.3 → 3.3.5
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/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/schemas/cdn.schema.json +38 -0
- package/types/profile-config.d.ts +15 -1
- package/types/site-config.d.ts +15 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.3.5](https://github.com/adobe/helix-config/compare/v3.3.4...v3.3.5) (2024-06-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-shared-config to v10.6.0 ([#115](https://github.com/adobe/helix-config/issues/115)) ([0b0383b](https://github.com/adobe/helix-config/commit/0b0383b485a63dac8ac25044a2a73e6f3edc0d6f))
|
|
7
|
+
|
|
8
|
+
## [3.3.4](https://github.com/adobe/helix-config/compare/v3.3.3...v3.3.4) (2024-06-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add cloudfront cdn config to schema ([#114](https://github.com/adobe/helix-config/issues/114)) ([3f12d26](https://github.com/adobe/helix-config/commit/3f12d26c2b067435c6d9766c0f58b8aa51d43fb3))
|
|
14
|
+
|
|
1
15
|
## [3.3.3](https://github.com/adobe/helix-config/compare/v3.3.2...v3.3.3) (2024-06-22)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@adobe/fetch": "4.1.8",
|
|
63
|
-
"@adobe/helix-shared-config": "10.
|
|
63
|
+
"@adobe/helix-shared-config": "10.6.0",
|
|
64
64
|
"@adobe/helix-shared-git": "3.0.12",
|
|
65
65
|
"@adobe/helix-shared-storage": "1.0.2",
|
|
66
66
|
"@adobe/helix-shared-utils": "3.0.2",
|
|
@@ -164,6 +164,44 @@
|
|
|
164
164
|
],
|
|
165
165
|
"additionalProperties": false
|
|
166
166
|
},
|
|
167
|
+
{
|
|
168
|
+
"type": "object",
|
|
169
|
+
"title": "CloudfrontConfig",
|
|
170
|
+
"properties": {
|
|
171
|
+
"type": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"const": "cloudfront"
|
|
174
|
+
},
|
|
175
|
+
"host": {
|
|
176
|
+
"description": "production host",
|
|
177
|
+
"type": "string"
|
|
178
|
+
},
|
|
179
|
+
"route": {
|
|
180
|
+
"description": "Routes on the CDN that are rendered with Franklin",
|
|
181
|
+
"type": "array",
|
|
182
|
+
"items": {
|
|
183
|
+
"type": "string"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"distributionId": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"accessKeyId": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"secretAccessKey": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"type",
|
|
198
|
+
"host",
|
|
199
|
+
"distributionId",
|
|
200
|
+
"accessKeyId",
|
|
201
|
+
"secretAccessKey"
|
|
202
|
+
],
|
|
203
|
+
"additionalProperties": false
|
|
204
|
+
},
|
|
167
205
|
{
|
|
168
206
|
"type": "object",
|
|
169
207
|
"title": "EmptyConfig",
|
|
@@ -109,7 +109,7 @@ export interface KeyValuePair {
|
|
|
109
109
|
value: string;
|
|
110
110
|
}
|
|
111
111
|
export interface CDNConfig {
|
|
112
|
-
prod: FastlyConfig | AkamaiConfig | CloudflareConfig | ManagedConfig | EmptyConfig;
|
|
112
|
+
prod: FastlyConfig | AkamaiConfig | CloudflareConfig | ManagedConfig | CloudfrontConfig | EmptyConfig;
|
|
113
113
|
live?: {
|
|
114
114
|
/**
|
|
115
115
|
* Sidekick config to override the default preview host. it supports parameters $owner and $repo
|
|
@@ -186,6 +186,20 @@ export interface ManagedConfig {
|
|
|
186
186
|
*/
|
|
187
187
|
route?: string[];
|
|
188
188
|
}
|
|
189
|
+
export interface CloudfrontConfig {
|
|
190
|
+
type: 'cloudfront';
|
|
191
|
+
/**
|
|
192
|
+
* production host
|
|
193
|
+
*/
|
|
194
|
+
host: string;
|
|
195
|
+
/**
|
|
196
|
+
* Routes on the CDN that are rendered with Franklin
|
|
197
|
+
*/
|
|
198
|
+
route?: string[];
|
|
199
|
+
distributionId: string;
|
|
200
|
+
accessKeyId: string;
|
|
201
|
+
secretAccessKey: string;
|
|
202
|
+
}
|
|
189
203
|
export interface EmptyConfig {
|
|
190
204
|
/**
|
|
191
205
|
* production host
|
package/types/site-config.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export interface KeyValuePair {
|
|
|
116
116
|
value: string;
|
|
117
117
|
}
|
|
118
118
|
export interface CDNConfig {
|
|
119
|
-
prod: FastlyConfig | AkamaiConfig | CloudflareConfig | ManagedConfig | EmptyConfig;
|
|
119
|
+
prod: FastlyConfig | AkamaiConfig | CloudflareConfig | ManagedConfig | CloudfrontConfig | EmptyConfig;
|
|
120
120
|
live?: {
|
|
121
121
|
/**
|
|
122
122
|
* Sidekick config to override the default preview host. it supports parameters $owner and $repo
|
|
@@ -193,6 +193,20 @@ export interface ManagedConfig {
|
|
|
193
193
|
*/
|
|
194
194
|
route?: string[];
|
|
195
195
|
}
|
|
196
|
+
export interface CloudfrontConfig {
|
|
197
|
+
type: 'cloudfront';
|
|
198
|
+
/**
|
|
199
|
+
* production host
|
|
200
|
+
*/
|
|
201
|
+
host: string;
|
|
202
|
+
/**
|
|
203
|
+
* Routes on the CDN that are rendered with Franklin
|
|
204
|
+
*/
|
|
205
|
+
route?: string[];
|
|
206
|
+
distributionId: string;
|
|
207
|
+
accessKeyId: string;
|
|
208
|
+
secretAccessKey: string;
|
|
209
|
+
}
|
|
196
210
|
export interface EmptyConfig {
|
|
197
211
|
/**
|
|
198
212
|
* production host
|