@sap-ux/fiori-elements-writer 0.6.2 → 0.6.3
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69,7 +69,7 @@ function generate(basePath, data, fs) {
|
|
|
69
69
|
const ignore = [((_c = feApp.appOptions) === null || _c === void 0 ? void 0 : _c.typescript) ? '**/*.js' : '**/*.ts'];
|
|
70
70
|
fs.copyTpl(path_1.join(rootTemplatesPath, 'common', 'add', '**/*.*'), basePath, Object.assign(Object.assign({}, feApp), { templateOptions,
|
|
71
71
|
escapeFLPText: templateAttributes_1.escapeFLPText }), undefined, {
|
|
72
|
-
globOptions: { ignore }
|
|
72
|
+
globOptions: { ignore, dot: true }
|
|
73
73
|
});
|
|
74
74
|
// Extend common files
|
|
75
75
|
const packagePath = path_1.join(basePath, 'package.json');
|
|
@@ -89,7 +89,7 @@ function generate(basePath, data, fs) {
|
|
|
89
89
|
// Copy version specific common templates and version specific, floorplan specific templates
|
|
90
90
|
const templateVersionPath = path_1.join(rootTemplatesPath, `v${(_f = feApp.service) === null || _f === void 0 ? void 0 : _f.version}`);
|
|
91
91
|
[path_1.join(templateVersionPath, 'common', 'add'), path_1.join(templateVersionPath, feApp.template.type, 'add')].forEach((templatePath) => {
|
|
92
|
-
fs.copyTpl(path_1.join(templatePath, '**/*.*'), basePath, feApp, {}, { ignoreNoMatch: true, globOptions: { ignore } });
|
|
92
|
+
fs.copyTpl(path_1.join(templatePath, '**/*.*'), basePath, feApp, {}, { ignoreNoMatch: true, globOptions: { ignore, dot: true } });
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
// Update manifest.json with template specific settings
|