@ihk-gfi/lux-components-update 18.0.2 → 18.2.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.
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-18.2.0": {
5
+ "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 18.2.0",
6
+ "factory": "./updates/18.2.0/index#update180200",
7
+ "schema": "./updates/18.2.0/schema.json"
8
+ },
9
+ "update-18.1.0": {
10
+ "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 18.1.0",
11
+ "factory": "./updates/18.1.0/index#update180100",
12
+ "schema": "./updates/18.1.0/schema.json"
13
+ },
4
14
  "update-18.0.0": {
5
15
  "description": "Aktualisiert das LUX-Componentsprojekt auf die Version 18.0.0",
6
16
  "factory": "./updates/18.0.0/index#update180000",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihk-gfi/lux-components-update",
3
- "version": "18.0.2",
3
+ "version": "18.2.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",
@@ -40,7 +40,7 @@
40
40
  "chalk": "^4.1.2",
41
41
  "cheerio": "1.0.0-rc.12",
42
42
  "htmlparser2": "^9.1.0",
43
- "jsdom": "^24.0.0",
43
+ "jsdom": "^25.0.0",
44
44
  "jsonc-parser": "^3.2.1",
45
45
  "semver": "^7.6.0",
46
46
  "typescript": "^5.6.2"
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function update180100(_options: any, runNpmInstall?: boolean): Rule;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.update180100 = update180100;
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 update180100(_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 18.1.0 aktualisiert...`),
12
+ (0, util_1.messageInfoRule)(`Die Datei "package.json" wird angepasst...`),
13
+ (0, index_1.updateDep)('@ihk-gfi/lux-components', '18.1.0', false),
14
+ (0, index_1.updateDep)('@ihk-gfi/lux-components-theme', '18.1.0', false),
15
+ (0, util_1.messageSuccessRule)(`Die LUX-Components wurden auf die Version 18.1.0 aktualisiert.`),
16
+ (0, util_1.finish)(runNpmInstall, `${chalk.yellowBright('Fertig!')}`)
17
+ ]);
18
+ };
19
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "luxupdate180100Schema",
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,5 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function update180200(_options: any, runNpmInstall?: boolean): Rule;
3
+ export declare function updateI18NFiles(): Rule;
4
+ export declare const i18nDe = "<trans-unit id=\"luxc.progress.arialabel\" datatype=\"html\">\n <source>Ladeanzeige</source>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">node_modules/@ihk-gfi/src/app/modules/lux-common/lux-progress/lux-progress.component.ts</context>\n <context context-type=\"linenumber\">24</context>\n </context-group>\n </trans-unit>";
5
+ export declare const i18nEn = "<trans-unit id=\"luxc.progress.arialabel\" datatype=\"html\">\n <source>Ladeanzeige</source>\n <target>Loading indicator</target>\n <context-group purpose=\"location\">\n <context context-type=\"sourcefile\">node_modules/@ihk-gfi/src/app/modules/lux-common/lux-progress/lux-progress.component.ts</context>\n <context context-type=\"linenumber\">24</context>\n </context-group>\n </trans-unit>";
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.i18nEn = exports.i18nDe = void 0;
4
+ exports.update180200 = update180200;
5
+ exports.updateI18NFiles = updateI18NFiles;
6
+ const schematics_1 = require("@angular-devkit/schematics");
7
+ const chalk = require("chalk");
8
+ const index_1 = require("../../update-dependencies/index");
9
+ const util_1 = require("../../utility/util");
10
+ function update180200(_options, runNpmInstall = true) {
11
+ return (_tree, _context) => {
12
+ return (0, schematics_1.chain)([
13
+ (0, util_1.messageInfoRule)(`Die LUX-Components werden auf die Version 18.2.0 aktualisiert...`),
14
+ (0, util_1.messageInfoRule)(`Die Datei "package.json" wird angepasst...`),
15
+ (0, index_1.updateDep)('@ihk-gfi/lux-components', '18.2.0', false),
16
+ (0, index_1.updateDep)('@ihk-gfi/lux-components-theme', '18.2.0', false),
17
+ updateI18NFiles(),
18
+ (0, util_1.messageSuccessRule)(`Die LUX-Components wurden auf die Version 18.2.0 aktualisiert.`),
19
+ (0, util_1.finish)(runNpmInstall, `${chalk.yellowBright('Fertig!')}`)
20
+ ]);
21
+ };
22
+ }
23
+ function updateI18NFiles() {
24
+ return (tree, _context) => {
25
+ (0, util_1.messageInfoRule)(`I18n-Dateien werden angepasst...`), (0, util_1.updateI18nFile)(tree, 'de', 'luxc.table.multiselect.chk.arialabel', exports.i18nDe);
26
+ (0, util_1.updateI18nFile)(tree, 'en', 'luxc.table.multiselect.chk.arialabel', exports.i18nEn);
27
+ (0, util_1.messageInfoRule)(`I18n-Dateien wurden angepasst.`);
28
+ };
29
+ }
30
+ exports.i18nDe = `<trans-unit id="luxc.progress.arialabel" datatype="html">
31
+ <source>Ladeanzeige</source>
32
+ <context-group purpose="location">
33
+ <context context-type="sourcefile">node_modules/@ihk-gfi/src/app/modules/lux-common/lux-progress/lux-progress.component.ts</context>
34
+ <context context-type="linenumber">24</context>
35
+ </context-group>
36
+ </trans-unit>`;
37
+ exports.i18nEn = `<trans-unit id="luxc.progress.arialabel" datatype="html">
38
+ <source>Ladeanzeige</source>
39
+ <target>Loading indicator</target>
40
+ <context-group purpose="location">
41
+ <context context-type="sourcefile">node_modules/@ihk-gfi/src/app/modules/lux-common/lux-progress/lux-progress.component.ts</context>
42
+ <context context-type="linenumber">24</context>
43
+ </context-group>
44
+ </trans-unit>`;
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "luxupdate180200Schema",
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
+ }