diff --git a/.npmignore b/.npmignore index a60008c..5b14b21 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,5 @@ # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". +/example/lambda/node_modules /.projen/ /test-reports/ junit.xml diff --git a/.projenrc.ts b/.projenrc.ts index c0da7f5..9ba405b 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -15,6 +15,9 @@ const project = new awscdk.AwsCdkConstructLibrary({ dirs: [], ignorePatterns: ['example/**/*', 'test/assets/**/*', 'test/*.snapshot/**/*', '*.d.ts'], }, + npmIgnoreOptions: { + ignorePatterns: ['/example/lambda/node_modules'], + }, gitignore: ['*.js', '*.d.ts', '!test/.*.snapshot/**/*', '.tmp'], keywords: ['aws', 'cdk', 'lambda', 'aws-cdk'], tsconfigDev: {