igniteui-cli 15.0.0-alpha.0 → 15.0.0-rc.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/README.md +2 -2
- package/bin/execute.js +4 -1
- package/lib/PromptSession.d.ts +1 -0
- package/lib/PromptSession.js +8 -4
- package/lib/TemplateManager.js +3 -7
- package/lib/cli.js +22 -6
- package/lib/commands/ai-config.d.ts +7 -0
- package/lib/commands/ai-config.js +117 -0
- package/lib/commands/build.js +0 -3
- package/lib/commands/doc.js +1 -1
- package/lib/commands/generate.js +0 -1
- package/lib/commands/index.d.ts +1 -0
- package/lib/commands/index.js +3 -1
- package/lib/commands/list.js +1 -1
- package/lib/commands/mcp.js +47 -510
- package/lib/commands/start.js +6 -19
- package/lib/commands/types.d.ts +3 -2
- package/lib/commands/types.js +4 -2
- package/lib/templates/IgniteUIForReactTemplate.d.ts +0 -3
- package/lib/templates/IgniteUIForReactTemplate.js +0 -24
- package/lib/templates/jQueryTemplate.js +0 -2
- package/migrations/{update-13_1_0 → legacy-type}/index.js +4 -6
- package/migrations/{update-13_1_0 → legacy-type}/index.spec.js +4 -6
- package/migrations/migration-collection.json +8 -39
- package/package.json +13 -14
- package/scripts/install.js +1 -2
- package/scripts/uninstall.js +1 -2
- package/templates/angular/index.js +0 -1
- package/templates/jquery/index.js +0 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +0 -2
- package/templates/jquery/js/index.js +0 -2
- package/templates/react/igr-ts/accordion/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/accordion/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/accordion/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/accordion/default/index.js +17 -0
- package/templates/react/igr-ts/accordion/index.js +12 -0
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/avatar/default/index.js +17 -0
- package/templates/react/igr-ts/avatar/index.js +12 -0
- package/templates/react/igr-ts/badge/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/badge/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/badge/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/badge/default/index.js +17 -0
- package/templates/react/igr-ts/badge/index.js +12 -0
- package/templates/react/igr-ts/banner/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/banner/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/banner/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/banner/default/index.js +17 -0
- package/templates/react/igr-ts/banner/index.js +12 -0
- package/templates/react/igr-ts/bullet-graph/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/bullet-graph/default/index.js +1 -1
- package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/button/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/button/default/index.js +17 -0
- package/templates/react/igr-ts/button/index.js +12 -0
- package/templates/react/igr-ts/button-group/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/button-group/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/button-group/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/button-group/default/index.js +17 -0
- package/templates/react/igr-ts/button-group/index.js +12 -0
- package/templates/react/igr-ts/calendar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/calendar/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/calendar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/calendar/default/index.js +17 -0
- package/templates/react/igr-ts/calendar/index.js +12 -0
- package/templates/react/igr-ts/card/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/card/default/files/src/app/__path__/__filePrefix__.tsx +26 -0
- package/templates/react/igr-ts/card/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/card/default/index.js +17 -0
- package/templates/react/igr-ts/card/index.js +12 -0
- package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.tsx +2 -6
- package/templates/react/igr-ts/category-chart/default/index.js +1 -1
- package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/checkbox/default/index.js +17 -0
- package/templates/react/igr-ts/checkbox/index.js +12 -0
- package/templates/react/igr-ts/chip/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/chip/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/chip/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/chip/default/index.js +17 -0
- package/templates/react/igr-ts/chip/index.js +12 -0
- package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/circular-progress/default/index.js +17 -0
- package/templates/react/igr-ts/circular-progress/index.js +12 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/__filePrefix__.tsx +33 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/index.js +16 -0
- package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/date-picker/default/index.js +17 -0
- package/templates/react/igr-ts/date-picker/index.js +12 -0
- package/templates/react/igr-ts/divider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/divider/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/divider/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/divider/default/index.js +17 -0
- package/templates/react/igr-ts/divider/index.js +12 -0
- package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.tsx +6 -11
- package/templates/react/igr-ts/doughnut-chart/default/index.js +1 -1
- package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/__filePrefix__.tsx +19 -0
- package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/dropdown/default/index.js +17 -0
- package/templates/react/igr-ts/dropdown/index.js +12 -0
- package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/__filePrefix__.tsx +17 -0
- package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/expansion-panel/default/index.js +17 -0
- package/templates/react/igr-ts/expansion-panel/index.js +12 -0
- package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.tsx +2 -6
- package/templates/react/igr-ts/financial-chart/default/index.js +1 -1
- package/templates/react/igr-ts/form/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/form/default/files/src/app/__path__/__filePrefix__.tsx +24 -0
- package/templates/react/igr-ts/form/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/form/default/index.js +17 -0
- package/templates/react/igr-ts/form/index.js +12 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.tsx +12 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/style.module.css +3 -0
- package/templates/react/{es6 → igr-ts}/generate/template.json +1 -1
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.tsx +3 -6
- package/templates/react/igr-ts/grid/basic/index.js +1 -2
- package/templates/react/igr-ts/groups.json +9 -2
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.tsx +21 -0
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/icon/default/index.js +17 -0
- package/templates/react/igr-ts/icon/index.js +12 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/icon-button/default/index.js +17 -0
- package/templates/react/igr-ts/icon-button/index.js +12 -0
- package/templates/react/igr-ts/index.js +1 -2
- package/templates/react/igr-ts/input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/input/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/input/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/input/default/index.js +17 -0
- package/templates/react/igr-ts/input/index.js +12 -0
- package/templates/react/igr-ts/linear-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/linear-gauge/default/index.js +1 -1
- package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/linear-progress/default/index.js +17 -0
- package/templates/react/igr-ts/linear-progress/index.js +12 -0
- package/templates/react/igr-ts/list/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/list/default/files/src/app/__path__/__filePrefix__.tsx +31 -0
- package/templates/react/igr-ts/list/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/list/default/index.js +17 -0
- package/templates/react/igr-ts/list/index.js +12 -0
- package/templates/react/igr-ts/navbar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/navbar/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/navbar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/navbar/default/index.js +17 -0
- package/templates/react/igr-ts/navbar/index.js +12 -0
- package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.tsx +5 -11
- package/templates/react/igr-ts/pie-chart/default/index.js +1 -1
- package/templates/react/igr-ts/projects/_base/files/AGENTS.md +111 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/CLAUDE.md +3 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/README.md +89 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/SKILL.md +160 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/CHARTS-GRIDS.md +416 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/COMPONENT-CATALOGUE.md +292 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/EVENT-HANDLING.md +70 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/INSTALLATION.md +139 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/JSX-PATTERNS.md +187 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/REFS-FORMS.md +232 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/reference/TROUBLESHOOTING.md +147 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-customize-theme/SKILL.md +181 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-customize-theme/reference/CSS-THEMING.md +265 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-customize-theme/reference/MCP-SERVER.md +75 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-customize-theme/reference/SASS-THEMING.md +125 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-customize-theme/reference/TROUBLESHOOTING.md +35 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-optimize-bundle-size/SKILL.md +439 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__github/copilot-instructions.md +3 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__gitignore +22 -4
- package/templates/react/igr-ts/projects/_base/files/__dot__vscode/mcp.json +12 -0
- package/templates/react/igr-ts/projects/_base/files/eslint.config.js +42 -0
- package/templates/react/igr-ts/projects/_base/files/index.html +3 -7
- package/templates/react/igr-ts/projects/_base/files/package.json +25 -23
- package/templates/react/igr-ts/projects/_base/files/public/favicon.svg +1 -0
- package/templates/react/igr-ts/projects/_base/files/public/icons.svg +24 -0
- package/templates/react/igr-ts/projects/_base/files/src/app/app.test.tsx +6 -1
- package/templates/react/igr-ts/projects/_base/files/src/main.tsx +5 -5
- package/templates/react/igr-ts/projects/_base/files/src/setupTests.ts +9 -7
- package/templates/react/igr-ts/projects/_base/files/tsconfig.app.json +28 -0
- package/templates/react/igr-ts/projects/_base/files/tsconfig.json +5 -23
- package/templates/react/igr-ts/projects/_base/files/tsconfig.node.json +26 -0
- package/templates/react/igr-ts/projects/_base/files/vite.config.ts +6 -10
- package/templates/react/igr-ts/projects/_base_with_home/files/index.html +3 -7
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.test.tsx +9 -4
- package/templates/react/igr-ts/projects/top-nav/files/src/components/navigation-header/index.tsx +7 -17
- package/templates/react/igr-ts/radial-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/radial-gauge/default/index.js +1 -1
- package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/radio-group/default/index.js +17 -0
- package/templates/react/igr-ts/radio-group/index.js +12 -0
- package/templates/react/igr-ts/rating/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/rating/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/rating/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/rating/default/index.js +17 -0
- package/templates/react/igr-ts/rating/index.js +12 -0
- package/templates/react/igr-ts/ripple/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/ripple/default/files/src/app/__path__/__filePrefix__.tsx +17 -0
- package/templates/react/igr-ts/ripple/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/ripple/default/index.js +17 -0
- package/templates/react/igr-ts/ripple/index.js +12 -0
- package/templates/react/igr-ts/slider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/slider/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/slider/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/slider/default/index.js +17 -0
- package/templates/react/igr-ts/slider/index.js +12 -0
- package/templates/react/igr-ts/switch/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/switch/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/switch/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/switch/default/index.js +17 -0
- package/templates/react/igr-ts/switch/index.js +12 -0
- package/templates/react/igr-ts/tabs/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tabs/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/tabs/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/tabs/default/index.js +17 -0
- package/templates/react/igr-ts/tabs/index.js +12 -0
- package/templates/react/igr-ts/text-area/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/text-area/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/text-area/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/text-area/default/index.js +17 -0
- package/templates/react/igr-ts/text-area/index.js +12 -0
- package/templates/react/igr-ts/tree/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tree/default/files/src/app/__path__/__filePrefix__.tsx +29 -0
- package/templates/react/igr-ts/tree/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/tree/default/index.js +17 -0
- package/templates/react/igr-ts/tree/index.js +12 -0
- package/templates/react/index.js +0 -2
- package/templates/webcomponents/igc-ts/dock-manager/default/files/src/app/__path__/__filePrefix__.ts +129 -164
- package/templates/webcomponents/igc-ts/dock-manager/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/financial-chart/default/index.js +2 -2
- package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.test.ts +1 -1
- package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.ts +56 -63
- package/templates/webcomponents/igc-ts/grid/default/index.js +1 -6
- package/templates/webcomponents/igc-ts/grid/grid-editing/files/src/app/__path__/__filePrefix__.ts +86 -185
- package/templates/webcomponents/igc-ts/grid/grid-editing/index.js +1 -0
- package/templates/webcomponents/igc-ts/grid/grid-summaries/files/src/app/__path__/__filePrefix__.ts +11 -25
- package/templates/webcomponents/igc-ts/grid/grid-summaries/index.js +1 -0
- package/templates/webcomponents/igc-ts/linear-gauge/default/index.js +2 -2
- package/templates/webcomponents/igc-ts/linear-progress/default/index.js +1 -4
- package/templates/webcomponents/igc-ts/pie-chart/default/index.js +2 -2
- package/templates/webcomponents/igc-ts/projects/_base/files/AGENTS.md +33 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__azure/azure-pipelines.yml +4 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/CLAUDE.md +3 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/README.md +65 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-choose-components/SKILL.md +384 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-customize-component-theme/SKILL.md +615 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/SKILL.md +112 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/angular.md +185 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/react.md +116 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/vanilla-js.md +118 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/vue.md +181 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-optimize-bundle-size/SKILL.md +709 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/copilot-instructions.md +3 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/node.js.yml +4 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json +12 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.js +35 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +22 -21
- package/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts +10 -5
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +31 -30
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +3 -3
- package/templates/webcomponents/igc-ts/radial-gauge/default/index.js +2 -2
- package/templates/webcomponents/igc-ts/tree/default/index.js +4 -4
- package/lib/templates/AngularTemplate.d.ts +0 -39
- package/lib/templates/AngularTemplate.js +0 -207
- package/lib/templates/ReactTemplate.d.ts +0 -36
- package/lib/templates/ReactTemplate.js +0 -149
- package/migrations/schema.json +0 -14
- package/migrations/update-2/index.d.ts +0 -2
- package/migrations/update-2/index.js +0 -17
- package/migrations/update-2/index.spec.d.ts +0 -1
- package/migrations/update-2/index.spec.js +0 -106
- package/migrations/update-3/index.d.ts +0 -2
- package/migrations/update-3/index.js +0 -65
- package/migrations/update-3/index.spec.d.ts +0 -1
- package/migrations/update-3/index.spec.js +0 -131
- package/migrations/update-3_2/index.d.ts +0 -2
- package/migrations/update-3_2/index.js +0 -44
- package/migrations/update-3_2/index.spec.d.ts +0 -1
- package/migrations/update-3_2/index.spec.js +0 -100
- package/migrations/update-4_2_3/index.d.ts +0 -2
- package/migrations/update-4_2_3/index.js +0 -44
- package/migrations/update-4_2_3/index.spec.d.ts +0 -1
- package/migrations/update-4_2_3/index.spec.js +0 -99
- package/migrations/update-5_0_0/index.d.ts +0 -13
- package/migrations/update-5_0_0/index.js +0 -63
- package/migrations/update-5_0_0/index.spec.d.ts +0 -1
- package/migrations/update-5_0_0/index.spec.js +0 -89
- package/migrations/update-5_0_3/index.d.ts +0 -2
- package/migrations/update-5_0_3/index.js +0 -30
- package/migrations/update-5_0_3/index.spec.d.ts +0 -1
- package/migrations/update-5_0_3/index.spec.js +0 -85
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -83
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/bar-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/bar-chart/index.js +0 -15
- package/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
- package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -87
- package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/column-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/column-chart/index.js +0 -15
- package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.component.ts +0 -45
- package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/combo/combo/index.js +0 -16
- package/templates/angular/ig-ts/combo/index.js +0 -16
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/assets/logo.jpg +0 -0
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/components/__path__/__filePrefix__.component.ts +0 -368
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.js +0 -18
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/data-fe.ts +0 -88
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/folder.png +0 -0
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/opened_folder.png +0 -0
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.component.ts +0 -50
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +0 -62
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/assets/doughnut-data.ts +0 -10
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/doughnut-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/doughnut-chart/index.js +0 -16
- package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -19
- package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/editors/index.js +0 -58
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/assets/financial-data.ts +0 -115
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -152
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/financial-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/financial-chart/index.js +0 -15
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/assets/funnel-data.ts +0 -12
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -69
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/funnel-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/funnel-chart/index.js +0 -15
- package/templates/angular/ig-ts/generate/files/src/app/components/__path__/__filePrefix__.component.ts +0 -14
- package/templates/angular/ig-ts/generate/template.json +0 -13
- package/templates/angular/ig-ts/grid/basic/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
- package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/basic/index.js +0 -41
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -32
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-custom/index.js +0 -45
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-editing/index.js +0 -42
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/assets/employees.ts +0 -15
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -88
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-export/index.js +0 -42
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/assets/northwindProductsFlat.ts +0 -13
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.component.ts +0 -34
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-templating/index.js +0 -42
- package/templates/angular/ig-ts/grid/index.js +0 -12
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -75
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +0 -42
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +0 -45
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +0 -43
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -99
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +0 -43
- package/templates/angular/ig-ts/hierarchical-grid/index.js +0 -12
- package/templates/angular/ig-ts/index.js +0 -17
- package/templates/angular/ig-ts/line-chart/default/files/src/app/assets/line-chart-data.ts +0 -9
- package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -109
- package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/line-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/line-chart/index.js +0 -15
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/assets/data.ts +0 -9
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/pie-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/pie-chart/index.js +0 -15
- package/templates/angular/ig-ts/projects/empty/files/README.md +0 -39
- package/templates/angular/ig-ts/projects/empty/files/__dot__browserslistrc +0 -17
- package/templates/angular/ig-ts/projects/empty/files/__dot__editorconfig +0 -16
- package/templates/angular/ig-ts/projects/empty/files/__dot__gitignore +0 -51
- package/templates/angular/ig-ts/projects/empty/files/angular.json +0 -105
- package/templates/angular/ig-ts/projects/empty/files/ignite-ui-cli.json +0 -22
- package/templates/angular/ig-ts/projects/empty/files/karma.conf.js +0 -55
- package/templates/angular/ig-ts/projects/empty/files/package.json +0 -44
- package/templates/angular/ig-ts/projects/empty/files/src/app/app-routing.module.ts +0 -17
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.css +0 -6
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.html +0 -5
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.spec.ts +0 -22
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.ts +0 -10
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.module.ts +0 -22
- package/templates/angular/ig-ts/projects/empty/files/src/app/home.component.ts +0 -12
- package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.css +0 -36
- package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.ts +0 -34
- package/templates/angular/ig-ts/projects/empty/files/src/assets/Ignite-header-apps-960.png +0 -0
- package/templates/angular/ig-ts/projects/empty/files/src/assets/css/variables.scss +0 -7
- package/templates/angular/ig-ts/projects/empty/files/src/assets/lines-bottom-right.svg +0 -56
- package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.prod.ts +0 -3
- package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.ts +0 -16
- package/templates/angular/ig-ts/projects/empty/files/src/favicon.ico +0 -0
- package/templates/angular/ig-ts/projects/empty/files/src/index.html +0 -14
- package/templates/angular/ig-ts/projects/empty/files/src/main.ts +0 -11
- package/templates/angular/ig-ts/projects/empty/files/src/polyfills.ts +0 -53
- package/templates/angular/ig-ts/projects/empty/files/src/styles.css +0 -23
- package/templates/angular/ig-ts/projects/empty/files/src/test.ts +0 -23
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.app.json +0 -15
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.json +0 -30
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.spec.json +0 -18
- package/templates/angular/ig-ts/projects/empty/index.js +0 -126
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/assets/temperature.ts +0 -16
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -64
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/radial-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/radial-chart/index.js +0 -15
- package/templates/angular/ig-ts/tree-grid/index.js +0 -12
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/assets/data-basic.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -37
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +0 -42
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/assets/data-custom.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +0 -42
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/assets/data-editing.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +0 -61
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-flat.ts +0 -33
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-hierarchical.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -91
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +0 -43
- package/templates/react/es6/bar-chart/default/files/src/components/__path__/index.js +0 -89
- package/templates/react/es6/bar-chart/default/files/src/data/world-energy-production.js +0 -55
- package/templates/react/es6/bar-chart/default/index.js +0 -21
- package/templates/react/es6/bar-chart/index.js +0 -15
- package/templates/react/es6/column-chart/default/files/src/components/__path__/index.js +0 -88
- package/templates/react/es6/column-chart/default/files/src/data/world-energy-production.js +0 -55
- package/templates/react/es6/column-chart/default/index.js +0 -21
- package/templates/react/es6/column-chart/index.js +0 -15
- package/templates/react/es6/combo/combo/files/src/components/__path__/index.js +0 -45
- package/templates/react/es6/combo/combo/index.js +0 -21
- package/templates/react/es6/combo/index.js +0 -15
- package/templates/react/es6/doughnut-chart/doughnut-chart/files/src/components/__path__/index.js +0 -44
- package/templates/react/es6/doughnut-chart/doughnut-chart/index.js +0 -21
- package/templates/react/es6/doughnut-chart/index.js +0 -16
- package/templates/react/es6/editors/editors/files/src/components/__path__/index.js +0 -17
- package/templates/react/es6/editors/index.js +0 -58
- package/templates/react/es6/financial-chart/financial-chart/files/src/components/__path__/index.js +0 -154
- package/templates/react/es6/financial-chart/financial-chart/files/src/data/financial-data.js +0 -118
- package/templates/react/es6/financial-chart/financial-chart/index.js +0 -21
- package/templates/react/es6/financial-chart/index.js +0 -15
- package/templates/react/es6/funnel-chart/funnel-chart/files/src/components/__path__/index.js +0 -41
- package/templates/react/es6/funnel-chart/funnel-chart/index.js +0 -21
- package/templates/react/es6/funnel-chart/index.js +0 -15
- package/templates/react/es6/generate/files/src/components/__path__/index.js +0 -10
- package/templates/react/es6/grid/basic/files/src/components/__path__/index.js +0 -39
- package/templates/react/es6/grid/basic/index.js +0 -40
- package/templates/react/es6/grid/grid-custom/files/src/components/__path__/index.js +0 -40
- package/templates/react/es6/grid/grid-custom/index.js +0 -43
- package/templates/react/es6/grid/grid-editing/files/src/components/__path__/index.js +0 -47
- package/templates/react/es6/grid/grid-editing/index.js +0 -41
- package/templates/react/es6/grid/grid-export/files/src/components/__path__/index.js +0 -124
- package/templates/react/es6/grid/grid-export/files/src/components/__path__/styles.css +0 -13
- package/templates/react/es6/grid/grid-export/index.js +0 -41
- package/templates/react/es6/grid/grid-templating/files/src/components/__path__/index.js +0 -38
- package/templates/react/es6/grid/grid-templating/files/src/components/__path__/northwind.js +0 -605
- package/templates/react/es6/grid/grid-templating/index.js +0 -40
- package/templates/react/es6/grid/index.js +0 -15
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/index.js +0 -79
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +0 -41
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/index.js +0 -82
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +0 -44
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/index.js +0 -81
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +0 -42
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/index.js +0 -112
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/styles.css +0 -13
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +0 -42
- package/templates/react/es6/hierarchical-grid/index.d.ts +0 -1
- package/templates/react/es6/hierarchical-grid/index.js +0 -15
- package/templates/react/es6/index.d.ts +0 -1
- package/templates/react/es6/index.js +0 -20
- package/templates/react/es6/line-chart/default/files/src/components/__path__/index.js +0 -76
- package/templates/react/es6/line-chart/default/index.d.ts +0 -1
- package/templates/react/es6/line-chart/default/index.js +0 -21
- package/templates/react/es6/line-chart/index.d.ts +0 -1
- package/templates/react/es6/line-chart/index.js +0 -15
- package/templates/react/es6/pie-chart/index.d.ts +0 -1
- package/templates/react/es6/pie-chart/index.js +0 -15
- package/templates/react/es6/pie-chart/pie-chart/files/src/components/__path__/index.js +0 -38
- package/templates/react/es6/pie-chart/pie-chart/index.d.ts +0 -1
- package/templates/react/es6/pie-chart/pie-chart/index.js +0 -21
- package/templates/react/es6/projects/empty/files/README.md +0 -36
- package/templates/react/es6/projects/empty/files/__dot__editorconfig +0 -3
- package/templates/react/es6/projects/empty/files/__dot__env +0 -1
- package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +0 -6
- package/templates/react/es6/projects/empty/files/__dot__gitignore +0 -23
- package/templates/react/es6/projects/empty/files/ignite-ui-cli.json +0 -21
- package/templates/react/es6/projects/empty/files/package.json +0 -36
- package/templates/react/es6/projects/empty/files/public/favicon.ico +0 -0
- package/templates/react/es6/projects/empty/files/public/index.html +0 -42
- package/templates/react/es6/projects/empty/files/public/manifest.json +0 -15
- package/templates/react/es6/projects/empty/files/public/robots.txt +0 -3
- package/templates/react/es6/projects/empty/files/src/App.css +0 -52
- package/templates/react/es6/projects/empty/files/src/App.js +0 -39
- package/templates/react/es6/projects/empty/files/src/components/home/index.js +0 -25
- package/templates/react/es6/projects/empty/files/src/components/navigation-header/index.js +0 -47
- package/templates/react/es6/projects/empty/files/src/hoc/asyncComponent.js +0 -50
- package/templates/react/es6/projects/empty/files/src/igniteuiResources.js +0 -7
- package/templates/react/es6/projects/empty/files/src/index.css +0 -13
- package/templates/react/es6/projects/empty/files/src/index.js +0 -23
- package/templates/react/es6/projects/empty/files/src/reportWebVitals.js +0 -13
- package/templates/react/es6/projects/empty/files/src/routes.json +0 -7
- package/templates/react/es6/projects/empty/index.d.ts +0 -1
- package/templates/react/es6/projects/empty/index.js +0 -78
- package/templates/react/es6/radial-chart/index.d.ts +0 -1
- package/templates/react/es6/radial-chart/index.js +0 -15
- package/templates/react/es6/radial-chart/radial-chart/files/src/components/__path__/index.js +0 -68
- package/templates/react/es6/radial-chart/radial-chart/files/src/data/temperature.js +0 -16
- package/templates/react/es6/radial-chart/radial-chart/index.d.ts +0 -1
- package/templates/react/es6/radial-chart/radial-chart/index.js +0 -21
- package/templates/react/es6/scatter-chart/index.d.ts +0 -1
- package/templates/react/es6/scatter-chart/index.js +0 -16
- package/templates/react/es6/scatter-chart/scatter-chart/files/src/components/__path__/index.js +0 -59
- package/templates/react/es6/scatter-chart/scatter-chart/files/src/data/temperature.js +0 -58
- package/templates/react/es6/scatter-chart/scatter-chart/index.d.ts +0 -1
- package/templates/react/es6/scatter-chart/scatter-chart/index.js +0 -21
- package/templates/react/es6/tree-grid/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/index.js +0 -15
- package/templates/react/es6/tree-grid/tree-grid/files/src/components/__path__/index.js +0 -61
- package/templates/react/es6/tree-grid/tree-grid/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid/index.js +0 -41
- package/templates/react/es6/tree-grid/tree-grid-custom/files/src/components/__path__/index.js +0 -62
- package/templates/react/es6/tree-grid/tree-grid-custom/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid-custom/index.js +0 -41
- package/templates/react/es6/tree-grid/tree-grid-editing/files/src/components/__path__/index.js +0 -62
- package/templates/react/es6/tree-grid/tree-grid-editing/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid-editing/index.js +0 -42
- package/templates/react/es6/tree-grid/tree-grid-export/files/src/components/__path__/index.js +0 -161
- package/templates/react/es6/tree-grid/tree-grid-export/index.d.ts +0 -1
- package/templates/react/es6/tree-grid/tree-grid-export/index.js +0 -42
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/index.js +0 -62
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/bullet-graph/default/index.d.ts +0 -1
- package/templates/react/igr-es6/bullet-graph/default/index.js +0 -17
- package/templates/react/igr-es6/bullet-graph/index.d.ts +0 -1
- package/templates/react/igr-es6/bullet-graph/index.js +0 -15
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/index.js +0 -45
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/category-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/category-chart/default/index.js +0 -18
- package/templates/react/igr-es6/category-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/category-chart/index.js +0 -16
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/index.js +0 -85
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/doughnut-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/doughnut-chart/default/index.js +0 -17
- package/templates/react/igr-es6/doughnut-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/doughnut-chart/index.js +0 -15
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/index.js +0 -55
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/style.css +0 -10
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/financial-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/financial-chart/default/index.js +0 -19
- package/templates/react/igr-es6/financial-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/financial-chart/index.js +0 -16
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/data.js +0 -46
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/index.js +0 -46
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/style.css +0 -17
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/grid/basic/index.d.ts +0 -1
- package/templates/react/igr-es6/grid/basic/index.js +0 -23
- package/templates/react/igr-es6/grid/index.d.ts +0 -1
- package/templates/react/igr-es6/grid/index.js +0 -15
- package/templates/react/igr-es6/groups.json +0 -5
- package/templates/react/igr-es6/index.d.ts +0 -1
- package/templates/react/igr-es6/index.js +0 -17
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/index.js +0 -62
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/linear-gauge/default/index.d.ts +0 -1
- package/templates/react/igr-es6/linear-gauge/default/index.js +0 -17
- package/templates/react/igr-es6/linear-gauge/index.d.ts +0 -1
- package/templates/react/igr-es6/linear-gauge/index.js +0 -15
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/index.js +0 -83
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/pie-chart/default/index.d.ts +0 -1
- package/templates/react/igr-es6/pie-chart/default/index.js +0 -17
- package/templates/react/igr-es6/pie-chart/index.d.ts +0 -1
- package/templates/react/igr-es6/pie-chart/index.js +0 -15
- package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +0 -3
- package/templates/react/igr-es6/projects/_base/files/README.md +0 -48
- package/templates/react/igr-es6/projects/_base/files/__dot__editorconfig +0 -3
- package/templates/react/igr-es6/projects/_base/files/__dot__env +0 -1
- package/templates/react/igr-es6/projects/_base/files/__dot__gitignore +0 -23
- package/templates/react/igr-es6/projects/_base/files/ignite-ui-cli.json +0 -16
- package/templates/react/igr-es6/projects/_base/files/package.json +0 -30
- package/templates/react/igr-es6/projects/_base/files/public/favicon.ico +0 -0
- package/templates/react/igr-es6/projects/_base/files/public/index.html +0 -41
- package/templates/react/igr-es6/projects/_base/files/public/manifest.json +0 -15
- package/templates/react/igr-es6/projects/_base/files/src/App.test.js +0 -9
- package/templates/react/igr-es6/projects/_base/files/src/hoc/asyncComponent.js +0 -50
- package/templates/react/igr-es6/projects/_base/files/src/index.css +0 -14
- package/templates/react/igr-es6/projects/_base/files/src/index.js +0 -19
- package/templates/react/igr-es6/projects/_base/files/src/routes.json +0 -7
- package/templates/react/igr-es6/projects/_base/files/src/serviceWorker.js +0 -135
- package/templates/react/igr-es6/projects/_base/files/src/views/home/index.js +0 -27
- package/templates/react/igr-es6/projects/_base/files/src/views/home/logo.svg +0 -7
- package/templates/react/igr-es6/projects/_base/files/src/views/home/style.css +0 -28
- package/templates/react/igr-es6/projects/_base/index.d.ts +0 -29
- package/templates/react/igr-es6/projects/_base/index.js +0 -81
- package/templates/react/igr-es6/projects/top-nav/files/src/App.css +0 -59
- package/templates/react/igr-es6/projects/top-nav/files/src/App.js +0 -36
- package/templates/react/igr-es6/projects/top-nav/files/src/components/navigation-header/index.js +0 -37
- package/templates/react/igr-es6/projects/top-nav/files/src/setupTests.js +0 -4
- package/templates/react/igr-es6/projects/top-nav/index.d.ts +0 -14
- package/templates/react/igr-es6/projects/top-nav/index.js +0 -45
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/index.js +0 -66
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/radial-gauge/default/index.d.ts +0 -1
- package/templates/react/igr-es6/radial-gauge/default/index.js +0 -18
- package/templates/react/igr-es6/radial-gauge/index.d.ts +0 -1
- package/templates/react/igr-es6/radial-gauge/index.js +0 -16
- package/templates/react/igr-ts/projects/_base/files/eslint.config.mjs +0 -48
- package/templates/react/igr-ts/projects/_base/files/public/favicon.ico +0 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.mjs +0 -37
- package/templates/webcomponents/igc-ts/projects/_base/files/web-dev-server.config.mjs +0 -27
- /package/migrations/{update-13_1_0 → legacy-type}/index.d.ts +0 -0
- /package/migrations/{update-13_1_0 → legacy-type}/index.spec.d.ts +0 -0
- /package/templates/{angular/ig-ts/bar-chart → react/igr-ts/accordion}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/bar-chart → react/igr-ts/accordion}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/column-chart → react/igr-ts/avatar}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/column-chart → react/igr-ts/avatar}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/combo/combo → react/igr-ts/badge/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/combo → react/igr-ts/badge}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/custom-templates/editors-calculation-form → react/igr-ts/banner/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/custom-templates/tree-grid-file-explorer → react/igr-ts/banner}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/editors → react/igr-ts/button/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/financial-chart/default → react/igr-ts/button}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/doughnut-chart → react/igr-ts/button-group}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/doughnut-chart → react/igr-ts/button-group}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/financial-chart → react/igr-ts/calendar/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/funnel-chart/default → react/igr-ts/calendar}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/funnel-chart → react/igr-ts/card/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/basic → react/igr-ts/card}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-custom → react/igr-ts/checkbox/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-editing → react/igr-ts/checkbox}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-export → react/igr-ts/chip/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-templating → react/igr-ts/chip}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid → react/igr-ts/circular-progress/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-custom → react/igr-ts/circular-progress}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-editing → react/igr-ts/custom-templates/subscription-form}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-export → react/igr-ts/date-picker/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid → react/igr-ts/date-picker}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid → react/igr-ts/divider/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts → react/igr-ts/divider}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/line-chart → react/igr-ts/dropdown}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/line-chart → react/igr-ts/dropdown}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/pie-chart → react/igr-ts/expansion-panel}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/pie-chart → react/igr-ts/expansion-panel}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/projects/empty → react/igr-ts/form/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/radial-chart/default → react/igr-ts/form}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid-custom → react/igr-ts/icon/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid-editing → react/igr-ts/icon}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/radial-chart → react/igr-ts/icon-button/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid → react/igr-ts/icon-button}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid-export → react/igr-ts/input/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid → react/igr-ts/input}/index.d.ts +0 -0
- /package/templates/react/{es6/bar-chart → igr-ts/linear-progress}/default/index.d.ts +0 -0
- /package/templates/react/{es6/bar-chart → igr-ts/linear-progress}/index.d.ts +0 -0
- /package/templates/react/{es6/column-chart → igr-ts/list}/default/index.d.ts +0 -0
- /package/templates/react/{es6/column-chart → igr-ts/list}/index.d.ts +0 -0
- /package/templates/react/{es6/combo/combo → igr-ts/navbar/default}/index.d.ts +0 -0
- /package/templates/react/{es6/combo → igr-ts/navbar}/index.d.ts +0 -0
- /package/templates/react/{es6/doughnut-chart/doughnut-chart → igr-ts/radio-group/default}/index.d.ts +0 -0
- /package/templates/react/{es6/doughnut-chart → igr-ts/radio-group}/index.d.ts +0 -0
- /package/templates/react/{es6/editors → igr-ts/rating/default}/index.d.ts +0 -0
- /package/templates/react/{es6/financial-chart/financial-chart → igr-ts/rating}/index.d.ts +0 -0
- /package/templates/react/{es6/financial-chart → igr-ts/ripple/default}/index.d.ts +0 -0
- /package/templates/react/{es6/funnel-chart/funnel-chart → igr-ts/ripple}/index.d.ts +0 -0
- /package/templates/react/{es6/funnel-chart → igr-ts/slider/default}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/basic → igr-ts/slider}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-custom → igr-ts/switch/default}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-editing → igr-ts/switch}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-export → igr-ts/tabs/default}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-templating → igr-ts/tabs}/index.d.ts +0 -0
- /package/templates/react/{es6/grid → igr-ts/text-area/default}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-custom → igr-ts/text-area}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-editing → igr-ts/tree/default}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-export → igr-ts/tree}/index.d.ts +0 -0
package/README.md
CHANGED
|
@@ -79,9 +79,9 @@ The `igniteui-cli` makes full use of the component definitions provided by [`ign
|
|
|
79
79
|
|
|
80
80
|
#### Generate Ignite UI for React project
|
|
81
81
|
|
|
82
|
-
To create a new project with Ignite UI for React use [ig new](https://github.com/IgniteUI/igniteui-cli/wiki/New#creating-ignite-ui-for-react-applications-v400) by specifying `react` as framework and `igr-
|
|
82
|
+
To create a new project with Ignite UI for React use [ig new](https://github.com/IgniteUI/igniteui-cli/wiki/New#creating-ignite-ui-for-react-applications-v400) by specifying `react` as framework and `igr-ts` as project type:
|
|
83
83
|
```bash
|
|
84
|
-
ig new "IG Project" --framework=react --type=igr-
|
|
84
|
+
ig new "IG Project" --framework=react --type=igr-ts
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
#### Adding components
|
package/bin/execute.js
CHANGED
|
@@ -19,5 +19,8 @@ resolve("igniteui-cli", { basedir: process.cwd() }, function (err, res) {
|
|
|
19
19
|
} else {
|
|
20
20
|
cli = require("../lib/cli");
|
|
21
21
|
}
|
|
22
|
-
cli.run(args)
|
|
22
|
+
cli.run(args).catch(function (err) {
|
|
23
|
+
console.error("Error: " + (err.message || err));
|
|
24
|
+
process.exit(1);
|
|
25
|
+
});
|
|
23
26
|
});
|
package/lib/PromptSession.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class PromptSession extends BasePromptSession {
|
|
|
9
9
|
start(): Promise<void>;
|
|
10
10
|
protected completeAndRun(port?: number): Promise<void>;
|
|
11
11
|
protected upgradePackages(): Promise<void>;
|
|
12
|
+
protected configureAI(): Promise<void>;
|
|
12
13
|
/**
|
|
13
14
|
* Get user name and set template's extra configurations if any
|
|
14
15
|
* @param projectLibrary to add component to
|
package/lib/PromptSession.js
CHANGED
|
@@ -39,6 +39,7 @@ exports.PromptSession = void 0;
|
|
|
39
39
|
const cli_core_1 = require("@igniteui/cli-core");
|
|
40
40
|
const path = __importStar(require("path"));
|
|
41
41
|
const add_1 = __importDefault(require("./commands/add"));
|
|
42
|
+
const ai_config_1 = require("./commands/ai-config");
|
|
42
43
|
const start_1 = __importDefault(require("./commands/start"));
|
|
43
44
|
const upgrade_1 = __importDefault(require("./commands/upgrade"));
|
|
44
45
|
class PromptSession extends cli_core_1.BasePromptSession {
|
|
@@ -93,7 +94,7 @@ class PromptSession extends cli_core_1.BasePromptSession {
|
|
|
93
94
|
name: "framework",
|
|
94
95
|
message: "Choose framework:",
|
|
95
96
|
choices: this.getFrameworkNames(),
|
|
96
|
-
default: "
|
|
97
|
+
default: "Angular"
|
|
97
98
|
});
|
|
98
99
|
const framework = this.templateManager.getFrameworkByName(frameRes);
|
|
99
100
|
// app name validation???
|
|
@@ -124,9 +125,7 @@ class PromptSession extends cli_core_1.BasePromptSession {
|
|
|
124
125
|
completeAndRun(port) {
|
|
125
126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
127
|
yield cli_core_1.PackageManager.flushQueue(true);
|
|
127
|
-
|
|
128
|
-
yield start_1.default.start({ port });
|
|
129
|
-
}
|
|
128
|
+
yield start_1.default.start({ port });
|
|
130
129
|
});
|
|
131
130
|
}
|
|
132
131
|
upgradePackages() {
|
|
@@ -135,6 +134,11 @@ class PromptSession extends cli_core_1.BasePromptSession {
|
|
|
135
134
|
yield upgrade_1.default.upgrade({ skipInstall: true, _: ["upgrade"], $0: "upgrade" });
|
|
136
135
|
});
|
|
137
136
|
}
|
|
137
|
+
configureAI() {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
(0, ai_config_1.configure)();
|
|
140
|
+
});
|
|
141
|
+
}
|
|
138
142
|
/**
|
|
139
143
|
* Get user name and set template's extra configurations if any
|
|
140
144
|
* @param projectLibrary to add component to
|
package/lib/TemplateManager.js
CHANGED
|
@@ -27,10 +27,9 @@ exports.TemplateManager = void 0;
|
|
|
27
27
|
const angular_templates_1 = require("@igniteui/angular-templates");
|
|
28
28
|
const cli_core_1 = require("@igniteui/cli-core");
|
|
29
29
|
const path = __importStar(require("path"));
|
|
30
|
-
const AngularTemplate_1 = require("./templates/AngularTemplate");
|
|
31
30
|
const IgniteUIForWebComponentsTemplate_1 = require("./templates/IgniteUIForWebComponentsTemplate");
|
|
32
31
|
const jQueryTemplate_1 = require("./templates/jQueryTemplate");
|
|
33
|
-
const
|
|
32
|
+
const IgniteUIForReactTemplate_1 = require("./templates/IgniteUIForReactTemplate");
|
|
34
33
|
const TEMPLATES_PATH = "../templates";
|
|
35
34
|
class TemplateManager extends cli_core_1.BaseTemplateManager {
|
|
36
35
|
constructor(templatesPath) {
|
|
@@ -50,11 +49,8 @@ class TemplateManager extends cli_core_1.BaseTemplateManager {
|
|
|
50
49
|
case "jquery|js":
|
|
51
50
|
template = new jQueryTemplate_1.jQueryTemplate(rootPath);
|
|
52
51
|
break;
|
|
53
|
-
case "react|
|
|
54
|
-
template = new
|
|
55
|
-
break;
|
|
56
|
-
case "angular|ig-ts":
|
|
57
|
-
template = new AngularTemplate_1.AngularTemplate(rootPath);
|
|
52
|
+
case "react|igr-ts":
|
|
53
|
+
template = new IgniteUIForReactTemplate_1.IgniteUIForReactTemplate(rootPath);
|
|
58
54
|
break;
|
|
59
55
|
case "angular|igx-ts":
|
|
60
56
|
template = new angular_templates_1.IgniteUIForAngularTemplate(rootPath);
|
package/lib/cli.js
CHANGED
|
@@ -36,7 +36,6 @@ function run() {
|
|
|
36
36
|
commands_1.start.templateManager = templateManager;
|
|
37
37
|
commands_1.generate.templateManager = templateManager;
|
|
38
38
|
commands_1.list.templateManager = templateManager;
|
|
39
|
-
commands_1.mcp.templateManager = templateManager;
|
|
40
39
|
commands_1.upgrade.templateManager = templateManager;
|
|
41
40
|
const yargsModule = args ? (0, yargs_1.default)(args) : yargs_1.default;
|
|
42
41
|
yield yargsModule
|
|
@@ -51,8 +50,9 @@ function run() {
|
|
|
51
50
|
.command(commands_1.doc)
|
|
52
51
|
.command(commands_1.test)
|
|
53
52
|
.command(commands_1.list)
|
|
54
|
-
.command(commands_1.mcp)
|
|
55
53
|
.command(commands_1.upgrade)
|
|
54
|
+
.command(commands_1.mcp)
|
|
55
|
+
.command(commands_1.aiConfig)
|
|
56
56
|
.version(false) // disable built-in `yargs.version` to override it with our custom option
|
|
57
57
|
.options({
|
|
58
58
|
version: {
|
|
@@ -79,6 +79,15 @@ function run() {
|
|
|
79
79
|
}, false // setting this to `true` is supposed to exec the middleware after parsing and before arg validation
|
|
80
80
|
// but in reality it also does not trigger the command's handler (╯°□°)╯︵ ┻━┻
|
|
81
81
|
)
|
|
82
|
+
.fail((msg, err, yargs) => {
|
|
83
|
+
var _a;
|
|
84
|
+
const message = (_a = err === null || err === void 0 ? void 0 : err.message) !== null && _a !== void 0 ? _a : msg;
|
|
85
|
+
if (message) {
|
|
86
|
+
cli_core_1.Util.error(message, "red");
|
|
87
|
+
yargs.showHelp();
|
|
88
|
+
process.exitCode = 1;
|
|
89
|
+
}
|
|
90
|
+
})
|
|
82
91
|
.help().alias("help", "h")
|
|
83
92
|
.parseAsync(args, // the args to parse to argv
|
|
84
93
|
{}, // docs say context to pass in to handlers, but nuh-uh, it's just garbage
|
|
@@ -110,10 +119,17 @@ function run() {
|
|
|
110
119
|
/* istanbul ignore next */
|
|
111
120
|
cli_core_1.App.testMode = !!argv.testMode;
|
|
112
121
|
if (!helpRequest && !commands_1.ALL_COMMANDS.has(command === null || command === void 0 ? void 0 : command.toString())) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
122
|
+
if (command) {
|
|
123
|
+
process.exitCode = 1;
|
|
124
|
+
cli_core_1.Util.error(`Unknown command: "${command}"`, "red");
|
|
125
|
+
cli_core_1.Util.log(yield yargsModule.getHelp());
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
cli_core_1.Util.log("Starting Step by step mode.", "green");
|
|
129
|
+
cli_core_1.Util.log("For available commands, stop this execution and use --help.", "green");
|
|
130
|
+
const prompts = new PromptSession_1.PromptSession(templateManager);
|
|
131
|
+
prompts.start();
|
|
132
|
+
}
|
|
117
133
|
}
|
|
118
134
|
}));
|
|
119
135
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFileSystem } from "@igniteui/cli-core";
|
|
2
|
+
import { CommandModule } from "yargs";
|
|
3
|
+
export declare function configureMCP(fileSystem?: IFileSystem): void;
|
|
4
|
+
export declare function configureSkills(): void;
|
|
5
|
+
export declare function configure(fileSystem?: IFileSystem): void;
|
|
6
|
+
declare const command: CommandModule;
|
|
7
|
+
export default command;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.configureMCP = configureMCP;
|
|
36
|
+
exports.configureSkills = configureSkills;
|
|
37
|
+
exports.configure = configure;
|
|
38
|
+
const cli_core_1 = require("@igniteui/cli-core");
|
|
39
|
+
const path = __importStar(require("path"));
|
|
40
|
+
const IGNITEUI_SERVER_KEY = "igniteui-cli";
|
|
41
|
+
const IGNITEUI_THEMING_SERVER_KEY = "igniteui-theming";
|
|
42
|
+
const igniteuiServer = {
|
|
43
|
+
command: "npx",
|
|
44
|
+
args: ["-y", "igniteui-cli@next", "mcp"]
|
|
45
|
+
};
|
|
46
|
+
const igniteuiThemingServer = {
|
|
47
|
+
command: "npx",
|
|
48
|
+
args: ["-y", "igniteui-theming", "igniteui-theming-mcp"]
|
|
49
|
+
};
|
|
50
|
+
function getConfigPath() {
|
|
51
|
+
return path.join(process.cwd(), ".vscode", "mcp.json");
|
|
52
|
+
}
|
|
53
|
+
function readJson(filePath, fallback, fileSystem) {
|
|
54
|
+
try {
|
|
55
|
+
return JSON.parse(fileSystem.readFile(filePath));
|
|
56
|
+
}
|
|
57
|
+
catch (_a) {
|
|
58
|
+
return fallback;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function writeJson(filePath, data, fileSystem) {
|
|
62
|
+
fileSystem.writeFile(filePath, JSON.stringify(data, null, 2) + "\n");
|
|
63
|
+
}
|
|
64
|
+
function configureMCP(fileSystem = new cli_core_1.FsFileSystem()) {
|
|
65
|
+
const configPath = getConfigPath();
|
|
66
|
+
const config = readJson(configPath, { servers: {} }, fileSystem);
|
|
67
|
+
config.servers = config.servers || {};
|
|
68
|
+
let modified = false;
|
|
69
|
+
if (!config.servers[IGNITEUI_SERVER_KEY]) {
|
|
70
|
+
config.servers[IGNITEUI_SERVER_KEY] = igniteuiServer;
|
|
71
|
+
modified = true;
|
|
72
|
+
}
|
|
73
|
+
if (!config.servers[IGNITEUI_THEMING_SERVER_KEY]) {
|
|
74
|
+
config.servers[IGNITEUI_THEMING_SERVER_KEY] = igniteuiThemingServer;
|
|
75
|
+
modified = true;
|
|
76
|
+
}
|
|
77
|
+
if (!modified) {
|
|
78
|
+
cli_core_1.Util.log(` Ignite UI MCP servers already configured in ${configPath}`);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
writeJson(configPath, config, fileSystem);
|
|
82
|
+
cli_core_1.Util.log(cli_core_1.Util.greenCheck() + ` MCP servers configured in ${configPath}`);
|
|
83
|
+
}
|
|
84
|
+
function configureSkills() {
|
|
85
|
+
const result = (0, cli_core_1.copyAISkillsToProject)();
|
|
86
|
+
if (result === "copied") {
|
|
87
|
+
cli_core_1.Util.log(cli_core_1.Util.greenCheck() + " AI skills added to the project.");
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
cli_core_1.Util.warn("No AI skill files found. Make sure packages are installed (npm install) " +
|
|
91
|
+
"and your Ignite UI package includes a skills/ directory.", "yellow");
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function configure(fileSystem = new cli_core_1.FsFileSystem()) {
|
|
95
|
+
configureMCP(fileSystem);
|
|
96
|
+
configureSkills();
|
|
97
|
+
}
|
|
98
|
+
const command = {
|
|
99
|
+
command: "ai-config",
|
|
100
|
+
describe: "Configure Ignite UI AI tooling (MCP servers and AI coding skills)",
|
|
101
|
+
builder: (yargs) => yargs.usage(""),
|
|
102
|
+
handler(_argv) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
cli_core_1.GoogleAnalytics.post({
|
|
105
|
+
t: "screenview",
|
|
106
|
+
cd: "MCP"
|
|
107
|
+
});
|
|
108
|
+
cli_core_1.GoogleAnalytics.post({
|
|
109
|
+
t: "event",
|
|
110
|
+
ec: "$ig ai-config",
|
|
111
|
+
ea: "client: vscode"
|
|
112
|
+
});
|
|
113
|
+
configure();
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
exports.default = command;
|
package/lib/commands/build.js
CHANGED
|
@@ -69,9 +69,6 @@ const command = {
|
|
|
69
69
|
cd14: config.project.theme
|
|
70
70
|
});
|
|
71
71
|
yield cli_core_1.PackageManager.installPackages();
|
|
72
|
-
if (config.project.projectType === "es6") {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
72
|
if (config.project.theme.includes(".less") || config.project.theme.includes(".sass")) {
|
|
76
73
|
fs.mkdirSync("./themes");
|
|
77
74
|
const source = path.join(config.project.igniteuiSource, "/css/themes/", config.project.theme.split(".")[0]);
|
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/generate.js
CHANGED
package/lib/commands/index.d.ts
CHANGED
package/lib/commands/index.js
CHANGED
|
@@ -17,9 +17,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.upgrade = exports.test = exports.start = exports.newCommand = exports.mcp = exports.list = exports.generate = exports.doc = exports.config = exports.build = exports.add = void 0;
|
|
20
|
+
exports.upgrade = exports.test = exports.start = exports.newCommand = exports.mcp = exports.list = exports.generate = exports.doc = exports.config = exports.build = exports.aiConfig = exports.add = void 0;
|
|
21
21
|
var add_1 = require("./add");
|
|
22
22
|
Object.defineProperty(exports, "add", { enumerable: true, get: function () { return __importDefault(add_1).default; } });
|
|
23
|
+
var ai_config_1 = require("./ai-config");
|
|
24
|
+
Object.defineProperty(exports, "aiConfig", { enumerable: true, get: function () { return __importDefault(ai_config_1).default; } });
|
|
23
25
|
var build_1 = require("./build");
|
|
24
26
|
Object.defineProperty(exports, "build", { enumerable: true, get: function () { return __importDefault(build_1).default; } });
|
|
25
27
|
var config_1 = require("./config");
|
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
|
}
|