Skip to content

Commit

Permalink
chore: switch to pnpm [CLK-252116]
Browse files Browse the repository at this point in the history
  • Loading branch information
ahammond committed May 14, 2024
1 parent d675e4c commit 200812a
Show file tree
Hide file tree
Showing 12 changed files with 8,175 additions and 7,518 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.

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

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

20 changes: 14 additions & 6 deletions .github/workflows/release.yml

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

8 changes: 6 additions & 2 deletions .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.

20 changes: 10 additions & 10 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();
3 changes: 2 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 200812a

Please sign in to comment.