igniteui-cli 15.0.0-rc.2 → 15.0.0

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.
Files changed (60) hide show
  1. package/lib/commands/ai-config.d.ts +1 -2
  2. package/lib/commands/ai-config.js +4 -64
  3. package/lib/templates/IgniteUIForReactTemplate.d.ts +1 -0
  4. package/lib/templates/IgniteUIForReactTemplate.js +1 -0
  5. package/lib/templates/IgniteUIForWebComponentsTemplate.d.ts +1 -0
  6. package/lib/templates/IgniteUIForWebComponentsTemplate.js +1 -0
  7. package/lib/templates/jQueryTemplate.d.ts +1 -0
  8. package/lib/templates/jQueryTemplate.js +1 -0
  9. package/package.json +4 -4
  10. package/templates/jquery/js/projects/empty/index.js +1 -0
  11. package/templates/react/igr-ts/grid/basic/index.js +1 -1
  12. package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/SKILL.md +23 -3
  13. package/templates/react/igr-ts/projects/_base/files/__dot__vscode/mcp.json +1 -1
  14. package/templates/react/igr-ts/projects/_base/files/package.json +1 -1
  15. package/templates/react/igr-ts/projects/_base/index.d.ts +1 -0
  16. package/templates/react/igr-ts/projects/_base/index.js +1 -0
  17. package/templates/react/igr-ts/projects/_base_with_home/index.d.ts +1 -0
  18. package/templates/react/igr-ts/projects/_base_with_home/index.js +1 -0
  19. package/templates/react/igr-ts/projects/base/index.d.ts +1 -0
  20. package/templates/react/igr-ts/projects/base/index.js +1 -0
  21. package/templates/react/igr-ts/projects/empty/index.d.ts +1 -0
  22. package/templates/react/igr-ts/projects/empty/index.js +1 -0
  23. package/templates/react/igr-ts/projects/top-nav/index.d.ts +1 -0
  24. package/templates/react/igr-ts/projects/top-nav/index.js +1 -0
  25. package/templates/webcomponents/igc-ts/card/default/files/src/app/__path__/__filePrefix__.ts +7 -5
  26. package/templates/webcomponents/igc-ts/dock-manager/default/files/src/app/__path__/__filePrefix__.ts +1 -1
  27. package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.ts +1 -1
  28. package/templates/webcomponents/igc-ts/grid/grid-editing/files/src/app/__path__/__filePrefix__.ts +1 -1
  29. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/README.md +3 -0
  30. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-choose-components/SKILL.md +27 -0
  31. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-generate-from-image-design/SKILL.md +228 -0
  32. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +130 -0
  33. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +147 -0
  34. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/SKILL.md +22 -1
  35. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/angular.md +2 -0
  36. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/react.md +2 -0
  37. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/vanilla-js.md +2 -0
  38. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/vue.md +2 -0
  39. package/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json +1 -1
  40. package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.js +5 -3
  41. package/templates/webcomponents/igc-ts/projects/_base/files/index.html +1 -1
  42. package/templates/webcomponents/igc-ts/projects/_base/files/package.json +7 -22
  43. package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app-routing.ts +1 -1
  44. package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.json +22 -29
  45. package/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts +3 -4
  46. package/templates/webcomponents/igc-ts/projects/_base/index.d.ts +1 -0
  47. package/templates/webcomponents/igc-ts/projects/_base/index.js +1 -0
  48. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/index.html +1 -1
  49. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +7 -22
  50. package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/app-routing.ts +1 -1
  51. package/templates/webcomponents/igc-ts/projects/_base_with_home/index.d.ts +1 -0
  52. package/templates/webcomponents/igc-ts/projects/_base_with_home/index.js +1 -0
  53. package/templates/webcomponents/igc-ts/projects/base/index.d.ts +1 -0
  54. package/templates/webcomponents/igc-ts/projects/base/index.js +1 -0
  55. package/templates/webcomponents/igc-ts/projects/empty/index.d.ts +1 -0
  56. package/templates/webcomponents/igc-ts/projects/empty/index.js +1 -0
  57. package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +11 -8
  58. package/templates/webcomponents/igc-ts/projects/side-nav/index.d.ts +1 -0
  59. package/templates/webcomponents/igc-ts/projects/side-nav/index.js +1 -0
  60. package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.test.json +0 -14
@@ -3,43 +3,28 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "description": "WebComponents project for Ignite UI CLI",
6
- "license": "MIT",
7
- "author": "Infragistics",
8
- "main": "dist/src/index.js",
9
- "module": "dist/src/index.js",
10
6
  "type": "module",
11
- "exports": {
12
- ".": "./dist/src/index.js",
13
- "./$(dashName).js": "./dist/src/$(dashName).js"
14
- },
15
7
  "scripts": {
16
- "start": "concurrently -k -r \"tsc --watch\" \"vite\"",
17
- "build": "rimraf dist && tsc && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build",
8
+ "start": "vite --open",
9
+ "build": "vite build",
18
10
  "start:build": "vite preview --open",
19
- "lint": "eslint",
20
- "test": "tsc --project tsconfig.test.json && vitest run"
11
+ "lint": "eslint",
12
+ "test": "vitest"
21
13
  },
22
14
  "dependencies": {
23
15
  "@vaadin/router": "^2.0.0",
24
- "lit": "^3.3.2",
25
- "typescript": "^5.9.3",
26
- "igniteui-webcomponents": "~7.1.0"
16
+ "igniteui-webcomponents": "~7.1.2",
17
+ "lit": "^3.3.2"
27
18
  },
28
19
  "devDependencies": {
29
20
  "@eslint/js": "^9.39.4",
30
- "@babel/preset-env": "^7.28.3",
31
21
  "@vitest/browser-playwright": "^4.1.0",
32
- "babel-plugin-template-html-minifier": "^4.1.0",
33
- "concurrently": "^9.2.1",
34
- "deepmerge": "^4.3.1",
35
22
  "eslint": "^9.39.4",
36
23
  "eslint-plugin-lit": "^2.2.1",
37
24
  "globals": "^17.4.0",
38
25
  "igniteui-cli": "~$(cliVersion)",
39
26
  "playwright": "^1.58.2",
40
- "rimraf": "^6.1.3",
41
- "source-map": "^0.7.6",
42
- "tslib": "^2.8.1",
27
+ "typescript": "^5.9.3",
43
28
  "typescript-eslint": "^8.57.0",
44
29
  "vite": "^7.0.0",
45
30
  "vite-plugin-pwa": "^1.2.0",
@@ -1,4 +1,4 @@
1
- import { Route } from '@vaadin/router';
1
+ import { type Route } from '@vaadin/router';
2
2
  import './not-found/not-found.js';
3
3
 
4
4
  export const routes: Route[] = [
@@ -1,34 +1,27 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es2021",
4
- "module": "es2022",
5
- "moduleResolution": "node",
6
- "noEmitOnError": true,
7
- "lib": [
8
- "es2021",
9
- "dom",
10
- "dom.iterable"
11
- ],
12
- "strict": true,
13
- "skipLibCheck": true,
14
- "esModuleInterop": false,
15
- "allowSyntheticDefaultImports": true,
3
+ "target": "ES2023",
16
4
  "experimentalDecorators": true,
17
- "importHelpers": true,
18
- "outDir": "dist",
19
- "sourceMap": true,
20
- "inlineSources": true,
21
- "rootDir": "./",
22
- "declaration": true,
23
- "incremental": true
5
+ "useDefineForClassFields": false,
6
+ "module": "ESNext",
7
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
8
+ "types": ["vite/client"],
9
+ "skipLibCheck": true,
10
+
11
+ /* Bundler mode */
12
+ "moduleResolution": "bundler",
13
+ "allowImportingTsExtensions": true,
14
+ "verbatimModuleSyntax": true,
15
+ "moduleDetection": "force",
16
+ "noEmit": true,
17
+
18
+ /* Linting */
19
+ "strict": true,
20
+ "noUnusedLocals": true,
21
+ "noUnusedParameters": true,
22
+ "erasableSyntaxOnly": true,
23
+ "noFallthroughCasesInSwitch": true,
24
+ "noUncheckedSideEffectImports": true
24
25
  },
25
- "exclude": [
26
- "test"
27
- ],
28
- "files": [
29
- "src/index.ts"
30
- ],
31
- "include": [
32
- "src/**/*.d.ts"
33
- ]
26
+ "include": ["src"]
34
27
  }
@@ -1,6 +1,6 @@
1
- /// <reference types="vitest/config" />
2
- import { playwright } from '@vitest/browser-playwright'
3
- import { defineConfig } from 'vite'
1
+ /// <reference types="vitest/config" />
2
+ import { playwright } from '@vitest/browser-playwright'
3
+ import { defineConfig } from 'vite'
4
4
  import { VitePWA } from 'vite-plugin-pwa';
5
5
  import { viteStaticCopy } from 'vite-plugin-static-copy';
6
6
 
@@ -19,7 +19,6 @@ export default defineConfig({
19
19
  },
20
20
  target: 'es2021',
21
21
  minify: 'terser',
22
- emptyOutDir: false,
23
22
  chunkSizeWarningLimit: 10 * 1024 * 1024 // 10 MB
24
23
  },
25
24
  test: {
@@ -7,6 +7,7 @@ export declare class BaseIgcProject implements ProjectTemplate {
7
7
  framework: string;
8
8
  projectType: string;
9
9
  hasExtraConfiguration: boolean;
10
+ isHidden: boolean;
10
11
  delimiters: import("@igniteui/cli-core").TemplateDelimiters;
11
12
  get templatePaths(): string[];
12
13
  installModules(): void;
@@ -44,6 +44,7 @@ class BaseIgcProject {
44
44
  this.framework = "webcomponents";
45
45
  this.projectType = "igc-ts";
46
46
  this.hasExtraConfiguration = false;
47
+ this.isHidden = true;
47
48
  this.delimiters = cli_core_1.defaultDelimiters;
48
49
  }
49
50
  get templatePaths() {
@@ -12,7 +12,7 @@
12
12
  <body class="ig-scrollbar">
13
13
  <app-root></app-root>
14
14
 
15
- <script type="module" src="./dist/src/index.js"></script>
15
+ <script type="module" src="./src/index.ts"></script>
16
16
  </body>
17
17
 
18
18
  </html>
@@ -3,51 +3,36 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "description": "WebComponents project for Ignite UI CLI",
6
- "license": "MIT",
7
- "author": "Infragistics",
8
- "main": "dist/src/index.js",
9
- "module": "dist/src/index.js",
10
6
  "type": "module",
11
- "exports": {
12
- ".": "./dist/src/index.js",
13
- "./$(dashName).js": "./dist/src/$(dashName).js"
14
- },
15
7
  "scripts": {
16
- "start": "tsc && concurrently -k -r \"tsc --watch\" \"vite\"",
17
- "build": "rimraf dist && tsc && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build",
8
+ "start": "vite --open",
9
+ "build": "vite build",
18
10
  "start:build": "vite preview --open",
19
- "lint": "eslint",
20
- "test": "tsc --project tsconfig.test.json && vitest run"
11
+ "lint": "eslint",
12
+ "test": "vitest"
21
13
  },
22
14
  "dependencies": {
23
15
  "@vaadin/router": "^2.0.0",
24
16
  "@igniteui/material-icons-extended": "^3.0.2",
25
17
  "igniteui-dockmanager": "^2.1.0",
26
- "igniteui-webcomponents": "~7.1.0",
18
+ "igniteui-webcomponents": "~7.1.2",
27
19
  "igniteui-webcomponents-charts": "~7.0.0",
28
20
  "igniteui-webcomponents-core": "~7.0.0",
29
21
  "igniteui-webcomponents-gauges": "~7.0.0",
30
22
  "igniteui-webcomponents-grids": "~7.0.0",
31
23
  "igniteui-webcomponents-inputs": "~7.0.0",
32
24
  "igniteui-webcomponents-layouts": "~7.0.0",
33
- "lit": "^3.3.2",
34
- "typescript": "^5.9.3"
25
+ "lit": "^3.3.2"
35
26
  },
36
27
  "devDependencies": {
37
28
  "@eslint/js": "^9.39.4",
38
- "@babel/preset-env": "^7.28.3",
39
29
  "@vitest/browser-playwright": "^4.1.0",
40
- "babel-plugin-template-html-minifier": "^4.1.0",
41
- "concurrently": "^9.2.1",
42
- "deepmerge": "^4.3.1",
43
30
  "eslint": "^9.39.4",
44
31
  "eslint-plugin-lit": "^2.2.1",
45
32
  "globals": "^17.4.0",
46
33
  "igniteui-cli": "~$(cliVersion)",
47
34
  "playwright": "^1.58.2",
48
- "rimraf": "^6.1.3",
49
- "source-map": "^0.7.6",
50
- "tslib": "^2.8.1",
35
+ "typescript": "^5.9.3",
51
36
  "typescript-eslint": "^8.57.0",
52
37
  "vite": "^7.0.0",
53
38
  "vite-plugin-pwa": "^1.2.0",
@@ -1,4 +1,4 @@
1
- import { Route } from '@vaadin/router';
1
+ import { type Route } from '@vaadin/router';
2
2
  import './home/home.js';
3
3
  import './not-found/not-found.js';
4
4
 
@@ -4,5 +4,6 @@ export declare class BaseWithHomeIgcProject extends BaseIgcProject implements Pr
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
7
+ isHidden: boolean;
7
8
  get templatePaths(): string[];
8
9
  }
@@ -32,6 +32,7 @@ class BaseWithHomeIgcProject extends _base_1.BaseIgcProject {
32
32
  this.id = "base with home";
33
33
  this.name = "Base With Home";
34
34
  this.description = "Empty project layout structure for Ignite UI for Web Components";
35
+ this.isHidden = true;
35
36
  }
36
37
  get templatePaths() {
37
38
  return [...super.templatePaths, path.join(__dirname, "files")];
@@ -8,6 +8,7 @@ export declare class BasePageTemplate extends BaseIgcProject implements ProjectT
8
8
  projectType: string;
9
9
  dependencies: string[];
10
10
  hasExtraConfiguration: boolean;
11
+ isHidden: boolean;
11
12
  get templatePaths(): string[];
12
13
  }
13
14
  declare const _default: BasePageTemplate;
@@ -35,6 +35,7 @@ class BasePageTemplate extends _base_1.BaseIgcProject {
35
35
  this.framework = "webcomponents";
36
36
  this.projectType = "igc-ts";
37
37
  this.hasExtraConfiguration = false;
38
+ this.isHidden = true;
38
39
  }
39
40
  get templatePaths() {
40
41
  return [...super.templatePaths, path.join(__dirname, "files")];
@@ -8,6 +8,7 @@ export declare class EmptyPageTemplate extends BaseWithHomeIgcProject implements
8
8
  projectType: string;
9
9
  dependencies: string[];
10
10
  hasExtraConfiguration: boolean;
11
+ isHidden: boolean;
11
12
  get templatePaths(): string[];
12
13
  }
13
14
  declare const _default: EmptyPageTemplate;
@@ -35,6 +35,7 @@ class EmptyPageTemplate extends _base_with_home_1.BaseWithHomeIgcProject {
35
35
  this.framework = "webcomponents";
36
36
  this.projectType = "igc-ts";
37
37
  this.hasExtraConfiguration = false;
38
+ this.isHidden = false;
38
39
  }
39
40
  get templatePaths() {
40
41
  return [...super.templatePaths, path.join(__dirname, "files")];
@@ -16,29 +16,32 @@ defineComponents(
16
16
  @customElement('app-root')
17
17
  export default class App extends LitElement {
18
18
  static styles = css`
19
+ :host {
20
+ display: flex;
21
+ height: 100%;
22
+ }
23
+
19
24
  router-outlet {
20
25
  height: 100%;
26
+ width: 100%;
21
27
  display: flex;
22
28
  text-align: center;
23
29
  flex-flow: column nowrap;
24
30
  justify-content: stretch;
25
31
  align-items: center;
26
- overflow: inherit;
27
- }
28
-
29
- igc-nav-drawer {
30
- float: left;
32
+ padding: 1rem;
33
+ box-sizing: border-box;
31
34
  }
32
35
  `;
33
36
 
34
37
  render() {
35
38
  return html`
36
- <igc-nav-drawer open="true" position="relative">
39
+ <igc-nav-drawer open position="relative">
37
40
  <igc-nav-drawer-header-item>Ignite UI CLI</igc-nav-drawer-header-item>
38
- ${routes.filter(route => route.name).map(({path, name}) => html`
41
+ ${routes.filter(route => route.name).map(({path, name}) => html`
39
42
  <igc-nav-drawer-item>
40
43
  <span slot="content">
41
- <a href="${path}">${name}<igc-ripple></igc-ripple></a>
44
+ <a href="${path}">${name}<igc-ripple></igc-ripple></a>
42
45
  </span>
43
46
  </igc-nav-drawer-item>
44
47
  `)}
@@ -8,6 +8,7 @@ export declare class SideNavProject extends BaseWithHomeIgcProject implements Pr
8
8
  projectType: string;
9
9
  dependencies: string[];
10
10
  hasExtraConfiguration: boolean;
11
+ isHidden: boolean;
11
12
  get templatePaths(): string[];
12
13
  }
13
14
  declare const _default: SideNavProject;
@@ -35,6 +35,7 @@ class SideNavProject extends _base_with_home_1.BaseWithHomeIgcProject {
35
35
  this.framework = "webcomponents";
36
36
  this.projectType = "igc-ts";
37
37
  this.hasExtraConfiguration = false;
38
+ this.isHidden = false;
38
39
  }
39
40
  get templatePaths() {
40
41
  return [...super.templatePaths, path.join(__dirname, "files")];
@@ -1,14 +0,0 @@
1
-
2
- {
3
- "extends": "./tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "test"
6
- },
7
- "exclude": [
8
- "dist",
9
- "test"
10
- ],
11
- "include": [
12
- "**/*.ts"
13
- ]
14
- }