@ihk-gfi/lux-components-update 15.2.0 → 15.3.0
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.
|
@@ -13,6 +13,7 @@ const util_1 = require("../utility/util");
|
|
|
13
13
|
const validation_1 = require("../utility/validation");
|
|
14
14
|
const _15_1_0_1 = require("../updates/15.1.0");
|
|
15
15
|
const _15_2_0_1 = require("../updates/15.2.0");
|
|
16
|
+
const _15_3_0_1 = require("../updates/15.3.0");
|
|
16
17
|
function addLuxComponents(options) {
|
|
17
18
|
return (_tree, _context) => {
|
|
18
19
|
var _a;
|
|
@@ -79,6 +80,7 @@ function addLuxComponents(options) {
|
|
|
79
80
|
(0, files_1.deleteFile)(options, ((_a = options.path) !== null && _a !== void 0 ? _a : '') + '/package-lock.json'),
|
|
80
81
|
(0, _15_1_0_1.update150100)(options, false),
|
|
81
82
|
(0, _15_2_0_1.update150200)(options, false),
|
|
83
|
+
(0, _15_3_0_1.update150300)(options, false),
|
|
82
84
|
(0, util_1.finish)(true, `Die LUX-Components ${index_2.updateMajorVersion} wurden erfolgreich eingerichtet.`, `${chalk.yellowBright('Fertig!')}`)
|
|
83
85
|
]);
|
|
84
86
|
};
|
package/collection.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
3
|
"schematics": {
|
|
4
|
+
"update-15.3.0": {
|
|
5
|
+
"description": "Aktualisiert das LUX-Componentsprojekt auf die Version 15.3.0",
|
|
6
|
+
"factory": "./updates/15.3.0/index#update150300",
|
|
7
|
+
"schema": "./updates/15.3.0/schema.json"
|
|
8
|
+
},
|
|
4
9
|
"update-15.2.0": {
|
|
5
10
|
"description": "Aktualisiert das LUX-Componentsprojekt auf die Version 15.2.0",
|
|
6
11
|
"factory": "./updates/15.2.0/index#update150200",
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.update150300 = void 0;
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
|
+
const chalk = require("chalk");
|
|
6
|
+
const index_1 = require("../../update-dependencies/index");
|
|
7
|
+
const util_1 = require("../../utility/util");
|
|
8
|
+
function update150300(_options, runNpmInstall = true) {
|
|
9
|
+
return (_tree, _context) => {
|
|
10
|
+
return (0, schematics_1.chain)([
|
|
11
|
+
(0, util_1.messageInfoRule)(`Die LUX-Components werden auf die Version 15.3.0 aktualisiert...`),
|
|
12
|
+
(0, util_1.messageInfoRule)(`Die Datei "package.json" wird angepasst...`),
|
|
13
|
+
(0, index_1.updateDep)('@ihk-gfi/lux-components', '15.3.0', false),
|
|
14
|
+
(0, index_1.updateDep)('@ihk-gfi/lux-components-theme', '15.3.0', false),
|
|
15
|
+
(0, util_1.messageSuccessRule)(`Die LUX-Components wurden auf die Version 15.3.0 aktualisiert.`),
|
|
16
|
+
(0, util_1.finish)(runNpmInstall, `${chalk.yellowBright('Fertig!')}`)
|
|
17
|
+
]);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
exports.update150300 = update150300;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "luxupdate150300Schema",
|
|
4
|
+
"title": "Aktualisiert das LUX-Componentsprojekt",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"description": "Aktualisiert das LUX-Componentsprojekt",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Der Projektname",
|
|
11
|
+
"$default": {
|
|
12
|
+
"$source": "projectName"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"verbose": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"description": "Generiert mehr Logausgaben",
|
|
18
|
+
"default": false
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|