@ihk-gfi/lux-components-update 14.8.0 → 15.0.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/README.md +4 -2
- package/add-lux-components/files/app/app.component.html +34 -0
- package/{src/add-lux-components → add-lux-components}/files/app/app.component.spec.ts +4 -2
- package/{src/add-lux-components → add-lux-components}/files/app/app.component.ts +1 -1
- package/add-lux-components/files/src/main.ts +17 -0
- package/{src/add-lux-components → add-lux-components}/index.js +29 -30
- package/add-lux-components/schema.json +23 -0
- package/collection.json +35 -0
- package/package.json +27 -27
- package/{src/theme → theme}/change-theme-to-authentic/index.js +0 -1
- package/theme/change-theme-to-authentic/schema.json +23 -0
- package/{src/theme → theme}/change-to-lux-icons/index.js +0 -1
- package/theme/change-to-lux-icons/schema.json +23 -0
- package/{src/update-dependencies → update-dependencies}/index.d.ts +1 -0
- package/update-dependencies/index.js +92 -0
- package/update-dependencies/schema.json +23 -0
- package/{src/update-en-messages → update-en-messages}/index.js +0 -1
- package/update-en-messages/schema.json +23 -0
- package/updates/15.0.0/index.d.ts +8 -0
- package/updates/15.0.0/index.js +109 -0
- package/updates/15.0.0/schema.json +23 -0
- package/{src/utility → utility}/dependencies.js +0 -1
- package/{src/utility → utility}/files.js +0 -1
- package/{src/utility → utility}/html/hit.js +0 -1
- package/{src/utility → utility}/html/html-manipulator.js +0 -1
- package/{src/utility → utility}/html/manipulator-functions.js +0 -1
- package/{src/utility → utility}/json.d.ts +2 -0
- package/{src/utility → utility}/json.js +16 -8
- package/{src/utility → utility}/logging.js +0 -1
- package/{src/utility → utility}/test.js +0 -1
- package/{src/utility → utility}/typescript.js +0 -1
- package/{src/utility → utility}/util.js +0 -1
- package/{src/utility → utility}/validation.js +0 -1
- package/src/add-lux-components/files/app/app.component.html +0 -32
- package/src/add-lux-components/files/app/base/license-hint/license-hint.component.html +0 -7
- package/src/add-lux-components/files/app/base/license-hint/license-hint.component.ts +0 -18
- package/src/add-lux-components/files/app/error/error.component.html +0 -10
- package/src/add-lux-components/files/app/error/error.component.scss +0 -3
- package/src/add-lux-components/files/app/error/error.component.spec.ts +0 -49
- package/src/add-lux-components/files/app/error/error.component.ts +0 -17
- package/src/add-lux-components/files/app/home/home.component.html +0 -7
- package/src/add-lux-components/files/app/home/home.component.scss +0 -3
- package/src/add-lux-components/files/app/home/home.component.ts +0 -13
- package/src/add-lux-components/files/app/profil/profil.component.html +0 -1
- package/src/add-lux-components/files/app/profil/profil.component.scss +0 -0
- package/src/add-lux-components/files/app/profil/profil.component.spec.ts +0 -24
- package/src/add-lux-components/files/app/profil/profil.component.ts +0 -11
- package/src/add-lux-components/files/assets/svg/Example.svg +0 -6
- package/src/add-lux-components/files/assets/svg/android.svg +0 -2
- package/src/add-lux-components/files/assets/svg/box.svg +0 -690
- package/src/add-lux-components/files/assets/svg/demoAppLogo.svg +0 -1
- package/src/add-lux-components/files/assets/svg/red_power_button.svg +0 -67
- package/src/add-lux-components/files/assets/svg/svg2009.svg +0 -57457
- package/src/add-lux-components/files/src/polyfills.ts +0 -58
- package/src/add-lux-components/index.js.map +0 -1
- package/src/add-lux-components/index.ts +0 -293
- package/src/add-lux-components/index_spec.d.ts +0 -1
- package/src/add-lux-components/index_spec.js +0 -51
- package/src/add-lux-components/index_spec.js.map +0 -1
- package/src/add-lux-components/index_spec.ts +0 -55
- package/src/add-lux-components/schema.json +0 -23
- package/src/collection.json +0 -75
- package/src/theme/change-theme-to-authentic/index.js.map +0 -1
- package/src/theme/change-theme-to-authentic/index.ts +0 -131
- package/src/theme/change-theme-to-authentic/index_spec.d.ts +0 -1
- package/src/theme/change-theme-to-authentic/index_spec.js +0 -300
- package/src/theme/change-theme-to-authentic/index_spec.js.map +0 -1
- package/src/theme/change-theme-to-authentic/index_spec.ts +0 -321
- package/src/theme/change-theme-to-authentic/schema.json +0 -23
- package/src/theme/change-to-lux-icons/index.js.map +0 -1
- package/src/theme/change-to-lux-icons/index.ts +0 -392
- package/src/theme/change-to-lux-icons/index_spec.d.ts +0 -1
- package/src/theme/change-to-lux-icons/index_spec.js +0 -128
- package/src/theme/change-to-lux-icons/index_spec.js.map +0 -1
- package/src/theme/change-to-lux-icons/index_spec.ts +0 -130
- package/src/theme/change-to-lux-icons/schema.json +0 -23
- package/src/update-dependencies/index.js +0 -88
- package/src/update-dependencies/index.js.map +0 -1
- package/src/update-dependencies/index.ts +0 -86
- package/src/update-dependencies/schema.json +0 -23
- package/src/update-en-messages/index.js.map +0 -1
- package/src/update-en-messages/index.ts +0 -83
- package/src/update-en-messages/index_spec.d.ts +0 -1
- package/src/update-en-messages/index_spec.js +0 -174
- package/src/update-en-messages/index_spec.js.map +0 -1
- package/src/update-en-messages/index_spec.ts +0 -182
- package/src/update-en-messages/schema.json +0 -23
- package/src/updates/update140000/files/src/polyfills.ts +0 -70
- package/src/updates/update140000/index.d.ts +0 -14
- package/src/updates/update140000/index.js +0 -95
- package/src/updates/update140000/index.js.map +0 -1
- package/src/updates/update140000/index.ts +0 -110
- package/src/updates/update140000/index_spec.d.ts +0 -1
- package/src/updates/update140000/index_spec.js +0 -165
- package/src/updates/update140000/index_spec.js.map +0 -1
- package/src/updates/update140000/index_spec.ts +0 -171
- package/src/updates/update140000/schema.json +0 -23
- package/src/updates/update140100/index.d.ts +0 -5
- package/src/updates/update140100/index.js +0 -62
- package/src/updates/update140100/index.js.map +0 -1
- package/src/updates/update140100/index.ts +0 -60
- package/src/updates/update140100/index_spec.d.ts +0 -1
- package/src/updates/update140100/index_spec.js +0 -124
- package/src/updates/update140100/index_spec.js.map +0 -1
- package/src/updates/update140100/index_spec.ts +0 -137
- package/src/updates/update140100/schema.json +0 -23
- package/src/updates/update140200/index.d.ts +0 -8
- package/src/updates/update140200/index.js +0 -40
- package/src/updates/update140200/index.js.map +0 -1
- package/src/updates/update140200/index.ts +0 -38
- package/src/updates/update140200/index_spec.d.ts +0 -1
- package/src/updates/update140200/index_spec.js +0 -75
- package/src/updates/update140200/index_spec.js.map +0 -1
- package/src/updates/update140200/index_spec.ts +0 -81
- package/src/updates/update140200/schema.json +0 -23
- package/src/updates/update140300/index.d.ts +0 -10
- package/src/updates/update140300/index.js +0 -85
- package/src/updates/update140300/index.js.map +0 -1
- package/src/updates/update140300/index.ts +0 -86
- package/src/updates/update140300/index_spec.d.ts +0 -1
- package/src/updates/update140300/index_spec.js +0 -145
- package/src/updates/update140300/index_spec.js.map +0 -1
- package/src/updates/update140300/index_spec.ts +0 -177
- package/src/updates/update140300/schema.json +0 -23
- package/src/updates/update140400/index.d.ts +0 -2
- package/src/updates/update140400/index.js +0 -22
- package/src/updates/update140400/index.js.map +0 -1
- package/src/updates/update140400/index.ts +0 -18
- package/src/updates/update140400/index_spec.d.ts +0 -1
- package/src/updates/update140400/index_spec.js +0 -75
- package/src/updates/update140400/index_spec.js.map +0 -1
- package/src/updates/update140400/index_spec.ts +0 -81
- package/src/updates/update140400/schema.json +0 -23
- package/src/updates/update140500/index.d.ts +0 -2
- package/src/updates/update140500/index.js +0 -21
- package/src/updates/update140500/index.js.map +0 -1
- package/src/updates/update140500/index.ts +0 -17
- package/src/updates/update140500/index_spec.d.ts +0 -1
- package/src/updates/update140500/index_spec.js +0 -73
- package/src/updates/update140500/index_spec.js.map +0 -1
- package/src/updates/update140500/index_spec.ts +0 -78
- package/src/updates/update140500/schema.json +0 -23
- package/src/updates/update140600/index.d.ts +0 -2
- package/src/updates/update140600/index.js +0 -39
- package/src/updates/update140600/index.js.map +0 -1
- package/src/updates/update140600/index.ts +0 -35
- package/src/updates/update140600/index_spec.d.ts +0 -1
- package/src/updates/update140600/index_spec.js +0 -71
- package/src/updates/update140600/index_spec.js.map +0 -1
- package/src/updates/update140600/index_spec.ts +0 -75
- package/src/updates/update140600/schema.json +0 -23
- package/src/updates/update140700/index.d.ts +0 -2
- package/src/updates/update140700/index.js +0 -22
- package/src/updates/update140700/index.js.map +0 -1
- package/src/updates/update140700/index.ts +0 -18
- package/src/updates/update140700/index_spec.d.ts +0 -1
- package/src/updates/update140700/index_spec.js +0 -75
- package/src/updates/update140700/index_spec.js.map +0 -1
- package/src/updates/update140700/index_spec.ts +0 -79
- package/src/updates/update140700/schema.json +0 -23
- package/src/updates/update140800/index.d.ts +0 -2
- package/src/updates/update140800/index.js +0 -22
- package/src/updates/update140800/index.js.map +0 -1
- package/src/updates/update140800/index.ts +0 -18
- package/src/updates/update140800/index_spec.d.ts +0 -1
- package/src/updates/update140800/index_spec.js +0 -76
- package/src/updates/update140800/index_spec.js.map +0 -1
- package/src/updates/update140800/index_spec.ts +0 -82
- package/src/updates/update140800/schema.json +0 -23
- package/src/utility/dependencies.js.map +0 -1
- package/src/utility/dependencies.ts +0 -144
- package/src/utility/files.js.map +0 -1
- package/src/utility/files.ts +0 -368
- package/src/utility/html/hit.js.map +0 -1
- package/src/utility/html/hit.ts +0 -28
- package/src/utility/html/html-manipulator.js.map +0 -1
- package/src/utility/html/html-manipulator.ts +0 -156
- package/src/utility/html/html_spec.d.ts +0 -1
- package/src/utility/html/html_spec.js +0 -692
- package/src/utility/html/html_spec.js.map +0 -1
- package/src/utility/html/html_spec.ts +0 -751
- package/src/utility/html/manipulator-functions.js.map +0 -1
- package/src/utility/html/manipulator-functions.ts +0 -149
- package/src/utility/json.js.map +0 -1
- package/src/utility/json.ts +0 -288
- package/src/utility/json_spec.d.ts +0 -1
- package/src/utility/json_spec.js +0 -326
- package/src/utility/json_spec.js.map +0 -1
- package/src/utility/json_spec.ts +0 -446
- package/src/utility/logging.js.map +0 -1
- package/src/utility/logging.ts +0 -80
- package/src/utility/test.js.map +0 -1
- package/src/utility/test.ts +0 -24
- package/src/utility/typescript.js.map +0 -1
- package/src/utility/typescript.ts +0 -598
- package/src/utility/typescript_spec.d.ts +0 -1
- package/src/utility/typescript_spec.js +0 -1005
- package/src/utility/typescript_spec.js.map +0 -1
- package/src/utility/typescript_spec.ts +0 -1265
- package/src/utility/util.js.map +0 -1
- package/src/utility/util.ts +0 -145
- package/src/utility/validation.js.map +0 -1
- package/src/utility/validation.ts +0 -48
- package/tsconfig.json +0 -35
- /package/{src/add-lux-components → add-lux-components}/files/app/app-routing.module.ts +0 -0
- /package/{src/add-lux-components → add-lux-components}/files/app/app.module.ts +0 -0
- /package/{src/add-lux-components → add-lux-components}/files/environments/environment.prod.ts +0 -0
- /package/{src/add-lux-components → add-lux-components}/files/environments/environment.ts +0 -0
- /package/{src/add-lux-components → add-lux-components}/files/locale/messages.en.xlf +0 -0
- /package/{src/add-lux-components → add-lux-components}/files/locale/messages.xlf +0 -0
- /package/{src/add-lux-components → add-lux-components}/files/src/index.html +0 -0
- /package/{src/add-lux-components → add-lux-components}/index.d.ts +0 -0
- /package/{src/theme → theme}/change-theme-to-authentic/index.d.ts +0 -0
- /package/{src/theme → theme}/change-to-lux-icons/index.d.ts +0 -0
- /package/{src/update-en-messages → update-en-messages}/index.d.ts +0 -0
- /package/{src/utility → utility}/dependencies.d.ts +0 -0
- /package/{src/utility → utility}/files.d.ts +0 -0
- /package/{src/utility → utility}/html/hit.d.ts +0 -0
- /package/{src/utility → utility}/html/html-manipulator.d.ts +0 -0
- /package/{src/utility → utility}/html/manipulator-functions.d.ts +0 -0
- /package/{src/utility → utility}/logging.d.ts +0 -0
- /package/{src/utility → utility}/test.d.ts +0 -0
- /package/{src/utility → utility}/typescript.d.ts +0 -0
- /package/{src/utility → utility}/util.d.ts +0 -0
- /package/{src/utility → utility}/validation.d.ts +0 -0
package/src/utility/json_spec.js
DELETED
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
13
|
-
const testing_1 = require("@angular-devkit/schematics/testing");
|
|
14
|
-
const path = require("path");
|
|
15
|
-
const rxjs_1 = require("rxjs");
|
|
16
|
-
const json_1 = require("./json");
|
|
17
|
-
const test_1 = require("./test");
|
|
18
|
-
const util_1 = require("./util");
|
|
19
|
-
const collectionPath = path.join(__dirname, '../collection.json');
|
|
20
|
-
describe('json', () => {
|
|
21
|
-
let appTree;
|
|
22
|
-
let runner;
|
|
23
|
-
let context;
|
|
24
|
-
const testOptions = {};
|
|
25
|
-
beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
26
|
-
runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
|
|
27
|
-
appTree = yield runner.runExternalSchematicAsync('@schematics/angular', 'workspace', test_1.workspaceOptions).toPromise();
|
|
28
|
-
appTree = yield runner
|
|
29
|
-
.runExternalSchematicAsync('@schematics/angular', 'application', test_1.appOptions, appTree)
|
|
30
|
-
.toPromise();
|
|
31
|
-
util_1.UtilConfig.defaultWaitMS = 0;
|
|
32
|
-
testOptions.project = test_1.appOptions.name;
|
|
33
|
-
testOptions.path = test_1.workspaceOptions.newProjectRoot + '/' + test_1.appOptions.name;
|
|
34
|
-
testOptions.verbose = true;
|
|
35
|
-
}));
|
|
36
|
-
describe('updateJsonValue', () => {
|
|
37
|
-
it('Sollte den neuen Wert hinzufügen', () => {
|
|
38
|
-
const filePath = testOptions.path + '/updateJsonValue/updateJsonValueAdd.json';
|
|
39
|
-
appTree.create(filePath, updateJsonValueAdd);
|
|
40
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonValue)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'aaa'], 'bbb'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
41
|
-
var _a;
|
|
42
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
43
|
-
expect(content).toContain('"aaa": "bbb');
|
|
44
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
45
|
-
});
|
|
46
|
-
it('Sollte den neuen Wert ersetzen', () => {
|
|
47
|
-
const filePath = testOptions.path + '/updateJsonValue/updateJsonValueReplace.json';
|
|
48
|
-
appTree.create(filePath, updateJsonValueReplace);
|
|
49
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonValue)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'aaa'], false), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
50
|
-
var _a;
|
|
51
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
52
|
-
expect(content).toContain('"aaa": false');
|
|
53
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
describe('updateJsonArr', () => {
|
|
57
|
-
it('Sollte das Array inklusive dem neuen Wert hinzufügen', () => {
|
|
58
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrNoArray.json';
|
|
59
|
-
appTree.create(filePath, updateJsonArrNoArray);
|
|
60
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'assets'], 'aaa'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
61
|
-
var _a;
|
|
62
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
63
|
-
expect(content).toContain('"assets": [\n "aaa"\n ]\n');
|
|
64
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
65
|
-
});
|
|
66
|
-
it('Sollte den neuen Wert im vorhandenen leeren Array hinzufügen', () => {
|
|
67
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrEmptyArray.json';
|
|
68
|
-
appTree.create(filePath, updateJsonArrEmptyArray);
|
|
69
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'assets'], 'aaa'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
70
|
-
var _a;
|
|
71
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
72
|
-
expect(content).toContain('"assets": [\n "aaa"\n ],\n');
|
|
73
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
74
|
-
});
|
|
75
|
-
it('Sollte den Wert im vorhandenen leeren Array nicht doppelt hinzufügen', () => {
|
|
76
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrDoubleEntry.json';
|
|
77
|
-
appTree.create(filePath, updateJsonArrDoubleEntry);
|
|
78
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'assets'], 'aaa'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
79
|
-
var _a;
|
|
80
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
81
|
-
expect(content).toContain('"assets": [\n' +
|
|
82
|
-
' "aaa",\n' +
|
|
83
|
-
' "bbb",\n' +
|
|
84
|
-
' "ccc"\n' +
|
|
85
|
-
' ]');
|
|
86
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
87
|
-
});
|
|
88
|
-
it('Sollte den neuen Wert am Ende des vorhanden Arrays hinzufügen', () => {
|
|
89
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrAppendArray.json';
|
|
90
|
-
appTree.create(filePath, updateJsonArrAppendArray);
|
|
91
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'assets'], 'bbb'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
92
|
-
var _a;
|
|
93
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
94
|
-
expect(content).toContain('"assets": [\n' +
|
|
95
|
-
' "aaa",\n' +
|
|
96
|
-
' "bbb",\n' +
|
|
97
|
-
' "ccc"\n' +
|
|
98
|
-
' ]');
|
|
99
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
100
|
-
});
|
|
101
|
-
it('Sollte den Wert im Array ersetzen', () => {
|
|
102
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrReplaceValue.json';
|
|
103
|
-
appTree.create(filePath, updateJsonArrReplaceValue);
|
|
104
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'assets'], 'new', true, (node) => node.value === 'bbb'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
105
|
-
var _a;
|
|
106
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
107
|
-
expect(content).toContain('"assets": [\n' +
|
|
108
|
-
' "aaa",\n' +
|
|
109
|
-
' "new",\n' +
|
|
110
|
-
' "ccc"\n' +
|
|
111
|
-
' ]');
|
|
112
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
113
|
-
});
|
|
114
|
-
it('Sollte das Object im Array ersetzen', () => {
|
|
115
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrReplaceObject.json';
|
|
116
|
-
appTree.create(filePath, updateJsonArrReplaceObject);
|
|
117
|
-
const newValue = {
|
|
118
|
-
"type": "initial",
|
|
119
|
-
"maximumWarning": "1mb",
|
|
120
|
-
"maximumError": "2mb"
|
|
121
|
-
};
|
|
122
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'budgets'], newValue, true, (node) => (0, json_1.findObjectPropertyInArray)(node, 'type', 'initial')), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
123
|
-
var _a;
|
|
124
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
125
|
-
expect(content).toContain('"maximumWarning": "1mb"');
|
|
126
|
-
expect(content).toContain('"maximumError": "2mb"');
|
|
127
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
128
|
-
});
|
|
129
|
-
it('Sollte den neuen Wert im Array nur ersetzen, wenn der alte Wert vorhanden war', () => {
|
|
130
|
-
const filePath = testOptions.path + '/updateJsonArray/updateJsonArrReplaceValue.json';
|
|
131
|
-
appTree.create(filePath, updateJsonArrReplaceValue);
|
|
132
|
-
(0, schematics_1.callRule)((0, json_1.updateJsonArray)(filePath, ['projects', 'lux-components', 'architect', 'build', 'options', 'assets'], 'new', true, (node) => node.value === 'notThere'), (0, rxjs_1.of)(appTree), context).subscribe((success) => {
|
|
133
|
-
var _a;
|
|
134
|
-
const content = (_a = success.read(filePath)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
135
|
-
expect(content).toContain('"assets": [\n' +
|
|
136
|
-
' "aaa",\n' +
|
|
137
|
-
' "bbb",\n' +
|
|
138
|
-
' "ccc"\n' +
|
|
139
|
-
' ]');
|
|
140
|
-
}, (reason) => expect(reason).toBeUndefined());
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
const updateJsonValueAdd = `
|
|
145
|
-
{
|
|
146
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
147
|
-
"version": 1,
|
|
148
|
-
"newProjectRoot": "projects",
|
|
149
|
-
"projects": {
|
|
150
|
-
"lux-components": {
|
|
151
|
-
"root": "",
|
|
152
|
-
"architect": {
|
|
153
|
-
"build": {
|
|
154
|
-
"options": {
|
|
155
|
-
"outputPath": "dist",
|
|
156
|
-
"i18nMissingTranslation": "error"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}`;
|
|
163
|
-
const updateJsonValueReplace = `
|
|
164
|
-
{
|
|
165
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
166
|
-
"version": 1,
|
|
167
|
-
"newProjectRoot": "projects",
|
|
168
|
-
"projects": {
|
|
169
|
-
"lux-components": {
|
|
170
|
-
"root": "",
|
|
171
|
-
"architect": {
|
|
172
|
-
"build": {
|
|
173
|
-
"options": {
|
|
174
|
-
"outputPath": "dist",
|
|
175
|
-
"aaa": true,
|
|
176
|
-
"i18nMissingTranslation": "error"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}`;
|
|
183
|
-
const updateJsonArrNoArray = `
|
|
184
|
-
{
|
|
185
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
186
|
-
"version": 1,
|
|
187
|
-
"newProjectRoot": "projects",
|
|
188
|
-
"projects": {
|
|
189
|
-
"lux-components": {
|
|
190
|
-
"root": "",
|
|
191
|
-
"architect": {
|
|
192
|
-
"build": {
|
|
193
|
-
"options": {
|
|
194
|
-
"outputPath": "dist",
|
|
195
|
-
"i18nMissingTranslation": "error"
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}`;
|
|
202
|
-
const updateJsonArrEmptyArray = `
|
|
203
|
-
{
|
|
204
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
205
|
-
"version": 1,
|
|
206
|
-
"newProjectRoot": "projects",
|
|
207
|
-
"projects": {
|
|
208
|
-
"lux-components": {
|
|
209
|
-
"root": "",
|
|
210
|
-
"architect": {
|
|
211
|
-
"build": {
|
|
212
|
-
"options": {
|
|
213
|
-
"outputPath": "dist",
|
|
214
|
-
"assets": [],
|
|
215
|
-
"i18nMissingTranslation": "error",
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}`;
|
|
222
|
-
const updateJsonArrAppendArray = `
|
|
223
|
-
{
|
|
224
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
225
|
-
"version": 1,
|
|
226
|
-
"newProjectRoot": "projects",
|
|
227
|
-
"projects": {
|
|
228
|
-
"lux-components": {
|
|
229
|
-
"root": "",
|
|
230
|
-
"architect": {
|
|
231
|
-
"build": {
|
|
232
|
-
"options": {
|
|
233
|
-
"outputPath": "dist",
|
|
234
|
-
"i18nMissingTranslation": "error",
|
|
235
|
-
"assets": [
|
|
236
|
-
"aaa",
|
|
237
|
-
"bbb",
|
|
238
|
-
"ccc"
|
|
239
|
-
],
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}`;
|
|
246
|
-
const updateJsonArrReplaceObject = `
|
|
247
|
-
{
|
|
248
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
249
|
-
"version": 1,
|
|
250
|
-
"newProjectRoot": "projects",
|
|
251
|
-
"projects": {
|
|
252
|
-
"lux-components": {
|
|
253
|
-
"root": "",
|
|
254
|
-
"architect": {
|
|
255
|
-
"build": {
|
|
256
|
-
"options": {
|
|
257
|
-
"outputPath": "dist",
|
|
258
|
-
"budgets": [
|
|
259
|
-
{
|
|
260
|
-
"type": "initial",
|
|
261
|
-
"maximumWarning": "500kb",
|
|
262
|
-
"maximumError": "1mb"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"type": "anyComponentStyle",
|
|
266
|
-
"maximumWarning": "2kb",
|
|
267
|
-
"maximumError": "4kb"
|
|
268
|
-
}
|
|
269
|
-
],
|
|
270
|
-
"i18nMissingTranslation": "error",
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
`;
|
|
278
|
-
const updateJsonArrReplaceValue = `
|
|
279
|
-
{
|
|
280
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
281
|
-
"version": 1,
|
|
282
|
-
"newProjectRoot": "projects",
|
|
283
|
-
"projects": {
|
|
284
|
-
"lux-components": {
|
|
285
|
-
"root": "",
|
|
286
|
-
"architect": {
|
|
287
|
-
"build": {
|
|
288
|
-
"options": {
|
|
289
|
-
"outputPath": "dist",
|
|
290
|
-
"assets": [
|
|
291
|
-
"aaa",
|
|
292
|
-
"bbb",
|
|
293
|
-
"ccc"
|
|
294
|
-
],
|
|
295
|
-
"i18nMissingTranslation": "error",
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
}`;
|
|
302
|
-
const updateJsonArrDoubleEntry = `
|
|
303
|
-
{
|
|
304
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
305
|
-
"version": 1,
|
|
306
|
-
"newProjectRoot": "projects",
|
|
307
|
-
"projects": {
|
|
308
|
-
"lux-components": {
|
|
309
|
-
"root": "",
|
|
310
|
-
"architect": {
|
|
311
|
-
"build": {
|
|
312
|
-
"options": {
|
|
313
|
-
"outputPath": "dist",
|
|
314
|
-
"i18nMissingTranslation": "error",
|
|
315
|
-
"assets": [
|
|
316
|
-
"aaa",
|
|
317
|
-
"bbb",
|
|
318
|
-
"ccc"
|
|
319
|
-
],
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}`;
|
|
326
|
-
//# sourceMappingURL=json_spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json_spec.js","sourceRoot":"","sources":["json_spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2DAA8E;AAC9E,gEAAuF;AACvF,6BAA6B;AAC7B,+BAA0C;AAC1C,iCAAqF;AACrF,iCAAsD;AACtD,iCAAoC;AAEpC,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,o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