Skip to content

Commit

Permalink
fix(core): do not replace @nrwl mentions in CHANGELOG.md (#16512)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Apr 24, 2023
1 parent cc0d912 commit 5272e5a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/devkit/src/utils/replace-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,13 @@ function replaceMentions(
newPackageName: string
) {
visitNotIgnoredFiles(tree, '.', (path) => {
if (['yarn.lock', 'package-lock.json', 'pnpm-lock.yaml'].includes(path)) {
const ignoredFiles = [
'yarn.lock',
'package-lock.json',
'pnpm-lock.yaml',
'CHANGELOG.md',
];
if (ignoredFiles.includes(path)) {
return;
}

Expand Down

1 comment on commit 5272e5a

@vercel
Copy link

@vercel vercel bot commented on 5272e5a Apr 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.