Skip to content

Commit d67b252

Browse files
committed
fix build error about strip-ansi
1 parent 77912fe commit d67b252

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.projen/deps.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ new AdcPublishing(repoProject);
322322

323323
const repo = configureProject(repoProject);
324324

325+
// Add resolutions for strip-ansi to fix Yarn hoisting issue with BedrockAgentCore SDK
326+
repo.package.addPackageResolutions('strip-ansi@^6.0.1');
327+
325328
interface GenericProps {
326329
private?: boolean;
327330
}

package.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 3 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)