@akinon/next 1.24.0-rc.7 → 1.25.0-rc.0

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,59 +1,39 @@
1
1
  # @akinon/next
2
2
 
3
- ## 1.24.0-rc.7
4
-
5
- ### Minor Changes
6
-
7
- - 6d4aadb9: ZERO-2476: Auto install recommendenent extension
8
- - 3690d3bd: ZERO-2485: Eslint version dynamically adds as a peerdependinciey and checks the version
9
-
10
- ## 1.24.0-rc.6
3
+ ## 1.25.0-rc.0
11
4
 
12
5
  ### Minor Changes
13
6
 
7
+ - 6d4aadb: ZERO-2476: Auto install recommendenent extension
14
8
  - e20b27f: ZERO-2454:add otp login
15
9
  - a4674c6: ZERO-2461: add optional chaining for referrer header and add locale value for redirect url
16
10
  - 1ec9775: ZERO-2462:add custom span to logs
17
-
18
- ## 1.24.0-rc.5
19
-
20
- ## 1.24.0-rc.4
21
-
22
- ### Minor Changes
23
-
24
- - 07927ac: ZERO-2457: Add more events for GTM tracking
25
-
26
- ## 1.24.0-rc.3
27
-
28
- ## 1.24.0-rc.2
11
+ - 3690d3b: ZERO-2485: Check ESLint peerDependency version
12
+ - b4452e9: ZERO-2463: Refactor Sentry initialization and add Sentry DSN option to settings
13
+ - b2da5e4: Revert ZERO-2435
29
14
 
30
15
  ### Patch Changes
31
16
 
17
+ - da1e501: ZERO-2296: Fix ROUTES import
18
+ - 2e44646: ZERO-2434: Fix category URL in getCategoryDataHandler function
32
19
  - 8c7f5bc: ZERO-2440: Pipeline test
20
+ - @akinon/eslint-plugin-projectzero@1.25.0-rc.0
33
21
 
34
- ## 1.24.0-rc.1
35
-
36
- ### Patch Changes
37
-
38
- - 9b10323: ZERO-2440: Add type declarations for @akinon/pz-otp modules
39
-
40
- ## 1.24.0-rc.0
22
+ ## 1.24.0
41
23
 
42
24
  ### Minor Changes
43
25
 
44
- - 8bc6085: ZERO-2472: RTK Query Invalidate
45
- - 02a3c58: ZERO-2460: Breadcrumb checks for undefined values
46
- - 0181251: ZERO-2440: move otp popup state to redux
47
- - 07cc81a: Add infinite and more types to pagination
48
- - 8d6caba: ZERO-2434: enhance error handling and logging in appFetch function
49
- - b4452e9: ZERO-2463: Refactor Sentry initialization and add Sentry DSN option to settings
50
- - b2da5e4: Revert ZERO-2435
26
+ - 8bc6085d: ZERO-2472: RTK Query Invalidate
27
+ - 02a3c58b: ZERO-2460: Breadcrumb checks for undefined values
28
+ - 01812512: ZERO-2440: move otp popup state to redux
29
+ - 07cc81a4: ZERO-2388: Add infinite and more types to pagination
30
+ - 8d6caba0: ZERO-2434: enhance error handling and logging in appFetch function
31
+ - 07927acb: ZERO-2457: Add more events for GTM tracking
51
32
 
52
33
  ### Patch Changes
53
34
 
54
- - da1e501: ZERO-2296: Fix ROUTES import
55
- - 2e44646: ZERO-2434: Fix category URL in getCategoryDataHandler function
56
- - 2e9476c: ZERO-2434: remove error throwing in appFetch
35
+ - 9b103231: ZERO-2440: Add type declarations for @akinon/pz-otp modules
36
+ - 2e9476c7: ZERO-2434: remove error throwing in appFetch
57
37
 
58
38
  ## 1.23.0
59
39
 
@@ -3,7 +3,6 @@
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
5
  const semver = require('semver');
6
- const { execSync } = require('child_process');
7
6
 
8
7
  function checkDir() {
9
8
  let currentDir = __dirname;
@@ -22,33 +21,6 @@ function checkDir() {
22
21
  return path.resolve(__dirname, '../../../../');
23
22
  }
24
23
 
25
- function getCurrentBranchName() {
26
- try {
27
- return execSync('git rev-parse --abbrev-ref HEAD').toString().trim();
28
- } catch (error) {
29
- console.error(`Error fetching current branch name: ${error}`);
30
- process.exit(1);
31
- }
32
- }
33
-
34
- function fetchLatestPackageVersion(packageName) {
35
- const currentBranch = getCurrentBranchName();
36
- let npmShowCommand = `npm show ${packageName} version`;
37
-
38
- if (currentBranch === 'rc') {
39
- npmShowCommand = `npm show ${packageName}@rc version`;
40
- }
41
-
42
- try {
43
- return execSync(npmShowCommand).toString().trim();
44
- } catch (error) {
45
- console.error(
46
- `Error fetching latest version for package ${packageName}: ${error}`
47
- );
48
- process.exit(1);
49
- }
50
- }
51
-
52
24
  const BASE_DIR = checkDir();
53
25
 
54
26
  function getProjectZeroNextPackagePath() {
@@ -83,24 +55,6 @@ try {
83
55
  fs.readFileSync(projectZeroNextPackagePath, 'utf8')
84
56
  );
85
57
 
86
- const eslintPluginLatestVersion = fetchLatestPackageVersion(
87
- '@akinon/eslint-plugin-projectzero'
88
- );
89
-
90
- akinonNextPackage.peerDependencies = {
91
- ...akinonNextPackage.peerDependencies,
92
- '@akinon/eslint-plugin-projectzero': `${eslintPluginLatestVersion}`
93
- };
94
-
95
- fs.writeFileSync(
96
- akinonNextPackagePath,
97
- JSON.stringify(akinonNextPackage, null, 2) + '\n'
98
- );
99
-
100
- console.log(
101
- '@akinon/next peerDependencies updated with the latest @akinon/eslint-plugin-projectzero version'
102
- );
103
-
104
58
  const { peerDependencies } = akinonNextPackage;
105
59
 
106
60
  let hasErrors = false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/next",
3
3
  "description": "Core package for Project Zero Next",
4
- "version": "1.24.0-rc.7",
4
+ "version": "1.25.0-rc.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -32,7 +32,10 @@
32
32
  "@typescript-eslint/eslint-plugin": "6.7.4",
33
33
  "@typescript-eslint/parser": "6.7.4",
34
34
  "eslint": "^8.14.0",
35
- "@akinon/eslint-plugin-projectzero": "1.24.0-rc.7",
35
+ "@akinon/eslint-plugin-projectzero": "1.24.0",
36
36
  "eslint-config-prettier": "8.5.0"
37
+ },
38
+ "peerDependencies": {
39
+ "@akinon/eslint-plugin-projectzero": "1.24.0"
37
40
  }
38
41
  }