Skip to content

Commit 176e381

Browse files
authored
Merge pull request #647 from Quenty/fix/pnpm-template
fix: templates now rename 'npmrc' to '.npmrc', similar to .gitignore files (while not on a fork, in order to pass publishing tests)
2 parents 28054a1 + 622f151 commit 176e381

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
File renamed without changes.
File renamed without changes.

tools/nevermore-template-helpers/src/templateHelpers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export class TemplateHelper {
6363
if (newName == 'gitignore') {
6464
newName = '.gitignore';
6565
}
66+
if (newName == 'npmrc') {
67+
newName = '.npmrc';
68+
}
6669

6770
const stats = await fs.promises.stat(origFilePath);
6871

0 commit comments

Comments
 (0)