Skip to content

Commit

Permalink
public access npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsFronius committed Jan 12, 2022
1 parent 8fc8396 commit 9e7a459
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const { awscdk } = require('projen');
const { NodeProject } = require('projen/lib/javascript');
const { NodeProject,
NpmAccess
} = require('projen/lib/javascript');

const project = new awscdk.AwsCdkConstructLibrary({
author: 'Lars Fronius',
Expand All @@ -16,7 +18,8 @@ const project = new awscdk.AwsCdkConstructLibrary({
eslintOptions: {
ignorePatterns: ['src/commercetools-subscription-provider/**']
},
releaseToNpm: true
releaseToNpm: true,
npmAccess: NpmAccess.PUBLIC
});

const lambdaProject = new NodeProject({
Expand Down
3 changes: 3 additions & 0 deletions package.json

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

0 comments on commit 9e7a459

Please sign in to comment.