@zohodesk/codestandard-validator 1.2.4-exp-9 → 1.3.1
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const {
|
|
4
4
|
existsSync,
|
|
5
|
-
|
|
5
|
+
rmSync
|
|
6
6
|
} = require('fs');
|
|
7
7
|
const {
|
|
8
8
|
Logger
|
|
@@ -20,7 +20,7 @@ function removeFolder(folderPath) {
|
|
|
20
20
|
try {
|
|
21
21
|
let isCommonConfigFolderPresent = existsSync(folderPath);
|
|
22
22
|
if (isCommonConfigFolderPresent) {
|
|
23
|
-
executeSynchronizedCommands(
|
|
23
|
+
executeSynchronizedCommands(rmSync, [folderPath, {
|
|
24
24
|
recursive: true,
|
|
25
25
|
force: true
|
|
26
26
|
}], 'common linter configuration folder removed successfully', 'Unable to remove the common linter configuration folder', false, false);
|
package/changeLog.md
CHANGED
|
@@ -48,6 +48,18 @@
|
|
|
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`
|
|
61
|
+
|
|
62
|
+
# 1.3.1 - Bug Fixes
|
|
63
|
+
|
|
64
|
+
1. Replace asynchronous `fs.rm` with synchronous `fs.rmSync` in folder cleanup utility to align with synchronized command execution.
|
|
65
|
+
2. Update package version from `1.3.0` to `1.3.1`.
|
package/package.json
CHANGED
package/jest.setup.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// Intentionally empty. Tests use local mocks for dependencies like Logger, fs, etc.
|