igniteui-cli 14.3.14-beta.4 → 14.3.14-beta.6

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": "14.3.14-beta.4",
3
+ "version": "14.3.14-beta.6",
4
4
  "description": "CLI tool for creating Ignite UI projects",
5
5
  "keywords": [
6
6
  "CLI",
@@ -70,8 +70,8 @@
70
70
  "all": true
71
71
  },
72
72
  "dependencies": {
73
- "@igniteui/angular-templates": "~19.0.14314-beta.4",
74
- "@igniteui/cli-core": "~14.3.14-beta.4",
73
+ "@igniteui/angular-templates": "~19.0.14314-beta.6",
74
+ "@igniteui/cli-core": "~14.3.14-beta.6",
75
75
  "@inquirer/prompts": "^5.4.0",
76
76
  "@types/yargs": "^17.0.33",
77
77
  "chalk": "^5.3.0",
@@ -1,28 +1,28 @@
1
1
  import js from '@eslint/js';
2
- import tseslint from '@typescript-eslint/eslint-plugin';
3
- import tsparser from '@typescript-eslint/parser';
2
+ import parser from '@typescript-eslint/parser';
4
3
  import reactRefresh from 'eslint-plugin-react-refresh';
5
- import reactHooks from 'eslint-plugin-react-hooks';
4
+ import { FlatCompat } from "@eslint/eslintrc";
5
+
6
+ const compat = new FlatCompat({
7
+ recommendedConfig: js.configs.recommended
8
+ });
6
9
 
7
10
  export default [
8
- js.configs.recommended,
9
- tseslint.configs.recommended,
10
- reactHooks.configs.recommended,
11
- {
12
- ignores: ['dist', '.eslintrc.cjs'],
13
- },
11
+ ...compat.extends('eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'),
14
12
  {
15
- files: ['**/*.ts', '**/*.tsx'],
16
13
  languageOptions: {
17
- parser: tsparser,
14
+ globals: {
15
+ browser: true,
16
+ es2020: true,
17
+ },
18
+ parser: parser,
18
19
  parserOptions: {
19
20
  ecmaVersion: 'latest',
20
21
  sourceType: 'module',
21
22
  },
22
23
  },
23
24
  plugins: {
24
- reactRefresh,
25
- '@typescript-eslint': tseslint,
25
+ reactRefresh
26
26
  },
27
27
  rules: {
28
28
  '@typescript-eslint/no-unused-vars': [
@@ -37,8 +37,11 @@ export default [
37
37
  ignoreRestSiblings: true,
38
38
  },
39
39
  ],
40
- 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
40
+ 'reactRefresh/only-export-components': ['warn', { allowConstantExport: true }],
41
41
  '@typescript-eslint/no-explicit-any': 'off',
42
42
  },
43
43
  },
44
+ {
45
+ ignores: ['dist', 'eslint.config.mjs'],
46
+ }
44
47
  ];
@@ -34,7 +34,7 @@
34
34
  "start": "vite",
35
35
  "build": "tsc && node --max-old-space-size=4096 node_modules/vite/bin/vite build",
36
36
  "preview": "vite preview",
37
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
37
+ "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
38
38
  "test": "vitest"
39
39
  },
40
40
  "browserslist": [
@@ -1,19 +1,22 @@
1
1
  import js from '@eslint/js';
2
+ import parser from '@typescript-eslint/parser';
2
3
  import tseslint from '@typescript-eslint/eslint-plugin';
3
- import tsparser from '@typescript-eslint/parser';
4
+ import { FlatCompat } from "@eslint/eslintrc";
5
+
6
+ const compat = new FlatCompat({
7
+ recommendedConfig: js.configs.recommended
8
+ });
4
9
 
5
10
  export default [
6
- js.configs.recommended,
7
- tseslint.configs.recommended,
11
+ ...compat.extends('eslint:recommended', 'plugin:@typescript-eslint/recommended'),
8
12
  {
9
- env: {
10
- browser: true,
11
- es2021: true,
12
- jasmine: true,
13
- },
14
- files: ['**/*.ts', '**/*.tsx'],
15
13
  languageOptions: {
16
- parser: tsparser,
14
+ globals: {
15
+ browser: true,
16
+ es2021: true,
17
+ jasmine: true,
18
+ },
19
+ parser: parser,
17
20
  parserOptions: {
18
21
  ecmaVersion: 12,
19
22
  sourceType: 'module',
@@ -16,7 +16,7 @@
16
16
  "start": "tsc && concurrently -k -r \"tsc --watch\" \"wds\"",
17
17
  "build": "rimraf dist && tsc && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build",
18
18
  "start:build": "web-dev-server --root-dir dist --app-index index.html --open",
19
- "lint": "eslint \"**/*.{js,ts}\" --ignore-path .gitignore",
19
+ "lint": "eslint \"**/*.{js,ts}\" --ignore-pattern .gitignore",
20
20
  "test": "tsc --project tsconfig.test.json && wtr"
21
21
  },
22
22
  "dependencies": {
@@ -39,7 +39,6 @@
39
39
  "eslint-plugin-lit": "^1.8.2",
40
40
  "igniteui-cli": "^13.1.5",
41
41
  "rimraf": "^5.0.10",
42
- "rollup-plugin-terser": "^7.0.2",
43
42
  "source-map": "^0.7.4",
44
43
  "tslib": "^2.8.1",
45
44
  "@types/mocha": "^10.0.6",
@@ -1,7 +1,6 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import { VitePWA } from 'vite-plugin-pwa';
3
3
  import { viteStaticCopy } from 'vite-plugin-static-copy';
4
- import { terser } from 'rollup-plugin-terser';
5
4
 
6
5
  export default defineConfig({
7
6
  build: {
@@ -18,12 +17,15 @@ export default defineConfig({
18
17
  },
19
18
  target: 'es2021',
20
19
  minify: 'terser',
20
+ terserOptions: {
21
+ format: {
22
+ comments: false
23
+ }
24
+ },
21
25
  emptyOutDir: false,
22
26
  chunkSizeWarningLimit: 10 * 1024 * 1024 // 10 MB
23
27
  },
24
28
  plugins: [
25
- /** Minify JS */
26
- terser(),
27
29
  /** Copy static assets */
28
30
  viteStaticCopy({
29
31
  targets: [
@@ -48,6 +50,9 @@ export default defineConfig({
48
50
  ],
49
51
  maximumFileSizeToCacheInBytes: 10 * 1024 * 1024 // 10 MB
50
52
  },
53
+ manifest: {
54
+ theme_color: "#ffffff"
55
+ }
51
56
  }),
52
57
  ],
53
58
  });