@igniteui/angular-templates 17.1.13113-beta.0 → 17.1.13113-beta.3

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.
@@ -8,9 +8,9 @@ name: Node.js CI
8
8
 
9
9
  on:
10
10
  push:
11
- branches: [ <%=yamlDefaultBranch%> ]
11
+ branches: [ $(yamlDefaultBranch) ]
12
12
  pull_request:
13
- branches: [ <%=yamlDefaultBranch%> ]
13
+ branches: [ $(yamlDefaultBranch) ]
14
14
 
15
15
  jobs:
16
16
  build:
@@ -27,4 +27,15 @@ export declare class BaseIgxProject implements ProjectTemplate {
27
27
  generateConfig(name: string, theme: string, ...options: any[]): {
28
28
  [key: string]: any;
29
29
  };
30
+ protected getVariablesConfig(name: string, theme: string): {
31
+ name: string;
32
+ theme: string;
33
+ cliVersion: string;
34
+ "dash-name": string;
35
+ description: string;
36
+ dot: string;
37
+ path: string;
38
+ projectTemplate: string;
39
+ yamlDefaultBranch: string;
40
+ };
30
41
  }
@@ -90,5 +90,18 @@ $app-palette: palette($primary, $secondary, $surface);
90
90
  }
91
91
  return config;
92
92
  }
93
+ getVariablesConfig(name, theme) {
94
+ return {
95
+ name,
96
+ theme,
97
+ "cliVersion": cli_core_1.Util.version(),
98
+ "dash-name": cli_core_1.Util.lowerDashed(name),
99
+ "description": this.description,
100
+ "dot": ".",
101
+ "path": name,
102
+ "projectTemplate": this.id,
103
+ "yamlDefaultBranch": this.id === "base" ? "<%=yaml-default-branch%>" : "main"
104
+ };
105
+ }
93
106
  }
94
107
  exports.BaseIgxProject = BaseIgxProject;
@@ -8,9 +8,9 @@ name: Node.js CI
8
8
 
9
9
  on:
10
10
  push:
11
- branches: [ <%=yamlDefaultBranch%> ]
11
+ branches: [ $(yamlDefaultBranch) ]
12
12
  pull_request:
13
- branches: [ <%=yamlDefaultBranch%> ]
13
+ branches: [ $(yamlDefaultBranch) ]
14
14
 
15
15
  jobs:
16
16
  build:
@@ -27,4 +27,15 @@ export declare class BaseIgxProject implements ProjectTemplate {
27
27
  generateConfig(name: string, theme: string, ...options: any[]): {
28
28
  [key: string]: any;
29
29
  };
30
+ protected getVariablesConfig(name: string, theme: string): {
31
+ name: string;
32
+ theme: string;
33
+ cliVersion: string;
34
+ "dash-name": string;
35
+ description: string;
36
+ dot: string;
37
+ path: string;
38
+ projectTemplate: string;
39
+ yamlDefaultBranch: string;
40
+ };
30
41
  }
@@ -90,5 +90,18 @@ $app-palette: palette($primary, $secondary, $surface);
90
90
  }
91
91
  return config;
92
92
  }
93
+ getVariablesConfig(name, theme) {
94
+ return {
95
+ name,
96
+ theme,
97
+ "cliVersion": cli_core_1.Util.version(),
98
+ "dash-name": cli_core_1.Util.lowerDashed(name),
99
+ "description": this.description,
100
+ "dot": ".",
101
+ "path": name,
102
+ "projectTemplate": this.id,
103
+ "yamlDefaultBranch": this.id === "base" ? "<%=yaml-default-branch%>" : "main"
104
+ };
105
+ }
93
106
  }
94
107
  exports.BaseIgxProject = BaseIgxProject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "17.1.13113-beta.0",
3
+ "version": "17.1.13113-beta.3",
4
4
  "description": "Templates for Ignite UI for Angular projects and components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "author": "Infragistics",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@igniteui/cli-core": "~13.1.13-beta.0",
15
+ "@igniteui/cli-core": "^13.1.13-beta.3",
16
16
  "typescript": "~4.7.2"
17
17
  }
18
18
  }