@akinon/projectzero 1.92.0-rc.30 → 1.92.0-rc.32

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.92.0-rc.32
4
+
5
+ ## 1.92.0-rc.31
6
+
3
7
  ## 1.92.0-rc.30
4
8
 
5
9
  ## 1.92.0-rc.29
@@ -1,5 +1,53 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.92.0-rc.32
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [54e3179]
8
+ - @akinon/pz-similar-products@1.92.0-rc.32
9
+ - @akinon/next@1.92.0-rc.32
10
+ - @akinon/pz-akifast@1.92.0-rc.32
11
+ - @akinon/pz-b2b@1.92.0-rc.32
12
+ - @akinon/pz-basket-gift-pack@1.92.0-rc.32
13
+ - @akinon/pz-bkm@1.92.0-rc.32
14
+ - @akinon/pz-checkout-gift-pack@1.92.0-rc.32
15
+ - @akinon/pz-click-collect@1.92.0-rc.32
16
+ - @akinon/pz-credit-payment@1.92.0-rc.32
17
+ - @akinon/pz-gpay@1.92.0-rc.32
18
+ - @akinon/pz-hepsipay@1.92.0-rc.32
19
+ - @akinon/pz-masterpass@1.92.0-rc.32
20
+ - @akinon/pz-one-click-checkout@1.92.0-rc.32
21
+ - @akinon/pz-otp@1.92.0-rc.32
22
+ - @akinon/pz-pay-on-delivery@1.92.0-rc.32
23
+ - @akinon/pz-saved-card@1.92.0-rc.32
24
+ - @akinon/pz-tabby-extension@1.92.0-rc.32
25
+ - @akinon/pz-tamara-extension@1.92.0-rc.32
26
+
27
+ ## 1.92.0-rc.31
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [acd2afdf]
32
+ - @akinon/next@1.92.0-rc.31
33
+ - @akinon/pz-akifast@1.92.0-rc.31
34
+ - @akinon/pz-b2b@1.92.0-rc.31
35
+ - @akinon/pz-basket-gift-pack@1.92.0-rc.31
36
+ - @akinon/pz-bkm@1.92.0-rc.31
37
+ - @akinon/pz-checkout-gift-pack@1.92.0-rc.31
38
+ - @akinon/pz-click-collect@1.92.0-rc.31
39
+ - @akinon/pz-credit-payment@1.92.0-rc.31
40
+ - @akinon/pz-gpay@1.92.0-rc.31
41
+ - @akinon/pz-hepsipay@1.92.0-rc.31
42
+ - @akinon/pz-masterpass@1.92.0-rc.31
43
+ - @akinon/pz-one-click-checkout@1.92.0-rc.31
44
+ - @akinon/pz-otp@1.92.0-rc.31
45
+ - @akinon/pz-pay-on-delivery@1.92.0-rc.31
46
+ - @akinon/pz-saved-card@1.92.0-rc.31
47
+ - @akinon/pz-similar-products@1.92.0-rc.31
48
+ - @akinon/pz-tabby-extension@1.92.0-rc.31
49
+ - @akinon/pz-tamara-extension@1.92.0-rc.31
50
+
3
51
  ## 1.92.0-rc.30
4
52
 
5
53
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.92.0-rc.30",
3
+ "version": "1.92.0-rc.32",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -24,24 +24,24 @@
24
24
  "test:middleware": "jest middleware-matcher.test.ts --bail"
25
25
  },
26
26
  "dependencies": {
27
- "@akinon/next": "1.92.0-rc.30",
28
- "@akinon/pz-akifast": "1.92.0-rc.30",
29
- "@akinon/pz-b2b": "1.92.0-rc.30",
30
- "@akinon/pz-basket-gift-pack": "1.92.0-rc.30",
31
- "@akinon/pz-bkm": "1.92.0-rc.30",
32
- "@akinon/pz-checkout-gift-pack": "1.92.0-rc.30",
33
- "@akinon/pz-click-collect": "1.92.0-rc.30",
34
- "@akinon/pz-credit-payment": "1.92.0-rc.30",
35
- "@akinon/pz-gpay": "1.92.0-rc.30",
36
- "@akinon/pz-hepsipay": "1.92.0-rc.30",
37
- "@akinon/pz-masterpass": "1.92.0-rc.30",
38
- "@akinon/pz-one-click-checkout": "1.92.0-rc.30",
39
- "@akinon/pz-otp": "1.92.0-rc.30",
40
- "@akinon/pz-pay-on-delivery": "1.92.0-rc.30",
41
- "@akinon/pz-saved-card": "1.92.0-rc.30",
42
- "@akinon/pz-similar-products": "1.92.0-rc.30",
43
- "@akinon/pz-tabby-extension": "1.92.0-rc.30",
44
- "@akinon/pz-tamara-extension": "1.92.0-rc.30",
27
+ "@akinon/next": "1.92.0-rc.32",
28
+ "@akinon/pz-akifast": "1.92.0-rc.32",
29
+ "@akinon/pz-b2b": "1.92.0-rc.32",
30
+ "@akinon/pz-basket-gift-pack": "1.92.0-rc.32",
31
+ "@akinon/pz-bkm": "1.92.0-rc.32",
32
+ "@akinon/pz-checkout-gift-pack": "1.92.0-rc.32",
33
+ "@akinon/pz-click-collect": "1.92.0-rc.32",
34
+ "@akinon/pz-credit-payment": "1.92.0-rc.32",
35
+ "@akinon/pz-gpay": "1.92.0-rc.32",
36
+ "@akinon/pz-hepsipay": "1.92.0-rc.32",
37
+ "@akinon/pz-masterpass": "1.92.0-rc.32",
38
+ "@akinon/pz-one-click-checkout": "1.92.0-rc.32",
39
+ "@akinon/pz-otp": "1.92.0-rc.32",
40
+ "@akinon/pz-pay-on-delivery": "1.92.0-rc.32",
41
+ "@akinon/pz-saved-card": "1.92.0-rc.32",
42
+ "@akinon/pz-similar-products": "1.92.0-rc.32",
43
+ "@akinon/pz-tabby-extension": "1.92.0-rc.32",
44
+ "@akinon/pz-tamara-extension": "1.92.0-rc.32",
45
45
  "@hookform/resolvers": "2.9.0",
46
46
  "@next/third-parties": "14.1.0",
47
47
  "@react-google-maps/api": "2.17.1",
@@ -64,7 +64,7 @@
64
64
  "yup": "0.32.11"
65
65
  },
66
66
  "devDependencies": {
67
- "@akinon/eslint-plugin-projectzero": "1.92.0-rc.30",
67
+ "@akinon/eslint-plugin-projectzero": "1.92.0-rc.32",
68
68
  "@semantic-release/changelog": "6.0.2",
69
69
  "@semantic-release/exec": "6.0.3",
70
70
  "@semantic-release/git": "10.0.1",
@@ -152,3 +152,6 @@ url("./pz-icon.svg?db4ba799c4ca72f4bb855458e0cd19ee#pz-icon") format("svg");
152
152
  .pz-icon-whatsapp:before {
153
153
  content: "\f12c";
154
154
  }
155
+ .pz-icon-camera:before {
156
+ content: "\f12d";
157
+ }
@@ -89,7 +89,9 @@ export default function Search() {
89
89
 
90
90
  <PluginModule
91
91
  component={Component.HeaderImageSearchFeature}
92
- props={{}}
92
+ props={{
93
+ enableTextSearch: true
94
+ }}
93
95
  />
94
96
 
95
97
  <Icon
@@ -96,7 +96,8 @@ export default function ProductInfoSlider({ product }: ProductSliderItem) {
96
96
  props={{
97
97
  product,
98
98
  activeIndex,
99
- showResetButton: true
99
+ showResetButton: true,
100
+ enableTextSearch: true
100
101
  }}
101
102
  />
102
103
 
@@ -50,7 +50,10 @@ function checkVersion(pkg) {
50
50
  const pkgInfo = (yield response.json());
51
51
  const latestVersion = pkgInfo['dist-tags'].latest;
52
52
  if (!semver_1.default.satisfies(pkg.dependencies['@akinon/next'], latestVersion)) {
53
- console.warn(`\x1b[43mWarning: The "${packageName}" package is currently at version ${pkg.dependencies['@akinon/next']}. Please upgrade it to the latest version (${latestVersion}) to ensure plugin compatibility.`, '\x1b[0m\n');
53
+ console.warn(`\x1b[43m Warning: The "${packageName}" package is currently at`, `\x1b[41m version ${pkg.dependencies['@akinon/next']}`, `\x1b[43m Please upgrade it to the latest version (${latestVersion}) to ensure plugin compatibility.`, '\x1b[0m\n');
54
+ }
55
+ else {
56
+ console.log(`\x1b[42m Info: The package "${packageName}" is currently in the current version (${latestVersion}).`, '\x1b[0m\n');
54
57
  }
55
58
  }
56
59
  catch (error) {
@@ -72,7 +75,25 @@ exports.default = () => __awaiter(void 0, void 0, void 0, function* () {
72
75
  throw new Error('plugins.js was not found in either of the expected locations.');
73
76
  }
74
77
  }
75
- const pkg = require(path_1.default.resolve(rootDir, './package.json'));
78
+ function findPackageJson() {
79
+ const packageJsonPaths = [
80
+ path_1.default.resolve(rootDir, './package.json'),
81
+ path_1.default.resolve(rootDir, './apps/projectzeronext/package.json')
82
+ ];
83
+ for (const packageJsonPath of packageJsonPaths) {
84
+ try {
85
+ const pkg = require(packageJsonPath);
86
+ if (pkg.dependencies['@akinon/next']) {
87
+ return pkg;
88
+ }
89
+ }
90
+ catch (error) {
91
+ continue;
92
+ }
93
+ }
94
+ throw new Error('Could not find package.json with @akinon/next dependency');
95
+ }
96
+ const pkg = findPackageJson();
76
97
  yield checkVersion(pkg);
77
98
  const pluginsFilePath = findPluginsFilePath();
78
99
  let installedPlugins = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.92.0-rc.30",
3
+ "version": "1.92.0-rc.32",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {