-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
* 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
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
||
|
@@ -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], | ||
}); | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.