Skip to content

Commit

Permalink
feat(npm-commands): added initial commands for programmatically depre…
Browse files Browse the repository at this point in the history
…cate packages
  • Loading branch information
sridharmallela committed Jan 20, 2025
1 parent d1b4214 commit 1cad49c
Show file tree
Hide file tree
Showing 9 changed files with 213 additions and 190 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"env": { "jest": true },
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"jest/no-standalone-expect": "off"
"jest/no-standalone-expect": "off",
"jest/no-conditional-expect": "off"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/nx-publish/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ try {
if (npmTag !== '0.0.0') {
debug(`${proj} >> Executing npm deprecate"`);
execSync(
`npm deprecate ${pkgName}@"<${pkgTag}" "Version is no longer supported, deprecated in favor of latest version, please upgrade to \"${pkgName}@${pkgTag}\" which provides latest features, performance improvements and bugfixes."`
`npm deprecate ${pkgName}@"<${pkgTag}" "Version is no longer supported, deprecated in favor of latest version, please update to \"${pkgName}@${pkgTag}\", which offers more features, better tests and offers security fixes. Any enhancements or bug fix requests to this version are no more supported."`
);
info(`Completed npm deprecate for ${proj}`);
}
Expand Down
Loading

0 comments on commit 1cad49c

Please sign in to comment.