Skip to content

Commit

Permalink
Ensured that .npmrc is created (#42)
Browse files Browse the repository at this point in the history
* bugfix: Ensured that .npmrc is created

* chore: Added changeset

---------

Co-authored-by: ijlee2 <[email protected]>
  • Loading branch information
ijlee2 and ijlee2 authored Sep 3, 2024
1 parent 1b1f8e5 commit 104ba54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-bananas-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-v2-addon-repo": patch
---

Ensured that .npmrc is created
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { blueprintsRoot } from '../utils/blueprints.js';
function resolveBlueprintFilePath(blueprintFilePath: string): string {
return blueprintFilePath
.replace('__gitignore__', '.gitignore')
.replace('__.gitignore__', '__gitignore__')
.replace('__npmignore__', '.npmignore')
.replace('__.npmignore__', '__npmignore__');
.replace('__npmrc__', '.npmrc')
.replace('__.gitignore__', '__gitignore__');
}

function setExecutePermissions(options: Options) {
Expand Down

0 comments on commit 104ba54

Please sign in to comment.