Skip to content

Commit

Permalink
feat: semver-workflow now injects .npmrc with legacy-peer-deps=true
Browse files Browse the repository at this point in the history
  • Loading branch information
snorrees committed Oct 31, 2022
1 parent d061c02 commit 7c53c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/inject/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions src/presets/semver-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function semverWorkflowFiles(): FromTo[] {
{from: ['.husky', 'commit-msg'], to: ['.husky', 'commit-msg']},
{from: ['.husky', 'pre-commit'], to: ['.husky', 'pre-commit']},
{from: ['.releaserc.json'], to: '.releaserc.json'},
{from: ['.npmrc'], to: '.npmrc'},
{from: ['commitlint.template.js'], to: 'commitlint.config.js'},
{from: ['lint-staged.template.js'], to: 'lint-staged.config.js'},
].map((fromTo) => ({
Expand Down

0 comments on commit 7c53c7a

Please sign in to comment.