@cloudcommerce/cli 2.15.3 → 2.15.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/ci/bunny-config-base.sh +44 -10
- package/package.json +2 -2
package/ci/bunny-config-base.sh
CHANGED
|
@@ -154,17 +154,19 @@ configure_edge_rule "Bypass CDN cache" '
|
|
|
154
154
|
"PatternMatchingType": 0,
|
|
155
155
|
"PatternMatches": [
|
|
156
156
|
"*/_api/*",
|
|
157
|
-
"*.xml",
|
|
158
157
|
"*/admin/*",
|
|
159
158
|
"*/~*"
|
|
160
159
|
]
|
|
161
160
|
},
|
|
162
161
|
{
|
|
163
162
|
"Type": 8,
|
|
164
|
-
"PatternMatchingType":
|
|
163
|
+
"PatternMatchingType": 0,
|
|
165
164
|
"PatternMatches": [
|
|
166
|
-
"
|
|
167
|
-
"
|
|
165
|
+
"400",
|
|
166
|
+
"401",
|
|
167
|
+
"403",
|
|
168
|
+
"404",
|
|
169
|
+
"500"
|
|
168
170
|
]
|
|
169
171
|
}
|
|
170
172
|
],
|
|
@@ -173,26 +175,58 @@ configure_edge_rule "Bypass CDN cache" '
|
|
|
173
175
|
}
|
|
174
176
|
'
|
|
175
177
|
|
|
178
|
+
configure_edge_rule "Reset feeds/app CDN cache" '
|
|
179
|
+
{
|
|
180
|
+
"ActionType": 3,
|
|
181
|
+
"TriggerMatchingType": 1,
|
|
182
|
+
"ActionParameter1": "600",
|
|
183
|
+
"Triggers": [
|
|
184
|
+
{
|
|
185
|
+
"Type": 0,
|
|
186
|
+
"PatternMatchingType": 0,
|
|
187
|
+
"PatternMatches": [
|
|
188
|
+
"*.xml",
|
|
189
|
+
"*.txt",
|
|
190
|
+
"*/app/*"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"Type": 8,
|
|
195
|
+
"PatternMatchingType": 0,
|
|
196
|
+
"PatternMatches": [
|
|
197
|
+
"200"
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"Description": "Reset feeds/app CDN cache",
|
|
202
|
+
"Enabled": true
|
|
203
|
+
}
|
|
204
|
+
'
|
|
205
|
+
|
|
176
206
|
configure_edge_rule "Bypass perma-cache" '
|
|
177
207
|
{
|
|
178
208
|
"ActionType": 15,
|
|
179
|
-
"
|
|
180
|
-
"ActionParameter2": null,
|
|
209
|
+
"TriggerMatchingType": 0,
|
|
181
210
|
"Triggers": [
|
|
182
211
|
{
|
|
183
212
|
"Type": 0,
|
|
213
|
+
"PatternMatchingType": 0,
|
|
184
214
|
"PatternMatches": [
|
|
185
215
|
"*/_api/*",
|
|
186
|
-
"*.xml",
|
|
187
216
|
"*/app/*",
|
|
188
217
|
"*/admin/*",
|
|
189
218
|
"*/~*"
|
|
190
|
-
]
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"Type": 0,
|
|
191
223
|
"PatternMatchingType": 0,
|
|
192
|
-
"
|
|
224
|
+
"PatternMatches": [
|
|
225
|
+
"*.xml",
|
|
226
|
+
"*.txt"
|
|
227
|
+
]
|
|
193
228
|
}
|
|
194
229
|
],
|
|
195
|
-
"TriggerMatchingType": 1,
|
|
196
230
|
"Description": "Bypass perma-cache",
|
|
197
231
|
"Enabled": true
|
|
198
232
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.5",
|
|
5
5
|
"description": "e-com.plus Cloud Commerce CLI tools",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cloudcommerce": "./bin/run.mjs"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"md5": "^2.3.0",
|
|
37
37
|
"typescript": "~5.4.5",
|
|
38
38
|
"zx": "^7.2.3",
|
|
39
|
-
"@cloudcommerce/api": "2.15.
|
|
39
|
+
"@cloudcommerce/api": "2.15.5"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "bash ../../scripts/build-lib.sh"
|