Skip to content

Commit

Permalink
Merge pull request #62 from event-catalog/adding-npmrc-file-to-templates
Browse files Browse the repository at this point in the history
chore(cli): added npmrc file to new projects
  • Loading branch information
boyney123 authored Jan 23, 2025
2 parents 3c67c2b + c2a57f6 commit 8b5b335
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-plums-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@eventcatalog/create-eventcatalog": patch
---

chore(cli): added npmrc file to new projects
1 change: 1 addition & 0 deletions templates/default/npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-peer-dependencies=false
1 change: 1 addition & 0 deletions templates/empty/npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-peer-dependencies=false
1 change: 1 addition & 0 deletions templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const installTemplate = async ({
switch (name) {
case "env":
case "gitignore":
case "npmrc":
case "dockerignore":
case "eslintrc.json": {
return ".".concat(name);
Expand Down

0 comments on commit 8b5b335

Please sign in to comment.