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.
- package/lib/commands/ai-config.d.ts +1 -2
- package/lib/commands/ai-config.js +4 -64
- package/lib/templates/IgniteUIForReactTemplate.d.ts +1 -0
- package/lib/templates/IgniteUIForReactTemplate.js +1 -0
- package/lib/templates/IgniteUIForWebComponentsTemplate.d.ts +1 -0
- package/lib/templates/IgniteUIForWebComponentsTemplate.js +1 -0
- package/lib/templates/jQueryTemplate.d.ts +1 -0
- package/lib/templates/jQueryTemplate.js +1 -0
- package/package.json +4 -4
- package/templates/jquery/js/projects/empty/index.js +1 -0
- package/templates/react/igr-ts/grid/basic/index.js +1 -1
- package/templates/react/igr-ts/projects/_base/files/__dot__claude/skills/igniteui-react-components/SKILL.md +23 -3
- package/templates/react/igr-ts/projects/_base/files/__dot__vscode/mcp.json +1 -1
- package/templates/react/igr-ts/projects/_base/files/package.json +1 -1
- package/templates/react/igr-ts/projects/_base/index.d.ts +1 -0
- package/templates/react/igr-ts/projects/_base/index.js +1 -0
- package/templates/react/igr-ts/projects/_base_with_home/index.d.ts +1 -0
- package/templates/react/igr-ts/projects/_base_with_home/index.js +1 -0
- package/templates/react/igr-ts/projects/base/index.d.ts +1 -0
- package/templates/react/igr-ts/projects/base/index.js +1 -0
- package/templates/react/igr-ts/projects/empty/index.d.ts +1 -0
- package/templates/react/igr-ts/projects/empty/index.js +1 -0
- package/templates/react/igr-ts/projects/top-nav/index.d.ts +1 -0
- package/templates/react/igr-ts/projects/top-nav/index.js +1 -0
- package/templates/webcomponents/igc-ts/card/default/files/src/app/__path__/__filePrefix__.ts +7 -5
- package/templates/webcomponents/igc-ts/dock-manager/default/files/src/app/__path__/__filePrefix__.ts +1 -1
- package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.ts +1 -1
- package/templates/webcomponents/igc-ts/grid/grid-editing/files/src/app/__path__/__filePrefix__.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/README.md +3 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-choose-components/SKILL.md +27 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-generate-from-image-design/SKILL.md +228 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +130 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +147 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/SKILL.md +22 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/angular.md +2 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/react.md +2 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/vanilla-js.md +2 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__claude/skills/igniteui-wc-integrate-with-framework/references/vue.md +2 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.js +5 -3
- package/templates/webcomponents/igc-ts/projects/_base/files/index.html +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +7 -22
- package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app-routing.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.json +22 -29
- package/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts +3 -4
- package/templates/webcomponents/igc-ts/projects/_base/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/_base/index.js +1 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/index.html +1 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +7 -22
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/app-routing.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/index.js +1 -0
- package/templates/webcomponents/igc-ts/projects/base/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/base/index.js +1 -0
- package/templates/webcomponents/igc-ts/projects/empty/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/empty/index.js +1 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +11 -8
- package/templates/webcomponents/igc-ts/projects/side-nav/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/index.js +1 -0
- 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": "
|
|
17
|
-
"build": "
|
|
8
|
+
"start": "vite --open",
|
|
9
|
+
"build": "vite build",
|
|
18
10
|
"start:build": "vite preview --open",
|
|
19
|
-
"lint": "eslint",
|
|
20
|
-
"test": "
|
|
11
|
+
"lint": "eslint",
|
|
12
|
+
"test": "vitest"
|
|
21
13
|
},
|
|
22
14
|
"dependencies": {
|
|
23
15
|
"@vaadin/router": "^2.0.0",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
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
|
-
"
|
|
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,34 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
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
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
"
|
|
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;
|
|
@@ -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": "
|
|
17
|
-
"build": "
|
|
8
|
+
"start": "vite --open",
|
|
9
|
+
"build": "vite build",
|
|
18
10
|
"start:build": "vite preview --open",
|
|
19
|
-
"lint": "eslint",
|
|
20
|
-
"test": "
|
|
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.
|
|
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
|
-
"
|
|
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",
|
|
@@ -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
|
-
|
|
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
|
|
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")];
|