igniteui-cli 13.1.10 → 13.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-cli",
3
- "version": "13.1.10",
3
+ "version": "13.1.11",
4
4
  "description": "CLI tool for creating Ignite UI projects",
5
5
  "keywords": [
6
6
  "CLI",
@@ -72,8 +72,8 @@
72
72
  "all": true
73
73
  },
74
74
  "dependencies": {
75
- "@igniteui/angular-templates": "~17.1.13110",
76
- "@igniteui/cli-core": "~13.1.10",
75
+ "@igniteui/angular-templates": "~17.1.13111",
76
+ "@igniteui/cli-core": "~13.1.11",
77
77
  "chalk": "^2.3.2",
78
78
  "fs-extra": "^3.0.1",
79
79
  "glob": "^7.1.2",
@@ -0,0 +1,16 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
13
+
14
+ [*.md]
15
+ max_line_length = off
16
+ trim_trailing_whitespace = false
@@ -1,16 +1,16 @@
1
1
  {
2
- "version": "$(cliVersion)",
3
- "project": {
4
- "defaultPort": 3003,
5
- "framework": "react",
6
- "projectType": "igr-ts",
7
- "projectTemplate": "$(projectTemplate)",
8
- "theme": "$(theme)",
9
- "isBundle": false,
10
- "components": [],
11
- "sourceFiles": [],
12
- "isShowcase": false,
13
- "version": ""
14
- },
15
- "build": {}
2
+ "version": "$(cliVersion)",
3
+ "project": {
4
+ "defaultPort": 3003,
5
+ "framework": "react",
6
+ "projectType": "igr-ts",
7
+ "projectTemplate": "$(projectTemplate)",
8
+ "theme": "$(theme)",
9
+ "isBundle": false,
10
+ "components": [],
11
+ "sourceFiles": [],
12
+ "isShowcase": false,
13
+ "version": ""
14
+ },
15
+ "build": {}
16
16
  }
@@ -20,9 +20,9 @@
20
20
  "devDependencies": {
21
21
  "@types/react": "^18.2.15",
22
22
  "@types/react-dom": "^18.2.7",
23
- "@vitejs/plugin-react": "^4.0.3",
24
23
  "@typescript-eslint/eslint-plugin": "^6.2.1",
25
24
  "@typescript-eslint/parser": "^6.2.1",
25
+ "@vitejs/plugin-react": "^4.0.3",
26
26
  "eslint": "^8.46.0",
27
27
  "eslint-plugin-react-hooks": "^4.6.0",
28
28
  "eslint-plugin-react-refresh": "^0.4.3",
@@ -3,6 +3,6 @@ import { render } from '@testing-library/react';
3
3
  import App from './app';
4
4
 
5
5
  test('renders without crashing', () => {
6
- const wrapper = render(<App />);
7
- expect(wrapper).toBeTruthy();
6
+ const wrapper = render(<App />);
7
+ expect(wrapper).toBeTruthy();
8
8
  });
@@ -2,11 +2,11 @@ import { Outlet } from "react-router-dom";
2
2
 
3
3
  export default function App() {
4
4
 
5
- return (
6
- <div className="app">
7
- <div className="content">
8
- <Outlet />
9
- </div>
10
- </div>
11
- )
5
+ return (
6
+ <div className="app">
7
+ <div className="content">
8
+ <Outlet />
9
+ </div>
10
+ </div>
11
+ )
12
12
  }
@@ -3,10 +3,10 @@
3
3
  * @param styles Object map of classes and their scoped name, normally from a CSS Module import
4
4
  */
5
5
  export default function createClassTransformer(styles: any) {
6
- return (classes: string) => {
7
- return classes
8
- .split(' ')
9
- .map(className => styles[className] || className)
10
- .join(' ');
11
- }
6
+ return (classes: string) => {
7
+ return classes
8
+ .split(' ')
9
+ .map(className => styles[className] || className)
10
+ .join(' ');
11
+ }
12
12
  }
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import ReactDOM from 'react-dom/client';
3
3
  import { createBrowserRouter, RouterProvider } from "react-router-dom";
4
- import { routes } from "./app/app-routes";
5
4
  import App from './app/app';
5
+ import { routes } from "./app/app-routes";
6
6
  import 'react-app-polyfill/ie11';
7
7
 
8
8
  /** Required in IE11 for Charts */
@@ -11,14 +11,14 @@ Number.isNaN = Number.isNaN || function(value) {
11
11
  }
12
12
 
13
13
  const router = createBrowserRouter([
14
- {
15
- element: <App />,
16
- children: [...routes]
17
- }
14
+ {
15
+ element: <App />,
16
+ children: [...routes]
17
+ }
18
18
  ]);
19
19
 
20
20
  ReactDOM.createRoot(document.getElementById('root')).render(
21
- <React.StrictMode>
22
- <RouterProvider router={router} />
23
- </React.StrictMode>
21
+ <React.StrictMode>
22
+ <RouterProvider router={router} />
23
+ </React.StrictMode>
24
24
  )
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -5,7 +5,7 @@
5
5
  "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
6
  "module": "ESNext",
7
7
  "skipLibCheck": true,
8
- "composite": true,
8
+ "composite": true,
9
9
  "allowSyntheticDefaultImports": true,
10
10
 
11
11
  /* Bundler mode */
@@ -4,21 +4,21 @@ import react from '@vitejs/plugin-react'
4
4
 
5
5
  // https://vitejs.dev/config/
6
6
  export default defineConfig({
7
- define: process.env.VITEST ? {} : { global: 'window' },
8
- plugins: [react()],
9
- test: {
10
- globals: true,
11
- environment: 'jsdom',
12
- setupFiles: ['./src/setupTests.ts'],
13
- deps: {
14
- inline: ['vitest-canvas-mock'],
15
- },
16
- },
17
- resolve: {
18
- mainFields: ['module'],
19
- },
20
- server: {
21
- open: true,
22
- port: 3003
23
- }
7
+ define: process.env.VITEST ? {} : { global: 'window' },
8
+ plugins: [react()],
9
+ test: {
10
+ globals: true,
11
+ environment: 'jsdom',
12
+ setupFiles: ['./src/setupTests.ts'],
13
+ deps: {
14
+ inline: ['vitest-canvas-mock'],
15
+ },
16
+ },
17
+ resolve: {
18
+ mainFields: ['module'],
19
+ },
20
+ server: {
21
+ open: true,
22
+ port: 3003
23
+ }
24
24
  })