@zohodesk/codestandard-validator 1.2.4-exp-8 → 1.3.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.
@@ -24,9 +24,9 @@ function postInstallExecution() {
24
24
  initializationPath
25
25
  } = getServicePathElseCommon();
26
26
  const {
27
- intialize
27
+ initialize
28
28
  } = require(initializationPath);
29
- intialize();
29
+ initialize();
30
30
  } catch (error) {
31
31
  Logger.log(Logger.FAILURE_TYPE, `Error while initialize configuration: ${error}`);
32
32
  }
package/changeLog.md CHANGED
@@ -48,6 +48,13 @@
48
48
  1. ProjectId api revamp
49
49
  2. code standard analytics bin bind to code standard validator bin
50
50
 
51
- # 1.2.4
51
+ # 1.2.4
52
52
 
53
53
  1. Refactor configuration loading and linting process, update mandatory rules handling, and improve pre-commit hook functionality
54
+
55
+ # 1.3.4
56
+
57
+ 1. Fix typo in environment variable name: `MANDARORY_RULES` corrected to `MANDATORY_RULES`
58
+ 2. Fix typo in Config.js: `intialize` corrected to `initialize` for post-install execution
59
+ 3. Remove unused `jest.setup.js` placeholder file
60
+ 4. Version bump from `1.2.4-exp-7` to `1.2.4-exp-9`
@@ -1,3 +1,3 @@
1
- const MandatoryListRules = JSON.parse(process.env.MANDARORY_RULES || '[]')
1
+ const MandatoryListRules = JSON.parse(process.env.MANDATORY_RULES || '[]')
2
2
 
3
3
  module.exports = MandatoryListRules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/codestandard-validator",
3
- "version": "1.2.4-exp-8",
3
+ "version": "1.3.0",
4
4
  "description": "library to enforce code standard using eslint",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/jest.setup.js DELETED
@@ -1 +0,0 @@
1
- // Intentionally empty. Tests use local mocks for dependencies like Logger, fs, etc.