Skip to content

Commit

Permalink
chore(deps): use pnpm [CLK-252116] (#283)
Browse files Browse the repository at this point in the history
* chore(deps): use pnpm [CLK-252116]

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* add lib best practices which are usually encoded

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
ahammond and github-actions authored Jun 25, 2024
1 parent 22bf0ba commit e796445
Show file tree
Hide file tree
Showing 17 changed files with 6,084 additions and 5,885 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.

14 changes: 11 additions & 3 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.

1 change: 1 addition & 0 deletions .gitignore

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

5 changes: 5 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.

14 changes: 7 additions & 7 deletions .projen/tasks.json

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

10 changes: 10 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const project = new cdk.JsiiProject({
jsiiVersion: '~5.4.0', // per note, JSII since v5.0.0 are not semver'd so... stick with minor version updates.
// Apache open source license, to match projen license

packageManager: javascript.NodePackageManager.PNPM,
pnpmVersion: '9',

minNodeVersion: parameters.PROJEN_MIN_ENGINE_NODE_VERSION,
workflowNodeVersion: parameters.PROJEN_NODE_VERSION,

Expand Down Expand Up @@ -140,6 +143,13 @@ new YamlFile(project, 'codecov.yml', {
},
});

// Automate part of https://app.clickup-stg.com/333/v/dc/ad-757629/ad-3577645
project.package.addField('packageManager', '[email protected]');
// necessary to allow minor/patch version updates of pnpm on dev boxes
project.npmrc.addConfig('package-manager-strict', 'false');
// PNPM support for bundledDeps https://pnpm.io/npmrc#node-linker
project.npmrc.addConfig('node-linker', 'hoisted');

new TextFile(project, '.nvmrc', {
lines: [parameters.PROJEN_NODE_VERSION],
});
Expand Down
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 e796445

Please sign in to comment.