@progress/kendo-angular-schematics 25.3.0-develop.8 → 25.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.
- package/e2e/utils.js +4 -4
- package/package.json +2 -2
- package/src/ngAdd/theming.d.ts +1 -1
- package/src/ngAdd/theming.js +1 -1
package/e2e/utils.js
CHANGED
|
@@ -41,14 +41,14 @@ exports.schematicsPackagePath = (0, path_1.resolve)(`${exports.tempDir}/${export
|
|
|
41
41
|
async function packSchematics() {
|
|
42
42
|
await deleteFileIfExists(exports.schematicsPackageName, exports.schematicsPath);
|
|
43
43
|
await deleteFileIfExists(exports.schematicsPackageName, exports.tempDir);
|
|
44
|
-
// Replace ^14.6.
|
|
44
|
+
// Replace ^14.6.1 before packing — the release pipeline does this for published builds
|
|
45
45
|
// but the e2e tests pack the local build directly, so the placeholder would remain literal
|
|
46
46
|
const themingPath = (0, path_1.resolve)(`${exports.schematicsPath}/ngAdd/theming.js`);
|
|
47
47
|
if ((0, fs_1.existsSync)(themingPath)) {
|
|
48
48
|
const content = (0, fs_1.readFileSync)(themingPath, 'utf8');
|
|
49
|
-
if (content.includes('^14.6.
|
|
50
|
-
(0, fs_1.writeFileSync)(themingPath, content.replace(/\^14.6.
|
|
51
|
-
console.log('packSchematics: substituted ^14.6.
|
|
49
|
+
if (content.includes('^14.6.1')) {
|
|
50
|
+
(0, fs_1.writeFileSync)(themingPath, content.replace(/\^14.6.1/g, 'latest'), 'utf8');
|
|
51
|
+
console.log('packSchematics: substituted ^14.6.1 with latest in theming.js');
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
const output = await exec('npm pack', exports.schematicsPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-schematics",
|
|
3
|
-
"version": "25.3.0
|
|
3
|
+
"version": "25.3.0",
|
|
4
4
|
"description": "Kendo UI Schematics for Angular",
|
|
5
5
|
"license": "SEE LICENSE in LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@progress/kendo-angular-schematics": "25.3.0
|
|
32
|
+
"@progress/kendo-angular-schematics": "25.3.0",
|
|
33
33
|
"semver": "^7.5.3",
|
|
34
34
|
"@types/semver": "^7.5.0"
|
|
35
35
|
},
|
package/src/ngAdd/theming.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Rule } from '@angular-devkit/schematics';
|
|
6
6
|
import { Schema as RegisterSchema } from './schema';
|
|
7
|
-
export declare const themeVersion = "^14.6.
|
|
7
|
+
export declare const themeVersion = "^14.6.1";
|
|
8
8
|
export declare function importTheme(options: RegisterSchema): Rule;
|
package/src/ngAdd/theming.js
CHANGED
|
@@ -15,7 +15,7 @@ const themePackageName = (options) => {
|
|
|
15
15
|
return `@progress/kendo-theme-${options.theme}`;
|
|
16
16
|
};
|
|
17
17
|
const themePath = (name) => `node_modules/${name}/dist/all.css`;
|
|
18
|
-
exports.themeVersion = '^14.6.
|
|
18
|
+
exports.themeVersion = '^14.6.1';
|
|
19
19
|
function importTheme(options) {
|
|
20
20
|
const theme = themePackageName(options);
|
|
21
21
|
if (!theme)
|