@speedkit/cli 2.30.1 → 2.31.1
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/README.md +1 -1
- package/dist/services/customer-config/templates/config_SpeedKit.js.hbs +8 -3
- package/dist/services/customer-config/templates/config_customer.js.hbs +1 -20
- package/dist/templates/pops.js +7 -12
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.31.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.31.0...v2.31.1) (2024-06-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update pop list ([127a6d1](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/127a6d1b2ec404d7be69fd5d4f3fd6201d3faa9c))
|
|
7
|
+
|
|
8
|
+
# [2.31.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.30.1...v2.31.0) (2024-06-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **customer-config:** update exemplary enabled sites ([8bfd888](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/8bfd8885b978e227147aa4f5ac45b14e12bb03a3))
|
|
14
|
+
|
|
1
15
|
## [2.30.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.30.0...v2.30.1) (2024-06-03)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -50,10 +50,15 @@
|
|
|
50
50
|
{
|
|
51
51
|
pathname: [
|
|
52
52
|
// TODO: adjust/replace this exemplary list
|
|
53
|
-
{{#if isShopify}}
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
/^\/$/, // Home
|
|
55
|
+
|
|
56
|
+
{{#if isShopify}}
|
|
57
|
+
"/collections/", // Category & PLP
|
|
58
|
+
"/products/", // PDP
|
|
59
|
+
{{else}}
|
|
60
|
+
"/c/", // Category & PLP
|
|
61
|
+
"/p/", // PDP
|
|
57
62
|
{{/if}}
|
|
58
63
|
],
|
|
59
64
|
},
|
|
@@ -32,7 +32,7 @@ const shared = {
|
|
|
32
32
|
{{/if}}
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
module.exports = {
|
|
36
36
|
test: {
|
|
37
37
|
...shared,
|
|
38
38
|
app: process.env.TEST_APP,
|
|
@@ -58,22 +58,3 @@ const configs = {
|
|
|
58
58
|
// bypassDeactivation: false, // comment out when SK deactivation should not be bypassed
|
|
59
59
|
},
|
|
60
60
|
};
|
|
61
|
-
|
|
62
|
-
const objectMap = (obj, fn) =>
|
|
63
|
-
Object.fromEntries(
|
|
64
|
-
Object.entries(obj).map(
|
|
65
|
-
([k, v], i) => [k, fn(v, k, i)],
|
|
66
|
-
),
|
|
67
|
-
);
|
|
68
|
-
|
|
69
|
-
const completeConfig = config => ({
|
|
70
|
-
// create installPath automatically if not set:
|
|
71
|
-
{{#if shopifyId}}
|
|
72
|
-
installPath: `https://${config.app}.app.baqend.com/v1/speedkit/install.js?d=${config.name}&shop=${config.shopifyId}.myshopify.com`,
|
|
73
|
-
{{else}}
|
|
74
|
-
installPath: `https://${config.app}.app.baqend.com/v1/speedkit/install.js?d=${config.name}`,
|
|
75
|
-
{{/if}}
|
|
76
|
-
...config,
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
module.exports = objectMap(configs, config => completeConfig(config));
|
package/dist/templates/pops.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
const POP = {
|
|
2
2
|
"BRU": "151.101.10.8",
|
|
3
|
+
"PDK": "151.101.14.8",
|
|
3
4
|
"BFI": "151.101.22.8",
|
|
4
|
-
"LGB": "151.101.26.8",
|
|
5
5
|
"SYD": "151.101.30.8",
|
|
6
6
|
"AMS": "151.101.38.8",
|
|
7
7
|
"SJC": "151.101.42.8",
|
|
8
8
|
"NYC": "151.101.46.8",
|
|
9
9
|
"WVI": "151.101.50.8",
|
|
10
|
-
"IAH": "151.101.58.8",
|
|
11
|
-
"LHR": "151.101.62.8",
|
|
12
10
|
"DEN": "151.101.70.8",
|
|
13
11
|
"HKG": "151.101.78.8",
|
|
14
12
|
"MEL": "151.101.82.8",
|
|
15
13
|
"BMA": "151.101.86.8",
|
|
16
14
|
"ITM": "151.101.90.8",
|
|
15
|
+
"GRU": "151.101.94.8",
|
|
17
16
|
"BNE": "151.101.98.8",
|
|
18
17
|
"PER": "151.101.106.8",
|
|
19
18
|
"TYO": "151.101.110.8",
|
|
@@ -26,11 +25,14 @@ const POP = {
|
|
|
26
25
|
"MSP": "151.101.150.8",
|
|
27
26
|
"BOM": "151.101.154.8",
|
|
28
27
|
"MAA": "151.101.158.8",
|
|
28
|
+
"DFW": "151.101.162.8",
|
|
29
29
|
"AKL": "151.101.166.8",
|
|
30
30
|
"JNB": "151.101.174.8",
|
|
31
31
|
"GIG": "151.101.178.8",
|
|
32
|
+
"IAH": "151.101.182.8",
|
|
33
|
+
"LHR": "151.101.190.8",
|
|
34
|
+
"LAX": "151.101.198.8",
|
|
32
35
|
"PAO": "151.101.202.8",
|
|
33
|
-
"PDK": "151.101.206.8",
|
|
34
36
|
"EWR": "151.101.210.8",
|
|
35
37
|
"YVR": "151.101.214.8",
|
|
36
38
|
"EZE": "151.101.218.8",
|
|
@@ -41,27 +43,23 @@ const POP = {
|
|
|
41
43
|
"OSL": "151.101.238.8",
|
|
42
44
|
"MXP": "151.101.242.8",
|
|
43
45
|
"HEL": "151.101.246.8",
|
|
44
|
-
"GRU": "151.101.250.8",
|
|
45
|
-
"CWB": "151.101.254.8",
|
|
46
|
-
"DAL": "199.232.10.8",
|
|
47
46
|
"VIE": "199.232.18.8",
|
|
48
47
|
"DEL": "199.232.22.8",
|
|
49
48
|
"DUB": "199.232.26.8",
|
|
50
49
|
"STP": "199.232.30.8",
|
|
51
|
-
"FTY": "199.232.34.8",
|
|
52
50
|
"LGA": "199.232.38.8",
|
|
53
51
|
"CPH": "199.232.42.8",
|
|
54
52
|
"QPG": "199.232.46.8",
|
|
55
53
|
"BOG": "199.232.50.8",
|
|
56
54
|
"MAN": "199.232.54.8",
|
|
57
55
|
"LON": "199.232.58.8",
|
|
56
|
+
"ACC": "199.232.62.8",
|
|
58
57
|
"STL": "199.232.70.8",
|
|
59
58
|
"MCI": "199.232.74.8",
|
|
60
59
|
"MRS": "199.232.82.8",
|
|
61
60
|
"LCK": "199.232.98.8",
|
|
62
61
|
"CCU": "199.232.102.8",
|
|
63
62
|
"HYD": "199.232.106.8",
|
|
64
|
-
"CGH": "199.232.114.8",
|
|
65
63
|
"LIM": "199.232.134.8",
|
|
66
64
|
"PDX": "199.232.146.8",
|
|
67
65
|
"PHX": "199.232.154.8",
|
|
@@ -72,11 +70,9 @@ const POP = {
|
|
|
72
70
|
"FOR": "146.75.6.8",
|
|
73
71
|
"DTW": "146.75.10.8",
|
|
74
72
|
"CHC": "146.75.14.8",
|
|
75
|
-
"ACC": "146.75.18.8",
|
|
76
73
|
"MNL": "146.75.22.8",
|
|
77
74
|
"KUL": "146.75.26.8",
|
|
78
75
|
"IAD": "146.75.30.8",
|
|
79
|
-
"ATL": "146.75.46.8",
|
|
80
76
|
"ICN": "146.75.50.8",
|
|
81
77
|
"LIN": "146.75.54.8",
|
|
82
78
|
"PMO": "146.75.58.8",
|
|
@@ -89,7 +85,6 @@ const POP = {
|
|
|
89
85
|
"BUR": "146.75.94.8",
|
|
90
86
|
"HNL": "146.75.98.8",
|
|
91
87
|
"ADL": "146.75.102.8",
|
|
92
|
-
"DFW": "146.75.106.8",
|
|
93
88
|
"YYC": "146.75.110.8",
|
|
94
89
|
"NRT": "146.75.114.8",
|
|
95
90
|
"FRA": "146.75.118.8",
|
package/oclif.manifest.json
CHANGED