@ihk-gfi/lux-components-update 15.1.2 → 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.
@@ -12,6 +12,8 @@ const logging_1 = require("../utility/logging");
12
12
  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
+ const _15_2_0_1 = require("../updates/15.2.0");
16
+ const _15_3_0_1 = require("../updates/15.3.0");
15
17
  function addLuxComponents(options) {
16
18
  return (_tree, _context) => {
17
19
  var _a;
@@ -77,6 +79,8 @@ function addLuxComponents(options) {
77
79
  (0, json_1.updateJsonArray)('/angular.json', jsonPathAllowedCommonJS, 'dompurify'),
78
80
  (0, files_1.deleteFile)(options, ((_a = options.path) !== null && _a !== void 0 ? _a : '') + '/package-lock.json'),
79
81
  (0, _15_1_0_1.update150100)(options, false),
82
+ (0, _15_2_0_1.update150200)(options, false),
83
+ (0, _15_3_0_1.update150300)(options, false),
80
84
  (0, util_1.finish)(true, `Die LUX-Components ${index_2.updateMajorVersion} wurden erfolgreich eingerichtet.`, `${chalk.yellowBright('Fertig!')}`)
81
85
  ]);
82
86
  };
package/collection.json CHANGED
@@ -1,6 +1,16 @@
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
+ },
9
+ "update-15.2.0": {
10
+ "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 15.2.0",
11
+ "factory": "./updates/15.2.0/index#update150200",
12
+ "schema": "./updates/15.2.0/schema.json"
13
+ },
4
14
  "update-15.1.0": {
5
15
  "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 15.1.0",
6
16
  "factory": "./updates/15.1.0/index#update150100",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihk-gfi/lux-components-update",
3
- "version": "15.1.2",
3
+ "version": "15.3.0",
4
4
  "description": "Schematics für die Aktualisierung von LUX-Applikationen",
5
5
  "scripts": {
6
6
  "build": "npm run clean && tsc -p tsconfig.json",
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function update150200(_options: any, runNpmInstall?: boolean): Rule;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.update150200 = 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 update150200(_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.2.0 aktualisiert...`),
12
+ (0, util_1.messageInfoRule)(`Die Datei "package.json" wird angepasst...`),
13
+ (0, index_1.updateDep)('@ihk-gfi/lux-components', '15.2.0', false),
14
+ (0, index_1.updateDep)('@ihk-gfi/lux-components-theme', '15.2.0', false),
15
+ (0, index_1.updateDep)('@ihk-gfi/lux-components-icons-and-fonts', '1.8.0', false),
16
+ (0, util_1.messageSuccessRule)(`Die LUX-Components wurden auf die Version 15.2.0 aktualisiert.`),
17
+ (0, util_1.finish)(runNpmInstall, `${chalk.yellowBright('Fertig!')}`)
18
+ ]);
19
+ };
20
+ }
21
+ exports.update150200 = update150200;
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "luxupdate150200Schema",
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
+ }
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function update150300(_options: any, runNpmInstall?: boolean): Rule;
@@ -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
+ }