@ihk-gfi/lux-components-update 16.6.1 → 16.6.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.
package/package.json
CHANGED
package/updates/16.5.0/index.js
CHANGED
|
@@ -31,13 +31,13 @@ function update160500(options, runNpmInstall = true) {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
function updateAngularJson(options) {
|
|
34
|
-
var _a, _b, _c, _d;
|
|
34
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
35
35
|
return (0, schematics_1.chain)([
|
|
36
36
|
(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')), ((
|
|
37
|
+
(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'),
|
|
38
|
+
(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'),
|
|
39
|
+
(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'),
|
|
40
|
+
(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
41
|
(0, util_1.messageSuccessRule)(`Die Datei angular.json wurde verarbeitet.`)
|
|
42
42
|
]);
|
|
43
43
|
}
|
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
|
}
|