@@ -133,7 +133,7 @@ var CLI_INSTALLATION_SECTION = [
133
133
] . join ( '\n' ) ;
134
134
135
135
var mainDir = join ( __dirname , '..' , '..' , '..' , '..' , '..' ) ;
136
- var DOTFILES = [ '.editorconfig' , '.gitignore' , '.gitattributes' , 'CONTRIBUTORS' , 'NOTICE' , 'CITATION.cff' ] ;
136
+ var DOTFILES = [ '.editorconfig' , '.gitignore' , '.gitattributes' , '.npmrc' , ' CONTRIBUTORS', 'NOTICE' , 'CITATION.cff' ] ;
137
137
138
138
var WORKFLOW_CLOSE_PULLS = [
139
139
'#/' ,
@@ -740,7 +740,6 @@ function publish( pkg, clbk ) {
740
740
customLicense = false ;
741
741
}
742
742
fs . copyFileSync ( join ( __dirname , 'templates' , '.npmignore.txt' ) , join ( dist , '.npmignore' ) ) ;
743
- fs . copyFileSync ( join ( __dirname , 'templates' , '.npmrc.txt' ) , join ( dist , '.npmrc' ) ) ;
744
743
fs . copyFileSync ( join ( __dirname , 'templates' , 'Makefile.txt' ) , join ( dist , 'Makefile' ) ) ;
745
744
fs . copyFileSync ( join ( __dirname , 'templates' , '.eslintrc.js.txt' ) , join ( dist , '.eslintrc.js' ) ) ;
746
745
writeFileSync ( join ( dist , 'CHANGELOG.md' ) , replace ( CHANGELOG , '<pkg>' , distPkg ) ) ;
0 commit comments