netcore-blueprint 0.0.91 → 0.0.93

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.
@@ -2,6 +2,7 @@
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
+ const { createModule } = require('../lib/replacer');
5
6
 
6
7
  // =======================
7
8
  // Template source
@@ -17,7 +18,7 @@ const sourceModulePath = path.join(modulesTemplateRoot, `${sourceModuleName}`);
17
18
  // =======================
18
19
 
19
20
  const destinationRoot = process.cwd();
20
- const destinationModulePath = destinationRoot;
21
+ const destinationModulePath = path.join(destinationRoot, `${sourceModuleName}`);
21
22
 
22
23
  // =======================
23
24
  // Guards
package/lib/replacer.js CHANGED
@@ -218,5 +218,6 @@ module.exports = {
218
218
  copyAndRenameFiles,
219
219
  findSolutionFileFixed,
220
220
  copyRecursive,
221
- addProjectReferencesToCsproj
221
+ addProjectReferencesToCsproj,
222
+ createModule
222
223
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netcore-blueprint",
3
- "version": "0.0.91",
3
+ "version": "0.0.93",
4
4
  "description": "A custom project blueprint",
5
5
  "main": "create.js",
6
6
  "bin": {