@progress/kendo-cli 1.9.4-develop.2 → 1.10.0-develop.1

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.
@@ -0,0 +1,2 @@
1
+ import { CreateAngularApp } from "./project-templates/angular-template/index";
2
+ export declare const angularProjectTemplates: (typeof CreateAngularApp)[];
@@ -0,0 +1,28 @@
1
+ import { INPMProject, ProjectTemplate } from "@telerik/scaffolding";
2
+ import { Aba } from "./schema";
3
+ import type angularAppOptions from "./schema.json";
4
+ interface TemplateTree {
5
+ /**
6
+ * Relative file paths.
7
+ */
8
+ files: string[];
9
+ /**
10
+ * Reads the file at {@link file} as string.
11
+ */
12
+ readString(file: string): Promise<string>;
13
+ /**
14
+ * Reads a binary file at {@link file} as Base64 encoded string.
15
+ */
16
+ readBase64(file: string): Promise<string>;
17
+ }
18
+ export declare class CreateAngularApp extends ProjectTemplate<Aba> {
19
+ static schema(): Promise<typeof angularAppOptions>;
20
+ applyKendoThemeAndSwatch(file: string, content: string): Promise<string>;
21
+ templateTree(template: string): Promise<TemplateTree>;
22
+ textFileExtensions: Set<string>;
23
+ binaryFileExtensions: Set<string>;
24
+ apply(project: INPMProject): Promise<void>;
25
+ applyTemplate(project: INPMProject, template: TemplateTree, destination: string): Promise<void>;
26
+ private createAppSourceFiles;
27
+ }
28
+ export {};