igniteui-cli 14.3.14-beta.7 → 14.3.14-beta.9

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.7",
3
+ "version": "14.3.14-beta.9",
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.7",
74
- "@igniteui/cli-core": "~14.3.14-beta.7",
73
+ "@igniteui/angular-templates": "~19.0.14314-beta.9",
74
+ "@igniteui/cli-core": "~14.3.14-beta.9",
75
75
  "@inquirer/prompts": "^5.4.0",
76
76
  "@types/yargs": "^17.0.33",
77
77
  "chalk": "^5.3.0",
@@ -1,5 +1,5 @@
1
1
  import js from '@eslint/js';
2
- import parser from '@typescript-eslint/parser';
2
+ import typescriptParser from '@typescript-eslint/parser';
3
3
  import reactRefresh from 'eslint-plugin-react-refresh';
4
4
  import { FlatCompat } from "@eslint/eslintrc";
5
5
 
@@ -10,12 +10,13 @@ const compat = new FlatCompat({
10
10
  export default [
11
11
  ...compat.extends('eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'),
12
12
  {
13
+ files: ['**/*.ts', '**/*.tsx'],
13
14
  languageOptions: {
14
15
  globals: {
15
16
  browser: true,
16
17
  es2020: true,
17
18
  },
18
- parser: parser,
19
+ parser: typescriptParser,
19
20
  parserOptions: {
20
21
  ecmaVersion: 'latest',
21
22
  sourceType: 'module',
@@ -1,5 +1,5 @@
1
1
  import js from '@eslint/js';
2
- import parser from '@typescript-eslint/parser';
2
+ import typescriptParser from '@typescript-eslint/parser';
3
3
  import tseslint from '@typescript-eslint/eslint-plugin';
4
4
  import { FlatCompat } from "@eslint/eslintrc";
5
5
 
@@ -10,13 +10,14 @@ const compat = new FlatCompat({
10
10
  export default [
11
11
  ...compat.extends('eslint:recommended', 'plugin:@typescript-eslint/recommended'),
12
12
  {
13
+ files: ['**/*.ts', '**/*.tsx'],
13
14
  languageOptions: {
14
15
  globals: {
15
16
  browser: true,
16
17
  es2021: true,
17
18
  jasmine: true,
18
19
  },
19
- parser: parser,
20
+ parser: typescriptParser,
20
21
  parserOptions: {
21
22
  ecmaVersion: 12,
22
23
  sourceType: 'module',
@@ -17,15 +17,19 @@ export default defineConfig({
17
17
  },
18
18
  target: 'es2021',
19
19
  minify: 'terser',
20
- terserOptions: {
21
- format: {
22
- comments: false
23
- }
24
- },
25
20
  emptyOutDir: false,
26
21
  chunkSizeWarningLimit: 10 * 1024 * 1024 // 10 MB
27
22
  },
28
23
  plugins: [
24
+ {
25
+ name: 'remove-pure-comment',
26
+ transform(code, id) {
27
+ if (id.includes('node_modules/igniteui-webcomponents-core')) {
28
+ return code.replace(/\/\*\s#__PURE__\s\*\//g, '');
29
+ }
30
+ return code;
31
+ }
32
+ },
29
33
  /** Copy static assets */
30
34
  viteStaticCopy({
31
35
  targets: [