We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d2cd3a commit b7633b9Copy full SHA for b7633b9
src/makePatch.ts
@@ -102,6 +102,12 @@ export function makePatch({
102
"package.json",
103
)).version as string
104
105
+ // copy .npmrc in case if packages are hosted in private registry
106
+ const npmrcPath = join(appPath, ".npmrc")
107
+ if (existsSync(npmrcPath)) {
108
+ copySync(npmrcPath, join(tmpRepo.name, ".npmrc"))
109
+ }
110
+
111
if (packageManager === "yarn") {
112
console.info(
113
chalk.grey("•"),
0 commit comments