netcore-blueprint 0.0.83 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/replacer.js +3 -2
- package/package.json +1 -1
package/lib/replacer.js
CHANGED
|
@@ -38,7 +38,7 @@ function copyAndRenameFiles(src, dest, replaceMap) {
|
|
|
38
38
|
const renamed = applyReplacements(entry.name, replaceMap);
|
|
39
39
|
const destPath = path.join(dest, renamed);
|
|
40
40
|
|
|
41
|
-
copyAndRenameFiles(srcPath, destPath);
|
|
41
|
+
copyAndRenameFiles(srcPath, destPath, replaceMap);
|
|
42
42
|
}
|
|
43
43
|
} else {
|
|
44
44
|
let content = fs.readFileSync(src, 'utf8');
|
|
@@ -154,7 +154,7 @@ function addProjectReferencesToCsproj(hostApiCsprojPath, refs) {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
const projectRefXml = refs
|
|
157
|
-
.map(r =>
|
|
157
|
+
.map(r => ` <ProjectReference Include="${r}" />`)
|
|
158
158
|
.join('\n');
|
|
159
159
|
|
|
160
160
|
content = appendProjectReferences(content, projectRefXml);
|
|
@@ -182,6 +182,7 @@ function appendProjectReferences(content, projectRefXml) {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
const newItemGroup = `
|
|
185
|
+
|
|
185
186
|
<ItemGroup>
|
|
186
187
|
${projectRefXml}
|
|
187
188
|
</ItemGroup>
|