bones-cli 0.0.8 → 0.0.10
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 -1
- package/init-template/bones.js.tmpl +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -144,6 +144,10 @@ var bfinit = function() {
|
|
|
144
144
|
dest = 'client/layouts/layout.js';
|
|
145
145
|
fs.copyFileSync(`${__dirname}/${src}`, dest, fs.constants.COPYFILE_EXCL);
|
|
146
146
|
|
|
147
|
+
src = 'init-template/bones.js.tmpl';
|
|
148
|
+
dest = 'lib/bones.js';
|
|
149
|
+
fs.copyFileSync(`${__dirname}/${src}`, dest, fs.constants.COPYFILE_EXCL);
|
|
150
|
+
|
|
147
151
|
src = 'init-template/router-options.js.tmpl';
|
|
148
152
|
dest = 'router/router-options.js';
|
|
149
153
|
fs.copyFileSync(`${__dirname}/${src}`, dest, fs.constants.COPYFILE_EXCL);
|
|
@@ -153,7 +157,7 @@ var bfinit = function() {
|
|
|
153
157
|
fs.copyFileSync(`${__dirname}/${src}`, dest, fs.constants.COPYFILE_EXCL);
|
|
154
158
|
|
|
155
159
|
src = 'init-template/router-sitemap.js.tmpl';
|
|
156
|
-
dest = '
|
|
160
|
+
dest = 'server/sitemap.js';
|
|
157
161
|
fs.copyFileSync(`${__dirname}/${src}`, dest, fs.constants.COPYFILE_EXCL);
|
|
158
162
|
|
|
159
163
|
// ==============================================
|