Skip to content

Commit

Permalink
chore: switch to pnpm [CLK-252116] (#100)
Browse files Browse the repository at this point in the history
* chore: switch to pnpm [CLK-252116]

* Await across the map
  • Loading branch information
ahammond authored May 28, 2024
1 parent ab1d94b commit 1567199
Show file tree
Hide file tree
Showing 13 changed files with 8,114 additions and 7,514 deletions.
5 changes: 3 additions & 2 deletions .gitattributes

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

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

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

18 changes: 13 additions & 5 deletions .github/workflows/release.yml

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

6 changes: 5 additions & 1 deletion .github/workflows/update-projen-main.yml

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

2 changes: 1 addition & 1 deletion .gitignore

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

4 changes: 4 additions & 0 deletions .npmrc

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

1 change: 1 addition & 0 deletions .projen/files.json

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

22 changes: 11 additions & 11 deletions .projen/tasks.json

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

6 changes: 6 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { clickupCdk } from '@time-loop/clickup-projen';
import { javascript } from 'projen';

const bundledDeps = ['@aws-sdk/client-rds', '@aws-sdk/client-secrets-manager', 'aws-xray-sdk-core', 'pg', 'pg-format'];
const peerDeps = ['constructs@^10.0.5', 'multi-convention-namer@^0.1.12'];
Expand All @@ -9,6 +10,8 @@ const project = new clickupCdk.ClickUpCdkConstructLibrary({
cdkVersion: '2.140.0', // custom-resources should be able to use latest sdk
defaultReleaseBranch: 'main',
licensed: true,
packageManager: javascript.NodePackageManager.PNPM,
pnpmVersion: '9',

bundledDeps,
deps: [...bundledDeps],
Expand All @@ -28,4 +31,7 @@ const project = new clickupCdk.ClickUpCdkConstructLibrary({
repositoryUrl: '', // leverage default
authorAddress: '', // leverage default
});

project.npmrc.addConfig('node-linker', 'hoisted'); // PNPM support for bundledDeps https://pnpm.io/npmrc#node-linker

project.synth();
4 changes: 3 additions & 1 deletion package.json

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

Loading

0 comments on commit 1567199

Please sign in to comment.