igniteui-live-editing 3.4.3 → 3.5.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.
|
@@ -484,6 +484,13 @@ class SampleAssetsGenerator {
|
|
|
484
484
|
dependenciesString += `,\n ${replacement}`;
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
+
// Update devDependencies in the template from the project's devDependencies
|
|
488
|
+
const devDeps = new DependencyResolver_1.DevDependencyResolver().devDependencies;
|
|
489
|
+
for (const pkg in devDeps) {
|
|
490
|
+
const escapedPkg = pkg.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
491
|
+
const versionPattern = new RegExp(`"${escapedPkg}": "[^"]*"`, 'g');
|
|
492
|
+
packageJsonFile = packageJsonFile.replace(versionPattern, `"${pkg}": "${devDeps[pkg]}"`);
|
|
493
|
+
}
|
|
487
494
|
// Add packages without resolved versions
|
|
488
495
|
for (const dep of dependencies) {
|
|
489
496
|
if (!withVersions[dep]) {
|
package/package.json
CHANGED
|
@@ -47,12 +47,14 @@ const SHARED_DEV_DEPENDENCIES = {
|
|
|
47
47
|
};
|
|
48
48
|
const DEPENDENCIES_WITH_FIXED_VERSION = {};
|
|
49
49
|
const SHARED_DEPENDENCIES = [
|
|
50
|
+
"@angular/cdk",
|
|
50
51
|
"@angular/common",
|
|
51
52
|
"@angular/compiler",
|
|
52
53
|
"@angular/core",
|
|
53
54
|
"@angular/forms",
|
|
54
55
|
"@angular/platform-browser",
|
|
55
56
|
"@angular/platform-browser-dynamic",
|
|
57
|
+
"@angular/router",
|
|
56
58
|
"rxjs",
|
|
57
59
|
"zone.js",
|
|
58
60
|
"igniteui-angular",
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compileOnSave": false,
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"baseUrl": "./",
|
|
5
4
|
"outDir": "./dist/out-tsc",
|
|
6
5
|
"sourceMap": true,
|
|
7
6
|
"esModuleInterop": true,
|
|
8
7
|
"declaration": false,
|
|
9
|
-
"
|
|
10
|
-
"module": "esnext",
|
|
8
|
+
"module": "ES2022",
|
|
11
9
|
"moduleResolution": "bundler",
|
|
12
10
|
"importHelpers": true,
|
|
13
11
|
"target": "ES2022",
|
|
@@ -17,9 +15,11 @@
|
|
|
17
15
|
"lib": [
|
|
18
16
|
"es2022",
|
|
19
17
|
"dom"
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
18
|
+
],
|
|
19
|
+
"skipLibCheck": true,
|
|
20
|
+
"useDefineForClassFields": false,
|
|
21
|
+
"strictPropertyInitialization": false,
|
|
22
|
+
"strictNullChecks": false,
|
|
23
|
+
"noImplicitAny": false
|
|
24
24
|
}
|
|
25
25
|
}
|