@elliemae/ds-codemods 3.46.2 → 3.48.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.
|
@@ -73,14 +73,14 @@ export const checkPackagesInconsistencies = async (options) => {
|
|
|
73
73
|
(highestVersion.major === latestVersionParsed.major && highestVersion.minor < latestVersionParsed.minor - 6);
|
|
74
74
|
if (shouldUpdateToNewest) {
|
|
75
75
|
console.log(boldBrightYellowBgRedStr('We detected that you are using a version that is too outdated'));
|
|
76
|
-
console.log(brightYellowStr(`Detected (highest) version
|
|
77
|
-
console.log(brightYellowStr(`Latest version
|
|
76
|
+
console.log(brightYellowStr(`Detected (highest) version:`), boldRedStr(highestVersion.fullVersion));
|
|
77
|
+
console.log(brightYellowStr(`Latest version:`), boldBrightCyanStr(latestVersionParsed.fullVersion));
|
|
78
78
|
console.log(boldBrightYellowBgRedStr('Please update to the newest version release as soon as possible!'));
|
|
79
79
|
} else {
|
|
80
80
|
console.log(yellowStr('you are using an aceptable dimsum version!'));
|
|
81
81
|
}
|
|
82
82
|
if (!hasErrors && !shouldUpdateToNewest) console.log(brightGreenStr('no immediate action is required!'));
|
|
83
|
-
if (highestVersion.minor !== latestVersionParsed.minor)
|
|
83
|
+
if (!hasErrors && !shouldUpdateToNewest && highestVersion.minor !== latestVersionParsed.minor)
|
|
84
84
|
console.log(
|
|
85
85
|
brightYellowStr(
|
|
86
86
|
'\tstill, please consider updating to latest version as soon as possible to avoid more difficult updates in the future!',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-codemods",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.48.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Code Mods",
|
|
6
6
|
"files": [
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"fs-extra": "~11.1.1",
|
|
37
37
|
"glob": "~10.2.5",
|
|
38
38
|
"ignore": "^5.3.0",
|
|
39
|
-
"inquirer": "~
|
|
40
|
-
"pacote": "~
|
|
39
|
+
"inquirer": "~12.0.0",
|
|
40
|
+
"pacote": "~20.0.0",
|
|
41
41
|
"path": "~0.12.7",
|
|
42
42
|
"voca": "~1.4.0"
|
|
43
43
|
},
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"dev:install": "pnpm --filter {.}... i --no-lockfile",
|
|
50
50
|
"test-codemods": "npx ./",
|
|
51
|
+
"test-check-packages-inconsistencies": "npx ./ check-packages-inconsistencies --globPattern='./test-ables/check-packages-inconsistencies/package.mock' --globPatternIgnore='**/node_modules/**/*'",
|
|
51
52
|
"test-check-deprecated-packages": "npx ./ check-deprecated-packages --cwd=\"test-ables/check-deprecated-packages/with-deprecated\"",
|
|
52
53
|
"test-check-deprecated-packages-no-dimsum": "npx ./ check-deprecated-packages --cwd=\"test-ables/check-deprecated-packages/without-dimsum-packages\"",
|
|
53
54
|
"test-components-usage-report-deprecated": "npx ./ deprecated-components-usage-report --outputPath=\"./test.csv\" --startingDirPath=\"../../../environments\" --gitIgnorePath=\"../../../.gitignore\"",
|