@cloudcommerce/cli 2.14.6 → 2.14.7
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 +15 -9
- package/package.json +2 -2
package/ci/bunny-config-base.sh
CHANGED
|
@@ -143,31 +143,37 @@ configure_edge_rule() {
|
|
|
143
143
|
printf "\n\n> Configured edge rule \"$description\"\n"
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
configure_edge_rule "
|
|
146
|
+
configure_edge_rule "Bypass CDN cache" '
|
|
147
147
|
{
|
|
148
148
|
"ActionType": 3,
|
|
149
|
+
"TriggerMatchingType": 0,
|
|
149
150
|
"ActionParameter1": "0",
|
|
150
|
-
"ActionParameter2": "",
|
|
151
151
|
"Triggers": [
|
|
152
152
|
{
|
|
153
153
|
"Type": 0,
|
|
154
|
+
"PatternMatchingType": 0,
|
|
154
155
|
"PatternMatches": [
|
|
155
156
|
"*/_api/*",
|
|
156
157
|
"*.xml",
|
|
157
158
|
"*/admin/*",
|
|
158
159
|
"*/~*"
|
|
159
|
-
]
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"Type": 8,
|
|
164
|
+
"PatternMatchingType": 2,
|
|
165
|
+
"PatternMatches": [
|
|
166
|
+
"200",
|
|
167
|
+
"301"
|
|
168
|
+
]
|
|
162
169
|
}
|
|
163
170
|
],
|
|
164
|
-
"
|
|
165
|
-
"Description": "APIs bypass CDN cache",
|
|
171
|
+
"Description": "Bypass CDN cache",
|
|
166
172
|
"Enabled": true
|
|
167
173
|
}
|
|
168
174
|
'
|
|
169
175
|
|
|
170
|
-
configure_edge_rule "
|
|
176
|
+
configure_edge_rule "Bypass perma-cache" '
|
|
171
177
|
{
|
|
172
178
|
"ActionType": 15,
|
|
173
179
|
"ActionParameter1": null,
|
|
@@ -187,7 +193,7 @@ configure_edge_rule "APIs bypass perma-cache" '
|
|
|
187
193
|
}
|
|
188
194
|
],
|
|
189
195
|
"TriggerMatchingType": 1,
|
|
190
|
-
"Description": "
|
|
196
|
+
"Description": "Bypass perma-cache",
|
|
191
197
|
"Enabled": true
|
|
192
198
|
}
|
|
193
199
|
'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.7",
|
|
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.14.
|
|
39
|
+
"@cloudcommerce/api": "2.14.7"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "bash ../../scripts/build-lib.sh"
|