@akinon/projectzero 1.43.0-rc.6 → 1.43.0-rc.8

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.43.0-rc.8
4
+
5
+ ## 1.43.0-rc.7
6
+
3
7
  ## 1.43.0-rc.6
4
8
 
5
9
  ### Minor Changes
@@ -1,5 +1,44 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.43.0-rc.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [70279e7]
8
+ - Updated dependencies [9d94f7e]
9
+ - @akinon/next@1.43.0-rc.8
10
+ - @akinon/pz-akifast@1.43.0-rc.8
11
+ - @akinon/pz-b2b@1.43.0-rc.8
12
+ - @akinon/pz-basket-gift-pack@1.43.0-rc.8
13
+ - @akinon/pz-bkm@1.43.0-rc.8
14
+ - @akinon/pz-checkout-gift-pack@1.43.0-rc.8
15
+ - @akinon/pz-click-collect@1.43.0-rc.8
16
+ - @akinon/pz-credit-payment@1.43.0-rc.8
17
+ - @akinon/pz-gpay@1.43.0-rc.8
18
+ - @akinon/pz-masterpass@1.43.0-rc.8
19
+ - @akinon/pz-one-click-checkout@1.43.0-rc.8
20
+ - @akinon/pz-otp@1.43.0-rc.8
21
+ - @akinon/pz-pay-on-delivery@1.43.0-rc.8
22
+
23
+ ## 1.43.0-rc.7
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [7bd3d99]
28
+ - @akinon/next@1.43.0-rc.7
29
+ - @akinon/pz-akifast@1.43.0-rc.7
30
+ - @akinon/pz-b2b@1.43.0-rc.7
31
+ - @akinon/pz-basket-gift-pack@1.43.0-rc.7
32
+ - @akinon/pz-bkm@1.43.0-rc.7
33
+ - @akinon/pz-checkout-gift-pack@1.43.0-rc.7
34
+ - @akinon/pz-click-collect@1.43.0-rc.7
35
+ - @akinon/pz-credit-payment@1.43.0-rc.7
36
+ - @akinon/pz-gpay@1.43.0-rc.7
37
+ - @akinon/pz-masterpass@1.43.0-rc.7
38
+ - @akinon/pz-one-click-checkout@1.43.0-rc.7
39
+ - @akinon/pz-otp@1.43.0-rc.7
40
+ - @akinon/pz-pay-on-delivery@1.43.0-rc.7
41
+
3
42
  ## 1.43.0-rc.6
4
43
 
5
44
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.43.0-rc.6",
3
+ "version": "1.43.0-rc.8",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -22,19 +22,19 @@
22
22
  "prestart": "pz-prestart"
23
23
  },
24
24
  "dependencies": {
25
- "@akinon/next": "1.43.0-rc.6",
26
- "@akinon/pz-akifast": "1.43.0-rc.6",
27
- "@akinon/pz-b2b": "1.43.0-rc.6",
28
- "@akinon/pz-basket-gift-pack": "1.43.0-rc.6",
29
- "@akinon/pz-bkm": "1.43.0-rc.6",
30
- "@akinon/pz-checkout-gift-pack": "1.43.0-rc.6",
31
- "@akinon/pz-click-collect": "1.43.0-rc.6",
32
- "@akinon/pz-credit-payment": "1.43.0-rc.6",
33
- "@akinon/pz-gpay": "1.43.0-rc.6",
34
- "@akinon/pz-masterpass": "1.43.0-rc.6",
35
- "@akinon/pz-one-click-checkout": "1.43.0-rc.6",
36
- "@akinon/pz-otp": "1.43.0-rc.6",
37
- "@akinon/pz-pay-on-delivery": "1.43.0-rc.6",
25
+ "@akinon/next": "1.43.0-rc.8",
26
+ "@akinon/pz-akifast": "1.43.0-rc.8",
27
+ "@akinon/pz-b2b": "1.43.0-rc.8",
28
+ "@akinon/pz-basket-gift-pack": "1.43.0-rc.8",
29
+ "@akinon/pz-bkm": "1.43.0-rc.8",
30
+ "@akinon/pz-checkout-gift-pack": "1.43.0-rc.8",
31
+ "@akinon/pz-click-collect": "1.43.0-rc.8",
32
+ "@akinon/pz-credit-payment": "1.43.0-rc.8",
33
+ "@akinon/pz-gpay": "1.43.0-rc.8",
34
+ "@akinon/pz-masterpass": "1.43.0-rc.8",
35
+ "@akinon/pz-one-click-checkout": "1.43.0-rc.8",
36
+ "@akinon/pz-otp": "1.43.0-rc.8",
37
+ "@akinon/pz-pay-on-delivery": "1.43.0-rc.8",
38
38
  "@hookform/resolvers": "2.9.0",
39
39
  "@next/third-parties": "14.1.0",
40
40
  "@react-google-maps/api": "2.17.1",
@@ -58,7 +58,7 @@
58
58
  "yup": "0.32.11"
59
59
  },
60
60
  "devDependencies": {
61
- "@akinon/eslint-plugin-projectzero": "1.43.0-rc.6",
61
+ "@akinon/eslint-plugin-projectzero": "1.43.0-rc.8",
62
62
  "@semantic-release/changelog": "6.0.2",
63
63
  "@semantic-release/exec": "6.0.3",
64
64
  "@semantic-release/git": "10.0.1",
@@ -1,6 +1,10 @@
1
1
  const { LocaleUrlStrategy } = require('@akinon/next/localization');
2
2
  const { ROUTES } = require('@theme/routes');
3
3
 
4
+ /* IMPORTANT *
5
+ * In order to use one locale in the locales array and hide the default locale in the URL, you need to set the localeUrlStrategy to LocaleUrlStrategy.ShowAllLocales.
6
+ */
7
+
4
8
  const commerceUrl = encodeURI(process.env.SERVICE_BACKEND_URL ?? 'default');
5
9
 
6
10
  /** @type {import('@akinon/next/types').Settings} */
@@ -11,6 +15,7 @@ module.exports = {
11
15
  { translationKey: 'size', key: 'size' }
12
16
  ],
13
17
  localization: {
18
+ // If there is one locale in the locales array, the default locale will be hidden in the URL.
14
19
  locales: [
15
20
  {
16
21
  label: 'EN',
@@ -38,7 +43,7 @@ module.exports = {
38
43
  }
39
44
  ],
40
45
  defaultLocaleValue: 'en',
41
- localeUrlStrategy: LocaleUrlStrategy.HideDefaultLocale,
46
+ localeUrlStrategy: LocaleUrlStrategy.HideDefaultLocale, // If there is one locale in the locales array, the default locale will be hidden in the URL and localeUrlStrategy should be set to LocaleUrlStrategy.ShowAllLocales.
42
47
  redirectToDefaultLocale: true,
43
48
  defaultCurrencyCode: 'usd'
44
49
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.43.0-rc.6",
3
+ "version": "1.43.0-rc.8",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {