@ihk-gfi/lux-components-update 16.6.1 → 16.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/package.json
CHANGED
package/updates/16.5.0/index.js
CHANGED
|
@@ -21,8 +21,7 @@ function update160500(options, runNpmInstall = true) {
|
|
|
21
21
|
(0, index_1.updateDevDep)('@angular/cli', '16.2.15', false),
|
|
22
22
|
(0, index_1.updateDevDep)('@compodoc/compodoc', '1.1.25', true),
|
|
23
23
|
(0, index_1.updateDep)('ng2-pdf-viewer', '10.3.0', true),
|
|
24
|
-
(0, index_1.
|
|
25
|
-
(0, index_1.deleteDevDep)('pdfjs-dist'),
|
|
24
|
+
(0, index_1.updateDep)('pdfjs-dist', '4.6.82', false),
|
|
26
25
|
updateAngularJson(options),
|
|
27
26
|
updateAppModuleTs(options),
|
|
28
27
|
(0, util_1.messageSuccessRule)(`Die LUX-Components wurden auf die Version 16.5.0 aktualisiert.`),
|
|
@@ -31,13 +30,13 @@ function update160500(options, runNpmInstall = true) {
|
|
|
31
30
|
};
|
|
32
31
|
}
|
|
33
32
|
function updateAngularJson(options) {
|
|
34
|
-
var _a, _b, _c, _d;
|
|
33
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
35
34
|
return (0, schematics_1.chain)([
|
|
36
35
|
(0, util_1.messageInfoRule)(`Die Datei angular.json wird verarbeitet...`),
|
|
37
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((
|
|
38
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((
|
|
39
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((
|
|
40
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((
|
|
36
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_a = options.path) !== null && _a !== void 0 ? _a : '.') + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((_b = options.path) !== null && _b !== void 0 ? _b : '.') + '/angular.json'),
|
|
37
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_c = options.path) !== null && _c !== void 0 ? _c : '.') + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((_d = options.path) !== null && _d !== void 0 ? _d : '.') + '/angular.json'),
|
|
38
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_e = options.path) !== null && _e !== void 0 ? _e : '.') + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((_f = options.path) !== null && _f !== void 0 ? _f : '.') + '/angular.json'),
|
|
39
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_g = options.path) !== null && _g !== void 0 ? _g : '.') + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((_h = options.path) !== null && _h !== void 0 ? _h : '.') + '/angular.json'),
|
|
41
40
|
(0, util_1.messageSuccessRule)(`Die Datei angular.json wurde verarbeitet.`)
|
|
42
41
|
]);
|
|
43
42
|
}
|
package/updates/16.6.0/index.js
CHANGED
|
@@ -27,13 +27,13 @@ function update160600(options, runNpmInstall = true) {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
function updateAngularJson(options) {
|
|
30
|
-
var _a, _b, _c, _d;
|
|
30
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
31
31
|
return (0, schematics_1.chain)([
|
|
32
32
|
(0, util_1.messageInfoRule)(`Die Datei angular.json wird verarbeitet...`),
|
|
33
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((
|
|
34
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((
|
|
35
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((
|
|
36
|
-
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(options.path + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((
|
|
33
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_a = options.path) !== null && _a !== void 0 ? _a : '.') + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((_b = options.path) !== null && _b !== void 0 ? _b : '.') + '/angular.json'),
|
|
34
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_c = options.path) !== null && _c !== void 0 ? _c : '.') + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.js')), ((_d = options.path) !== null && _d !== void 0 ? _d : '.') + '/angular.json'),
|
|
35
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_e = options.path) !== null && _e !== void 0 ? _e : '.') + '/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((_f = options.path) !== null && _f !== void 0 ? _f : '.') + '/angular.json'),
|
|
36
|
+
(0, util_1.applyRuleIfFileExists)((0, json_1.deleteJsonArray)(((_g = options.path) !== null && _g !== void 0 ? _g : '.') + '/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'glob', 'pdf.worker.min.mjs')), ((_h = options.path) !== null && _h !== void 0 ? _h : '.') + '/angular.json'),
|
|
37
37
|
(0, util_1.messageSuccessRule)(`Die Datei angular.json wurde verarbeitet.`)
|
|
38
38
|
]);
|
|
39
39
|
}
|