@akinon/projectzero 1.92.0-rc.17 → 1.92.0-rc.19

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,17 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.92.0-rc.19
4
+
5
+ ### Minor Changes
6
+
7
+ - d8be48f: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
8
+
9
+ ## 1.92.0-rc.18
10
+
11
+ ### Minor Changes
12
+
13
+ - c67942a: ZERO-3423: Updated version control and debug messages for the package
14
+
3
15
  ## 1.92.0-rc.17
4
16
 
5
17
  ## 1.92.0-rc.16
@@ -1,5 +1,58 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.92.0-rc.19
4
+
5
+ ### Minor Changes
6
+
7
+ - d8be48f: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [d8be48f]
12
+ - @akinon/pz-checkout-gift-pack@1.92.0-rc.19
13
+ - @akinon/pz-one-click-checkout@1.92.0-rc.19
14
+ - @akinon/pz-basket-gift-pack@1.92.0-rc.19
15
+ - @akinon/pz-similar-products@1.92.0-rc.19
16
+ - @akinon/pz-tamara-extension@1.92.0-rc.19
17
+ - @akinon/pz-pay-on-delivery@1.92.0-rc.19
18
+ - @akinon/pz-tabby-extension@1.92.0-rc.19
19
+ - @akinon/pz-credit-payment@1.92.0-rc.19
20
+ - @akinon/pz-click-collect@1.92.0-rc.19
21
+ - @akinon/pz-masterpass@1.92.0-rc.19
22
+ - @akinon/pz-saved-card@1.92.0-rc.19
23
+ - @akinon/next@1.92.0-rc.19
24
+ - @akinon/pz-hepsipay@1.92.0-rc.19
25
+ - @akinon/pz-akifast@1.92.0-rc.19
26
+ - @akinon/pz-gpay@1.92.0-rc.19
27
+ - @akinon/pz-b2b@1.92.0-rc.19
28
+ - @akinon/pz-bkm@1.92.0-rc.19
29
+ - @akinon/pz-otp@1.92.0-rc.19
30
+
31
+ ## 1.92.0-rc.18
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [0abde6b]
36
+ - Updated dependencies [b00a90b]
37
+ - @akinon/next@1.92.0-rc.18
38
+ - @akinon/pz-akifast@1.92.0-rc.18
39
+ - @akinon/pz-b2b@1.92.0-rc.18
40
+ - @akinon/pz-basket-gift-pack@1.92.0-rc.18
41
+ - @akinon/pz-bkm@1.92.0-rc.18
42
+ - @akinon/pz-checkout-gift-pack@1.92.0-rc.18
43
+ - @akinon/pz-click-collect@1.92.0-rc.18
44
+ - @akinon/pz-credit-payment@1.92.0-rc.18
45
+ - @akinon/pz-gpay@1.92.0-rc.18
46
+ - @akinon/pz-hepsipay@1.92.0-rc.18
47
+ - @akinon/pz-masterpass@1.92.0-rc.18
48
+ - @akinon/pz-one-click-checkout@1.92.0-rc.18
49
+ - @akinon/pz-otp@1.92.0-rc.18
50
+ - @akinon/pz-pay-on-delivery@1.92.0-rc.18
51
+ - @akinon/pz-saved-card@1.92.0-rc.18
52
+ - @akinon/pz-similar-products@1.92.0-rc.18
53
+ - @akinon/pz-tabby-extension@1.92.0-rc.18
54
+ - @akinon/pz-tamara-extension@1.92.0-rc.18
55
+
3
56
  ## 1.92.0-rc.17
4
57
 
5
58
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.92.0-rc.17",
3
+ "version": "1.92.0-rc.19",
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.17",
28
- "@akinon/pz-akifast": "1.92.0-rc.17",
29
- "@akinon/pz-b2b": "1.92.0-rc.17",
30
- "@akinon/pz-basket-gift-pack": "1.92.0-rc.17",
31
- "@akinon/pz-bkm": "1.92.0-rc.17",
32
- "@akinon/pz-checkout-gift-pack": "1.92.0-rc.17",
33
- "@akinon/pz-click-collect": "1.92.0-rc.17",
34
- "@akinon/pz-credit-payment": "1.92.0-rc.17",
35
- "@akinon/pz-gpay": "1.92.0-rc.17",
36
- "@akinon/pz-hepsipay": "1.92.0-rc.17",
37
- "@akinon/pz-masterpass": "1.92.0-rc.17",
38
- "@akinon/pz-one-click-checkout": "1.92.0-rc.17",
39
- "@akinon/pz-otp": "1.92.0-rc.17",
40
- "@akinon/pz-pay-on-delivery": "1.92.0-rc.17",
41
- "@akinon/pz-saved-card": "1.92.0-rc.17",
42
- "@akinon/pz-similar-products": "1.92.0-rc.17",
43
- "@akinon/pz-tabby-extension": "1.92.0-rc.17",
44
- "@akinon/pz-tamara-extension": "1.92.0-rc.17",
27
+ "@akinon/next": "1.92.0-rc.19",
28
+ "@akinon/pz-akifast": "1.92.0-rc.19",
29
+ "@akinon/pz-b2b": "1.92.0-rc.19",
30
+ "@akinon/pz-basket-gift-pack": "1.92.0-rc.19",
31
+ "@akinon/pz-bkm": "1.92.0-rc.19",
32
+ "@akinon/pz-checkout-gift-pack": "1.92.0-rc.19",
33
+ "@akinon/pz-click-collect": "1.92.0-rc.19",
34
+ "@akinon/pz-credit-payment": "1.92.0-rc.19",
35
+ "@akinon/pz-gpay": "1.92.0-rc.19",
36
+ "@akinon/pz-hepsipay": "1.92.0-rc.19",
37
+ "@akinon/pz-masterpass": "1.92.0-rc.19",
38
+ "@akinon/pz-one-click-checkout": "1.92.0-rc.19",
39
+ "@akinon/pz-otp": "1.92.0-rc.19",
40
+ "@akinon/pz-pay-on-delivery": "1.92.0-rc.19",
41
+ "@akinon/pz-saved-card": "1.92.0-rc.19",
42
+ "@akinon/pz-similar-products": "1.92.0-rc.19",
43
+ "@akinon/pz-tabby-extension": "1.92.0-rc.19",
44
+ "@akinon/pz-tamara-extension": "1.92.0-rc.19",
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.17",
67
+ "@akinon/eslint-plugin-projectzero": "1.92.0-rc.19",
68
68
  "@semantic-release/changelog": "6.0.2",
69
69
  "@semantic-release/exec": "6.0.3",
70
70
  "@semantic-release/git": "10.0.1",
@@ -29,7 +29,14 @@ async function checkVersion(pkg: PackageJson) {
29
29
 
30
30
  if (!semver.satisfies(pkg.dependencies['@akinon/next'], latestVersion)) {
31
31
  console.warn(
32
- `\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.`,
32
+ `\x1b[43m Warning: The "${packageName}" package is currently at`,
33
+ `\x1b[41m version ${pkg.dependencies['@akinon/next']}`,
34
+ `\x1b[43m Please upgrade it to the latest version (${latestVersion}) to ensure plugin compatibility.`,
35
+ '\x1b[0m\n'
36
+ );
37
+ } else {
38
+ console.log(
39
+ `\x1b[42m Info: The package "${packageName}" is currently in the current version (${latestVersion}).`,
33
40
  '\x1b[0m\n'
34
41
  );
35
42
  }
@@ -54,7 +61,27 @@ export default async () => {
54
61
  }
55
62
  }
56
63
 
57
- const pkg: PackageJson = require(path.resolve(rootDir, './package.json'));
64
+ function findPackageJson(): PackageJson {
65
+ const packageJsonPaths = [
66
+ path.resolve(rootDir, './package.json'),
67
+ path.resolve(rootDir, './apps/projectzeronext/package.json')
68
+ ];
69
+
70
+ for (const packageJsonPath of packageJsonPaths) {
71
+ try {
72
+ const pkg = require(packageJsonPath);
73
+ if (pkg.dependencies['@akinon/next']) {
74
+ return pkg;
75
+ }
76
+ } catch (error) {
77
+ continue;
78
+ }
79
+ }
80
+
81
+ throw new Error('Could not find package.json with @akinon/next dependency');
82
+ }
83
+
84
+ const pkg = findPackageJson();
58
85
  await checkVersion(pkg);
59
86
 
60
87
  const pluginsFilePath = findPluginsFilePath();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.92.0-rc.17",
3
+ "version": "1.92.0-rc.19",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {