Skip to content

Commit

Permalink
add lib best practices which are usually encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
ahammond committed Jun 25, 2024
1 parent 3f805fa commit 0eef073
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmrc

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

7 changes: 7 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,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
1 change: 1 addition & 0 deletions package.json

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

0 comments on commit 0eef073

Please sign in to comment.