diff --git a/.projen/deps.json b/.projen/deps.json index 2479ad8..3a4ec16 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -103,6 +103,10 @@ "name": "typescript", "type": "build" }, + { + "name": "semver", + "type": "bundled" + }, { "name": "@types/babel__traverse", "version": "7.18.2", @@ -122,10 +126,6 @@ "name": "constructs", "version": "^10.0.5", "type": "peer" - }, - { - "name": "semver", - "type": "runtime" } ], "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." diff --git a/.projenrc.js b/.projenrc.js index 3b58df4..4e1daa9 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -18,7 +18,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ '@aws-cdk/lambda-layer-kubectl-v26', '@aws-cdk/lambda-layer-kubectl-v27', ], - deps: [ + bundledDeps: [ 'semver', ], defaultReleaseBranch: 'main', diff --git a/package.json b/package.json index 8688316..3dc3389 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,9 @@ "dependencies": { "semver": "^7.5.4" }, + "bundledDependencies": [ + "semver" + ], "resolutions": { "@types/babel__traverse": "7.18.2", "@types/prettier": "2.6.0"