@pega/custom-dx-components 0.26.3 → 0.26.4

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/eslint.config.mjs CHANGED
@@ -1,8 +1,6 @@
1
1
  import { globalIgnores } from 'eslint/config';
2
- import path from 'node:path';
3
2
  import { fileURLToPath } from 'node:url';
4
- import js from '@eslint/js';
5
- import { FlatCompat } from '@eslint/eslintrc';
3
+ import eslint from '@eslint/js';
6
4
  import tseslint from 'typescript-eslint';
7
5
  import sonarjs from 'eslint-plugin-sonarjs';
8
6
  import importPlugin from 'eslint-plugin-import';
@@ -12,20 +10,10 @@ import reactHooks from 'eslint-plugin-react-hooks';
12
10
  import { defineConfig } from 'eslint/config';
13
11
 
14
12
  const __filename = fileURLToPath(import.meta.url);
15
- const __dirname = path.dirname(__filename);
16
-
17
- const compat = new FlatCompat({
18
- baseDirectory: __dirname,
19
- recommendedConfig: js.configs.recommended,
20
- sonarjs: sonarjs.configs.recommended,
21
- importPlugin: importPlugin.configs.recommended,
22
- react: react.configs.recommended,
23
- reactHooks: reactHooks.configs.recommended,
24
- allConfig: js.configs.all
25
- });
26
13
 
27
14
  export default defineConfig([
28
- tseslint.configs.recommended,
15
+ eslint.configs.recommended,
16
+ ...tseslint.configs.recommended,
29
17
  globalIgnores([
30
18
  '**/node_modules',
31
19
  'packages/*/lib',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "0.26.3",
3
+ "version": "0.26.4",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "keywords": [
@@ -1,8 +1,6 @@
1
1
  import { globalIgnores } from 'eslint/config';
2
- import path from 'node:path';
3
2
  import { fileURLToPath } from 'node:url';
4
- import js from '@eslint/js';
5
- import { FlatCompat } from '@eslint/eslintrc';
3
+ import eslint from '@eslint/js';
6
4
  import tseslint from 'typescript-eslint';
7
5
  import sonarjs from 'eslint-plugin-sonarjs';
8
6
  import importPlugin from 'eslint-plugin-import';
@@ -12,20 +10,10 @@ import reactHooks from 'eslint-plugin-react-hooks';
12
10
  import { defineConfig } from 'eslint/config';
13
11
 
14
12
  const __filename = fileURLToPath(import.meta.url);
15
- const __dirname = path.dirname(__filename);
16
-
17
- const compat = new FlatCompat({
18
- baseDirectory: __dirname,
19
- recommendedConfig: js.configs.recommended,
20
- sonarjs: sonarjs.configs.recommended,
21
- importPlugin: importPlugin.configs.recommended,
22
- react: react.configs.recommended,
23
- reactHooks: reactHooks.configs.recommended,
24
- allConfig: js.configs.all
25
- });
26
13
 
27
14
  export default defineConfig([
28
- tseslint.configs.recommended,
15
+ eslint.configs.recommended,
16
+ ...tseslint.configs.recommended,
29
17
  globalIgnores([
30
18
  '**/node_modules',
31
19
  'packages/*/lib',
@@ -107,7 +107,7 @@
107
107
  "@babel/preset-react": "^7.27.1",
108
108
  "@babel/preset-typescript": "^7.27.1",
109
109
  "@pega/configs": "^0.16.3",
110
- "@pega/custom-dx-components": "~0.26.3",
110
+ "@pega/custom-dx-components": "~0.26.4",
111
111
  "@pega/pcore-pconnect-typedefs": "^4.1.0",
112
112
  "@storybook/addon-docs": "^9.1.7",
113
113
  "@storybook/addon-essentials": "^9.0.0-alpha.12",
@@ -130,7 +130,8 @@
130
130
  "@types/react-color": "^3.0.13",
131
131
  "@types/react-dom": "^18.3.7",
132
132
  "@types/styled-components": "^5.1.34",
133
- "@typescript-eslint/eslint-plugin": "^5.62.0",
133
+ "@typescript-eslint/eslint-plugin": "^8.44.1",
134
+ "@typescript-eslint/parser": "^8.44.1",
134
135
  "core-js": "^3.42.0",
135
136
  "eslint": "^9.27.0",
136
137
  "eslint-plugin-import": "^2.31.0",
@@ -155,7 +156,7 @@
155
156
  "stylelint": "^16.19.1",
156
157
  "ts-jest": "^29.3.2",
157
158
  "typescript": "~5.5.4",
158
- "typescript-eslint": "^8.32.1",
159
+ "typescript-eslint": "^8.44.1",
159
160
  "vite": "^6.3.5"
160
161
  }
161
162
  }