Skip to content
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e1b6a03
Initial plan
Copilot Feb 23, 2026
53f2a41
Initial plan for adding AI coding skills prompt to ng-add schematic
Copilot Feb 23, 2026
d85905e
Add AI coding skills prompt to cli-config schematic
Copilot Feb 23, 2026
7d653a5
Improve error logging in fetchSkillContent
Copilot Feb 23, 2026
9d2c441
Revert previous implementation per updated requirements
Copilot Feb 23, 2026
7e585b9
Implement AI skills with agent selection from node_modules
Copilot Feb 23, 2026
56be65b
Address code review: improve null safety in copySkillFile and addAISk…
Copilot Feb 23, 2026
c294c77
Remove tracked d.ts build artifact
Copilot Feb 23, 2026
2dd0a82
Add .agents/skills/ option for VS Code Agents
Copilot Feb 23, 2026
9c8e4b2
Switch to InquirerWrapper-based prompting and revert yarn.lock
Copilot Feb 24, 2026
cd601c0
Extract AGENT_CHOICES constant and use robust label-to-key mapping
Copilot Feb 24, 2026
53e73f5
Merge branch 'master' of https://github.com/IgniteUI/igniteui-cli int…
Marina-L-Stoyanova Mar 17, 2026
fa67f32
feat: add AI skills integration to project setup
Marina-L-Stoyanova Mar 18, 2026
b9967bd
fix: remove unused webcomponents package from upgradeable packages an…
Marina-L-Stoyanova Mar 18, 2026
c6c401d
fix(PackageManager): improve stdio handling during package installati…
Marina-L-Stoyanova Mar 18, 2026
189cef8
fix(PackageManager): simplify stdio handling in npm install calls
Marina-L-Stoyanova Mar 18, 2026
16dd25b
Potential fix for pull request finding
Marina-L-Stoyanova Mar 18, 2026
cd6cc33
feat: implement ScopedTree utility and refactor skill file handling i…
Marina-L-Stoyanova Mar 19, 2026
f966f2e
Merge branch 'copilot/add-ai-coding-instructions' of https://github.c…
Marina-L-Stoyanova Mar 19, 2026
3f44921
Potential fix for pull request finding
Marina-L-Stoyanova Mar 20, 2026
d2eb93f
Merge remote-tracking branch 'origin/master' into copilot/add-ai-codi…
damyanpetev Mar 26, 2026
9dfe26a
fix(): address comments
Marina-L-Stoyanova Mar 26, 2026
7469211
Merge branch 'copilot/add-ai-coding-instructions' of https://github.c…
Marina-L-Stoyanova Mar 26, 2026
bc8d895
fix: update addAISkills condition and correct package name in tests
Marina-L-Stoyanova Mar 26, 2026
15bb3c2
fix: add directory option to CliConfigOptions interface
Marina-L-Stoyanova Mar 26, 2026
2a8c381
fix: add filter to avoid overwriting existing AI skills files
Marina-L-Stoyanova Mar 26, 2026
ff9e6f5
feat: refactor AI skills handling and improve copyAISkillsToProject f…
Marina-L-Stoyanova Mar 27, 2026
a44105e
feat: implement add-skills command to copy AI coding skills to the pr…
Marina-L-Stoyanova Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# ignore compiled files in packages
/packages/**/*.js.map
/packages/**/*.js
/packages/**/*.d.ts
/scripts/**/*.js.map
/scripts/**/*.js
/spec/**/*.js.map
Expand Down
3 changes: 3 additions & 0 deletions packages/cli/lib/PromptSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
ProjectLibrary, PromptTaskContext, Task, Util
} from "@igniteui/cli-core";
import * as path from "path";
import { copyAISkillsToProject } from "./ai-skills";
import { default as add } from "./commands/add";
import { default as start } from "./commands/start";
import { default as upgrade } from "./commands/upgrade";
Expand Down Expand Up @@ -95,6 +96,8 @@ export class PromptSession extends BasePromptSession {

protected async completeAndRun(port?: number) {
await PackageManager.flushQueue(true);
await PackageManager.installPackages();
await copyAISkillsToProject();
if (true) { // TODO: Make conditional?
await start.start({ port });
}
Expand Down
91 changes: 91 additions & 0 deletions packages/cli/lib/ai-skills.ts
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea for this was to be added in core package so the utility functions can be directly reused in schematics directly, unless it's hard to do with the current FS API we have

Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
import * as path from "path";
import { App, FS_TOKEN, IFileSystem, NPM_ANGULAR, NPM_REACT, NPM_WEBCOMPONENTS, ProjectConfig, resolvePackage, UPGRADEABLE_PACKAGES, Util } from "@igniteui/cli-core";

const CLAUDE_SKILLS_DIR = ".claude/skills";

/**
* Returns the list of absolute 'skills/' directory paths found in installed
* Ignite UI packages that are relevant to the project's detected framework.
* When multiple roots are found (e.g. several igniteui-webcomponents-* packages)
* each is returned so their files can be aggregated by the caller.
*/
function resolveSkillsRoots(nodeModulesDir: string, fs: IFileSystem): string[] {
const roots: string[] = [];

// Try to read the project framework from ignite-ui-cli.json
let framework: string | null = null;
try {
if (ProjectConfig.hasLocalConfig()) {
framework = ProjectConfig.getConfig().project?.framework?.toLowerCase() ?? null;
}
} catch { /* config not readable – fall through to scan all */ }

// Map framework id → candidate package names from the known packages registry
let candidates: string[];
if (framework === "angular") {
candidates = [NPM_ANGULAR];
} else if (framework === "react") {
candidates = [NPM_REACT];
} else if (framework === "webcomponents") {
candidates = [NPM_WEBCOMPONENTS];
} else {
// Unknown / jQuery – check every known Ignite UI package
candidates = Object.keys(UPGRADEABLE_PACKAGES);
}

for (const pkg of candidates) {
const resolved = resolvePackage(pkg as keyof typeof UPGRADEABLE_PACKAGES);
const skillsRoot = path.join(nodeModulesDir, resolved, "skills");
if (fs.directoryExists(skillsRoot) && !roots.includes(skillsRoot)) {
roots.push(skillsRoot);
}
}

return roots;
}

/**
* Copies skill files from the installed Ignite UI package(s) into .claude/skills/.
* The source package(s) are determined by the project's framework as recorded
* in ignite-ui-cli.json (angular → igniteui-angular, react → igniteui-react*,
* webcomponents → igniteui-webcomponents*).
* Must be called with process.cwd() set to the project root.
*/
export async function copyAISkillsToProject(): Promise<void> {
const fs: IFileSystem = App.container.get<IFileSystem>(FS_TOKEN);
const nodeModulesDir = path.join(process.cwd(), "node_modules");
const skillsRoots = resolveSkillsRoots(nodeModulesDir, fs);

if (!skillsRoots.length) {
return; // no skills available for this framework, silently skip
}

// Collect files from all skill roots.
// When multiple packages contribute skills (e.g. several igniteui-webcomponents-* packages),
// prefix each file's relative path with the package directory name so that each package
// gets its own subdirectory under .claude/skills/.
const allFiles: Array<{ full: string; relative: string }> = [];
for (const skillsRoot of skillsRoots) {
const rawPaths = fs.glob(skillsRoot, "**/*");
const pkgDirName = path.basename(path.dirname(skillsRoot)); // e.g. "igniteui-react"
for (const p of rawPaths) {
const full = p.replace(/\//g, path.sep);
const relFromRoot = path.relative(skillsRoot, full);
const relative = skillsRoots.length > 1
? path.join(pkgDirName, relFromRoot)
: relFromRoot;
allFiles.push({ full, relative });
}
}

if (!allFiles.length) return;

const destAbs = path.join(process.cwd(), CLAUDE_SKILLS_DIR);
for (const { full, relative } of allFiles) {
const dest = path.join(destAbs, relative);
if (!fs.fileExists(dest)) {
fs.writeFile(dest, fs.readFile(full, "utf8"));
Util.log(`${Util.greenCheck()} Created ${path.relative(process.cwd(), dest)}`);
}
}
}
2 changes: 2 additions & 0 deletions packages/cli/lib/commands/new.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { GoogleAnalytics, PackageManager, ProjectConfig, ProjectLibrary, Util } from "@igniteui/cli-core";
import * as path from "path";
import { copyAISkillsToProject } from "../ai-skills";
import { PromptSession } from "./../PromptSession";
import { NewCommandType, PositionalArgs } from "./types";
import { TemplateManager } from "../TemplateManager";
Expand Down Expand Up @@ -154,6 +155,7 @@ const command: NewCommandType = {
if (!argv.skipInstall) {
process.chdir(argv.name);
await PackageManager.installPackages();
await copyAISkillsToProject();
process.chdir("..");
Comment on lines 154 to 157
}

Expand Down
7 changes: 4 additions & 3 deletions packages/core/packages/PackageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ export class PackageManager {
await this.flushQueue(false);
Util.log(`Installing ${managerCommand} packages`);
try {
// inherit the parent process' stdin so we can catch if an attempt to interrupt the process is made
// ignore stdout and stderr as they will output unnecessary text onto the console
Util.execSync(command, { stdio: ["inherit"], killSignal: "SIGINT" });
// inherit all stdio so user can see progress and Ctrl+C interrupts work correctly.
// using only stdio: ["inherit"] (stdin-only) causes a pipe deadlock when npm install
// output exceeds the internal buffer, freezing the process indefinitely.
Util.execSync(command, { stdio: "inherit" });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't change these unless there's an explicit reason - and the one given here doesn't quite make sense, especially related to the change being made.

Util.log(`Packages installed successfully`);
} catch (error) {
// ^C (SIGINT) produces status:3221225786 https://github.com/sass/node-sass/issues/1283#issuecomment-169450661
Expand Down
6 changes: 5 additions & 1 deletion packages/core/prompt/InquirerWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { checkbox, input, select, Separator } from '@inquirer/prompts';
import { checkbox, confirm, input, select, Separator } from '@inquirer/prompts';
import { Context } from '@inquirer/type';

// ref - node_modules\@inquirer\input\dist\cjs\types\index.d.ts - bc for some reason this is not publicly exported
Expand Down Expand Up @@ -32,4 +32,8 @@ export class InquirerWrapper {
public static async checkbox(message: InputConfig & { choices: (string | Separator)[] }, context?: Context): Promise<string[]> {
return checkbox(message, context);
}

public static async confirm(message: { message: string; default?: boolean }, context?: Context): Promise<boolean> {
return confirm(message, context);
}
}
2 changes: 2 additions & 0 deletions packages/core/update/package-resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export const NPM_REACT_SPREADSHEET_CHART_ADAPTER = "igniteui-react-spreadsheet-c
export const FEED_REACT_SPREADSHEET_CHART_ADAPTER = "@infragistics/igniteui-react-spreadsheet-chart-adapter";

// webcomponents
export const NPM_WEBCOMPONENTS = "igniteui-webcomponents";
export const FEED_WEBCOMPONENTS = "@infragistics/igniteui-webcomponents";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, nope. There's no @infragistics/igniteui-webcomponents and these were not listed here for a reason

export const NPM_WEBCOMPONENTS_CHARTS = "igniteui-webcomponents-charts";
Comment on lines 43 to 44
Comment on lines 43 to 44
export const FEED_WEBCOMPONENTS_CHARTS = "@infragistics/igniteui-webcomponents-charts";
export const NPM_WEBCOMPONENTS_CORE = "igniteui-webcomponents-core";
Expand Down
1 change: 1 addition & 0 deletions packages/core/util/FileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class FsFileSystem implements IFileSystem {
return fs.readFileSync(filePath).toString();
}
public writeFile(filePath: string, text: string): void {
fs.mkdirSync(path.dirname(filePath), { recursive: true });
Copy link
Copy Markdown
Member

@damyanpetev damyanpetev Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're adding this to this implementation, should also do the same for the NgTreeFileSystem in packages\ng-schematics\src\utils\NgFileSystem.ts, unless that already behaves that way.

And should be reflected in the description that the write creates structure along the way to the file if missing.

fs.writeFileSync(filePath, text);
}
public directoryExists(dirPath: string): boolean {
Expand Down
79 changes: 73 additions & 6 deletions packages/ng-schematics/src/cli-config/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import * as path from "path";
import * as ts from "typescript";
import { DependencyNotFoundException } from "@angular-devkit/core";
import { chain, FileDoesNotExistException, Rule, SchematicContext, Tree } from "@angular-devkit/schematics";
import { chain, DirEntry, FileDoesNotExistException, Rule, SchematicContext, Tree } from "@angular-devkit/schematics";
import { ScopedTree } from "@angular-devkit/schematics/src/tree/scoped";
import { addClassToBody, FormatSettings, NPM_ANGULAR, resolvePackage, TypeScriptAstTransformer, TypeScriptUtils } from "@igniteui/cli-core";
import { AngularTypeScriptFileUpdate } from "@igniteui/angular-templates";
import { createCliConfig } from "../utils/cli-config";
import { setVirtual } from "../utils/NgFileSystem";
import { addFontsToIndexHtml, getProjects, importDefaultTheme } from "../utils/theme-import";

interface CliConfigOptions {
directory?: string;
addAISkills?: boolean;
}

function getDependencyVersion(pkg: string, tree: Tree): string {
const targetFile = "/package.json";
if (tree.exists(targetFile)) {
Expand Down Expand Up @@ -117,16 +124,76 @@ function importStyles(): Rule {
};
}

const CLAUDE_SKILLS_DIR = ".claude/skills";

/** Recursively collects all files under a DirEntry as { full, relative } path pairs */
function collectSkillFiles(dir: DirEntry, basePath: string): Array<{ full: string; relative: string }> {
const results: Array<{ full: string; relative: string }> = [];
for (const file of dir.subfiles) {
results.push({ full: path.posix.join(basePath, file as string), relative: file as string });
}
for (const subdir of dir.subdirs) {
const sub = dir.dir(subdir);
for (const entry of collectSkillFiles(sub, path.posix.join(basePath, subdir as string))) {
results.push({ full: entry.full, relative: path.posix.join(subdir as string, entry.relative) });
}
}
return results;
}

function copySkillFile(tree: Tree, sourcePath: string, destPath: string, context: SchematicContext): void {
if (!tree.exists(sourcePath)) {
context.logger.debug(`Source skill file not found: ${sourcePath}`);
return;
}
if (tree.exists(destPath)) {
context.logger.info(`${destPath} already exists. Skipping.`);
return;
}
const content = tree.read(sourcePath);
if (!content) {
context.logger.debug(`Could not read source skill file: ${sourcePath}`);
return;
}
tree.create(destPath, content);
context.logger.info(`Created ${destPath}`);
}

function addAISkillsFiles(options: CliConfigOptions): Rule {
return (tree: Tree, context: SchematicContext) => {
if (options.addAISkills === false) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (options.addAISkills === false) {
if (options.addAISkills) {

return;
}

const igxPackage = resolvePackage(NPM_ANGULAR);
const skillsSourceDir = `/node_modules/${igxPackage}/skills`;
const skillsDir = tree.getDir(skillsSourceDir);
const allSkillFiles = collectSkillFiles(skillsDir, skillsSourceDir);

if (!allSkillFiles.length) {
return;
}

for (const { full, relative } of allSkillFiles) {
const destPath = path.posix.join(CLAUDE_SKILLS_DIR, relative);
copySkillFile(tree, full, destPath, context);
}
};
}

// tslint:disable-next-line:space-before-function-paren
export default function (): Rule {
return (tree: Tree) => {
export default function (options: CliConfigOptions = {}): Rule {
return (originalTree: Tree, context: SchematicContext) => {
const tree = options.directory ? new ScopedTree(originalTree, options.directory) : originalTree;
setVirtual(tree);
return chain([
const rules: Rule[] = [
importStyles(),
addTypographyToProj(),
importBrowserAnimations(),
createCliConfig(),
displayVersionMismatch()
]);
displayVersionMismatch(),
addAISkillsFiles(options)
];
return chain(rules)(tree, context);
};
}
52 changes: 52 additions & 0 deletions packages/ng-schematics/src/cli-config/index_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,56 @@ export const appConfig: ApplicationConfig = {
await runner.runSchematic("cli-config", {}, tree);
expect(warns).toContain(jasmine.stringMatching(pattern));
});

describe("addAISkills", () => {
const mockSkillContent = "# Ignite UI for Angular - AI Skills\nBest practices...";
const claudeDest = ".claude/skills";

function createSkillFiles(igxPkg = NPM_ANGULAR) {
const dir = `node_modules/${igxPkg}/skills`;
tree.create(`${dir}/igniteui-angular.md`, mockSkillContent);
}

it("should automatically copy skill files to .claude/skills/", async () => {
createSkillFiles();
await runner.runSchematic("cli-config", {}, tree);
expect(tree.exists(`${claudeDest}/igniteui-angular.md`)).toBeTruthy();
expect(tree.readContent(`${claudeDest}/igniteui-angular.md`)).toEqual(mockSkillContent);
});

it("should NOT create skill files when addAISkills is false", async () => {
createSkillFiles();
await runner.runSchematic("cli-config", {
addAISkills: false
}, tree);
expect(tree.exists(`${claudeDest}/igniteui-angular.md`)).toBeFalsy();
});

it("should not overwrite existing skill files", async () => {
createSkillFiles();
const existingContent = "# Existing skill";
tree.create(`${claudeDest}/igniteui-angular.md`, existingContent);

await runner.runSchematic("cli-config", {}, tree);
expect(tree.readContent(`${claudeDest}/igniteui-angular.md`)).toEqual(existingContent);
});

it("should silently skip when no skill files found in the package", async () => {
// no skill files created → nothing copied, no errors
await runner.runSchematic("cli-config", {}, tree);
expect(tree.exists(claudeDest)).toBeFalsy();
});

it("should work with FEED_ANGULAR package", async () => {
await runner.runSchematic("cli-config", {}, tree);

resetTree();
createIgPkgJson(FEED_ANGULAR);
populatePkgJson(FEED_ANGULAR);
createSkillFiles(FEED_ANGULAR);

await runner.runSchematic("cli-config", {}, tree);
expect(tree.exists(`${claudeDest}/igniteui-angular.md`)).toBeTruthy();
});
});
});
26 changes: 26 additions & 0 deletions packages/ng-schematics/src/cli-config/schema.json
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure Angular's pre-defined prompts work like step-by-step without some connection, pretty likely this will prompt all 3 in sequence
addAISkills?
aiSkillsTargets?
aiSkillsCustomPath?
regardless of answers, which is not what we intend, no?
If this works though, might belong on the main ng add schematic as well, since those will be passed here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, @copilot do you have any information if those prompts will actually depend on each other?
And if this configuration doesn't do it, is there an option that will?
Do not make changes, just provide review information.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Angular's x-prompt in schema.json does not support conditional/dependent prompts. All properties with x-prompt are prompted sequentially regardless of previous answers. So yes, the user would be asked all three questions (addAISkills?, aiSkillsTargets?, aiSkillsCustomPath?) in sequence even if they answer "no" to the first one.

The Angular schematics schema.json spec has no built-in mechanism for conditional prompts (no if/when/dependsOn support). To make prompts conditional, the logic would need to move into the schematic's TypeScript code itself — for example, by removing the x-prompt from aiSkillsTargets and aiSkillsCustomPath in the schema and instead using programmatic prompting (e.g., via @angular-devkit/schematics's SchematicContext or a custom prompt library) inside the index.ts rule function, only when addAISkills is true.

That said, the current implementation guards the actual file operations: even if all prompts fire, no files are written unless addAISkills !== false AND aiSkillsTargets has selections. So the behavior is correct, just the UX is suboptimal with extra prompts shown unnecessarily.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, @copilot can you attempt an alternative implementation with the prompt implementation used in the project internally - see the prompting used by the ng-new schematic and the SchematicsPromptSession and getUserInput setup. Make that in a separate PR;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unable to create separate PRs — I can only make changes within this current PR branch. If you'd like me to implement the alternative approach using SchematicsPromptSession and getUserInput (as used by the ng-new schematic) here in this PR instead of the current x-prompt schema approach, I can do that. Otherwise, a separate PR with that alternative would need to be created manually or by re-invoking me on a new branch/issue.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Okay, sure update the implementation in this PR and also please remove the extra changes in .gitignore and yarn.lock

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented in 9c8e4b2 and cd601c0. The prompting now uses InquirerWrapper with conditional, step-by-step flow:

  1. InquirerWrapper.confirm() — "Would you like to add AI coding skills for your IDE?" (only when addAISkills not pre-specified)
  2. InquirerWrapper.checkbox() — Agent target selection (only when aiSkillsTargets not pre-specified)
  3. InquirerWrapper.input() — Custom path input (only when "custom" selected and path not pre-specified)

Also removed the yarn.lock changes. Kept the single .gitignore line (/packages/**/*.d.ts) since tsconfig.json has declaration: true and these build artifacts would otherwise be committed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "http://json-schema.org/schema",
"$id": "igniteui-angular-cli-config",
"title": "Ignite UI for Angular CLI Config Options Schema",
"type": "object",
"properties": {
"addAISkills": {
"type": "boolean",
"description": "Add AI coding skills for your IDE",
"default": true
},
"aiSkillsTargets": {
"type": "array",
"description": "AI agent targets for skill files",
"items": {
"type": "string",
"enum": ["copilot", "claude", "cursor", "agents", "custom"]
}
},
"aiSkillsCustomPath": {
"type": "string",
"description": "Custom path for AI skill files"
}
},
"required": []
}
3 changes: 2 additions & 1 deletion packages/ng-schematics/src/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
},
"cli-config": {
"description": "Installs the needed dependencies onto the host application.",
"factory": "./cli-config/index"
"factory": "./cli-config/index",
"schema": "./cli-config/schema.json"
},
"upgrade-packages": {
"description": "Upgrades to the licensed Ignite UI for Angular packages",
Expand Down
1 change: 1 addition & 0 deletions packages/ng-schematics/src/component/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export function component(options: ComponentOptions): Rule {
component: projLib.components,
custom: projLib.getCustomTemplates()
};
void properties; // cache templates for use inside chooseActionLoop
let prompt: SchematicsPromptSession;
Comment on lines 86 to 91
if (!options.template || !options.name) {
prompt = new SchematicsPromptSession(templateManager);
Expand Down
Loading
Loading