@ihk-gfi/lux-components-update 15.1.1 → 15.1.2
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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const fse = require('fs-extra');
|
|
2
|
+
const del = require('del');
|
|
3
|
+
|
|
4
|
+
console.log('> Script "move-de-files.js" started...');
|
|
5
|
+
fse.pathExists('dist/de').then((exists) => {
|
|
6
|
+
if (exists) {
|
|
7
|
+
console.log('> Move files (locale "de") to root folder...');
|
|
8
|
+
fse.copySync('dist/de', 'dist', { overwrite: true });
|
|
9
|
+
del.sync(['dist/de']);
|
|
10
|
+
} else {
|
|
11
|
+
console.log('> No folder "de" found. Nothing is to do.');
|
|
12
|
+
}
|
|
13
|
+
console.log('> Success!');
|
|
14
|
+
});
|
|
15
|
+
console.log('> Script "move-de-files.js" finished.');
|
|
@@ -164,7 +164,6 @@ function copyAppFiles(options) {
|
|
|
164
164
|
(0, files_1.moveFilesToDirectory)(options, 'files/environments', 'src/environments'),
|
|
165
165
|
(0, files_1.moveFilesToDirectory)(options, 'files/locale', '/src/locale'),
|
|
166
166
|
(0, files_1.moveFilesToDirectory)(options, 'files/root', '/'),
|
|
167
|
-
(0, files_1.moveFilesToDirectory)(options, 'files/scripts', '/'),
|
|
168
167
|
(0, files_1.moveFilesToDirectory)(options, 'files/src', '/src'),
|
|
169
168
|
(0, util_1.messageSuccessRule)(`App-Dateien wurden angelegt.`)
|
|
170
169
|
]);
|