igniteui-cli 14.8.5 → 14.9.0-beta.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.
- package/lib/commands/doc.js +1 -1
- package/lib/commands/list.js +1 -1
- package/lib/commands/types.d.ts +1 -1
- package/package.json +5 -5
package/lib/commands/doc.js
CHANGED
|
@@ -58,7 +58,7 @@ const doc = {
|
|
|
58
58
|
if (!argv.term) {
|
|
59
59
|
const answer = yield PromptSession_1.PromptSession.chooseTerm();
|
|
60
60
|
argv.term = answer;
|
|
61
|
-
yield
|
|
61
|
+
yield doc.handler(argv);
|
|
62
62
|
}
|
|
63
63
|
else if (!cli_core_1.Util.isAlphanumericExt(argv.term)) {
|
|
64
64
|
return cli_core_1.Util.error(`The search term '${argv.term}' is not valid.` + "\n" +
|
package/lib/commands/list.js
CHANGED
|
@@ -35,7 +35,7 @@ const command = {
|
|
|
35
35
|
}
|
|
36
36
|
const templatesByGroup = [];
|
|
37
37
|
const controlGroups = [];
|
|
38
|
-
const framework =
|
|
38
|
+
const framework = command.templateManager.getFrameworkById(argv.framework);
|
|
39
39
|
if (!framework) {
|
|
40
40
|
return cli_core_1.Util.error("Wrong framework provided", "red");
|
|
41
41
|
}
|
package/lib/commands/types.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface PositionalArgs {
|
|
|
41
41
|
export interface CommandType extends CommandModule<{}, any> {
|
|
42
42
|
templateManager?: TemplateManager;
|
|
43
43
|
/** Handler function that will be called by yargs after the command line has been parsed. */
|
|
44
|
-
handler(argv: ArgumentsCamelCase<PositionalArgs>): any;
|
|
44
|
+
handler(/** do not use `this` in handler */ this: void, argv: ArgumentsCamelCase<PositionalArgs>): any;
|
|
45
45
|
}
|
|
46
46
|
export interface NewCommandType extends CommandType {
|
|
47
47
|
/** Adds choices to the `builder.framework` option. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.9.0-beta.1",
|
|
4
4
|
"description": "CLI tool for creating Ignite UI projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"all": true
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@igniteui/angular-templates": "~21.
|
|
74
|
-
"@igniteui/cli-core": "~14.
|
|
73
|
+
"@igniteui/angular-templates": "~21.1.1490-beta.1",
|
|
74
|
+
"@igniteui/cli-core": "~14.9.0-beta.1",
|
|
75
75
|
"@inquirer/prompts": "^7.9.0",
|
|
76
76
|
"@types/yargs": "^17.0.33",
|
|
77
77
|
"chalk": "^5.3.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@angular-devkit/core": "^21.0.0",
|
|
87
87
|
"@angular-devkit/schematics": "^21.0.0",
|
|
88
|
-
"@schematics/angular": "
|
|
88
|
+
"@schematics/angular": "^21.0.0",
|
|
89
89
|
"@types/jasmine": "^5.1.4",
|
|
90
90
|
"@types/node": "^22.5.5",
|
|
91
91
|
"browser-sync": "^3.0.3",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"jasmine": "^5.12.0",
|
|
94
94
|
"jasmine-spec-reporter": "^7.0.0",
|
|
95
95
|
"nyc": "^17.0.0",
|
|
96
|
-
"rxjs": "
|
|
96
|
+
"rxjs": "~7.8.1",
|
|
97
97
|
"source-map-support": "^0.5.21",
|
|
98
98
|
"ts-node": "~10.9.2",
|
|
99
99
|
"tslint": "~6.1.0",
|