Skip to content

Commit

Permalink
feat: switch to npm package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
edelwud committed Mar 17, 2023
1 parent f1958b6 commit 0697ae3
Show file tree
Hide file tree
Showing 14 changed files with 13,422 additions and 6,794 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json

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

4 changes: 2 additions & 2 deletions .gitattributes

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

4 changes: 2 additions & 2 deletions .github/workflows/build.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache: npm
- name: Build
run: |-
yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upgrade.yml

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

16 changes: 16 additions & 0 deletions .projen/deps.json

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

10 changes: 5 additions & 5 deletions .projen/tasks.json

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

11 changes: 9 additions & 2 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { awscdk } = require("projen");
const { NodePackageManager } = require("projen/lib/javascript");

const project = new awscdk.AwsCdkTypeScriptApp({
name: "dynamodb-s3-export",
Expand All @@ -15,14 +16,20 @@ const project = new awscdk.AwsCdkTypeScriptApp({
"@aws-lambda-powertools/logger",
"@aws-lambda-powertools/tracer",
"@aws-lambda-powertools/metrics",
"@aws-prototyping-sdk/aws-arch",
"@aws-prototyping-sdk/cdk-graph",
"@aws-prototyping-sdk/cdk-graph-plugin-diagram",
"@aws-prototyping-sdk/pdk-nag",
"@middy/core",
"csv-stringify",
"@aws-prototyping-sdk/pdk-nag",
"cdk-nag",
"cdk-pipelines-github",
"fs-extra",
],
devDeps: ["@types/aws-lambda"],

packageManager: NodePackageManager.NPM,

prettier: true,
gitignore: [".idea"],

Expand All @@ -32,7 +39,7 @@ const project = new awscdk.AwsCdkTypeScriptApp({
uses: "actions/setup-node@v3",
with: {
"node-version": "18",
cache: "yarn",
cache: "npm",
},
},
],
Expand Down
Loading

0 comments on commit 0697ae3

Please sign in to comment.