bones-cli 0.0.15 → 0.0.16
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/index.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -159,11 +159,11 @@ var bfinit = function() {
|
|
|
159
159
|
fs.open('client/main.js', 'w', (error, file) => { if (error) { return console.log(error); } });
|
|
160
160
|
|
|
161
161
|
// Search-and-replace magic to use Meteor file autoloading
|
|
162
|
-
src = 'package.json';
|
|
163
|
-
var templateContent = fs.readFileSync(src);
|
|
164
|
-
fs.unlinkSync(src);
|
|
165
|
-
var updatedContent = templateContent.toString().replace(/mainModule/g, 'meteor_main_module_turnedOffByBonesFramework');
|
|
166
|
-
fs.writeFileSync(src, updatedContent);
|
|
162
|
+
// src = 'package.json';
|
|
163
|
+
// var templateContent = fs.readFileSync(src);
|
|
164
|
+
// fs.unlinkSync(src);
|
|
165
|
+
// var updatedContent = templateContent.toString().replace(/mainModule/g, 'meteor_main_module_turnedOffByBonesFramework');
|
|
166
|
+
// fs.writeFileSync(src, updatedContent);
|
|
167
167
|
|
|
168
168
|
// Let people know what's going on...
|
|
169
169
|
console.log('File templates copied...');
|