Skip to content

Commit 26004a5

Browse files
authored
Generated project with extensions will work immediately (#2231)
Because the extensions' default config files no longer have any placeholders for now.
1 parent 8419dd2 commit 26004a5

File tree

1 file changed

+73
-16
lines changed

1 file changed

+73
-16
lines changed

config/default.json

Lines changed: 73 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
"commerceAPI": {
99
"proxyPath": "/mobify/proxy/api",
1010
"parameters": {
11-
"clientId": "<CLIENT_ID>",
12-
"organizationId": "<ORGANIZATION_ID>",
13-
"shortCode": "<SHORT_CODE>",
14-
"siteId": "<SITE_ID>"
11+
"clientId": "c9c45bfd-0ed3-4aa2-9971-40f88962b836",
12+
"organizationId": "f_ecom_zzrf_001",
13+
"shortCode": "8o7m175y",
14+
"siteId": "RefArchGlobal"
1515
}
1616
},
17-
"defaultSite": "<SITE_ID>",
18-
"defaultAppLocale": "<DEFAULT_APP_LOCALE>",
19-
"defaultSiteTitle": "<DEFAULT_SITE_TITLE>",
17+
"defaultSite": "RefArchGlobal",
18+
"defaultAppLocale": "en-US",
19+
"defaultSiteTitle": "Retail React App",
2020
"einsteinAPI": {
2121
"host": "https://api.cquotient.com",
22-
"einsteinId": "<EINSTEIN_ID>",
23-
"siteId": "<EINSTEIN_SITE_ID>",
22+
"einsteinId": "1ea06c6e-c936-4324-bcf0-fada93f83bb1",
23+
"siteId": "aaij-MobileFirst",
2424
"isProduction": false
2525
},
2626
"maxCacheAge": 900,
@@ -76,21 +76,78 @@
7676
"recentSearchLimit": 5,
7777
"recentSearchMinLength": 3
7878
},
79-
"siteAliases": {},
79+
"siteAliases": {
80+
"RefArch": "us",
81+
"RefArchGlobal": "global"
82+
},
8083
"sites": [
8184
{
82-
"id": "<SITE_ID>",
85+
"id": "RefArch",
8386
"l10n": {
84-
"defaultCurrency": "<CURRENCY>",
85-
"defaultLocale": "<LOCALE>",
86-
"supportedCurrencies": ["<CURRENCY>"],
87+
"supportedCurrencies": ["USD"],
88+
"defaultCurrency": "USD",
89+
"defaultLocale": "en-US",
8790
"supportedLocales": [
8891
{
89-
"id": "<LOCALE>",
90-
"preferredCurrency": "<CURRENCY>"
92+
"id": "en-US",
93+
"preferredCurrency": "USD"
94+
},
95+
{
96+
"id": "en-CA",
97+
"preferredCurrency": "USD"
9198
}
9299
]
93100
}
101+
},
102+
{
103+
"id": "RefArchGlobal",
104+
"l10n": {
105+
"supportedCurrencies": ["GBP", "EUR", "CNY", "JPY"],
106+
"defaultCurrency": "GBP",
107+
"supportedLocales": [
108+
{
109+
"id": "de-DE",
110+
"preferredCurrency": "EUR"
111+
},
112+
{
113+
"id": "en-GB",
114+
"preferredCurrency": "GBP"
115+
},
116+
{
117+
"id": "es-MX",
118+
"preferredCurrency": "MXN"
119+
},
120+
{
121+
"id": "fr-FR",
122+
"preferredCurrency": "EUR"
123+
},
124+
{
125+
"id": "it-IT",
126+
"preferredCurrency": "EUR"
127+
},
128+
{
129+
"id": "ja-JP",
130+
"preferredCurrency": "JPY"
131+
},
132+
{
133+
"id": "ko-KR",
134+
"preferredCurrency": "KRW"
135+
},
136+
{
137+
"id": "pt-BR",
138+
"preferredCurrency": "BRL"
139+
},
140+
{
141+
"id": "zh-CN",
142+
"preferredCurrency": "CNY"
143+
},
144+
{
145+
"id": "zh-TW",
146+
"preferredCurrency": "TWD"
147+
}
148+
],
149+
"defaultLocale": "en-GB"
150+
}
94151
}
95152
],
96153
"staleWhileRevalidate": 900,

0 commit comments

Comments
 (0)