Skip to content

Commit

Permalink
fix(monorepo): exclude projen from version update during monorepo upg…
Browse files Browse the repository at this point in the history
…rade-deps (#837) (#842)

Added `--reject projen` to `npm-check-updates` step of `upgrade-deps` task.

Co-authored-by: Jack Stevenson <jacsteve@amazon.com>
  • Loading branch information
memorsolutions and cogwirrel authored Oct 7, 2024
1 parent 02d87c1 commit 39ad2da
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/monorepo/src/projects/typescript/monorepo-ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ export class MonorepoTsProject
NodePackageUtils.command.exec(
this.package.packageManager,
"npm-check-updates",
"--reject projen",
"--deep",
"--rejectVersion",
"0.0.0",
Expand Down
28 changes: 14 additions & 14 deletions packages/monorepo/test/__snapshots__/monorepo.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39ad2da

Please sign in to comment.