@pega/custom-dx-components 0.25.63 → 0.26.1
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/README.md
CHANGED
|
@@ -33,7 +33,7 @@ For more info [here](https://pega-dev.zoominsoftware.io/bundle/constellation-dx-
|
|
|
33
33
|
|
|
34
34
|
Ensure you have access to the following in your system:
|
|
35
35
|
|
|
36
|
-
- Pega Infinity Server version
|
|
36
|
+
- Pega Infinity Server version 26.1 or later
|
|
37
37
|
|
|
38
38
|
- Git version 2.30 or later
|
|
39
39
|
|
package/eslint.config.mjs
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { globalIgnores } from 'eslint/config';
|
|
2
|
+
import path from 'node:path';
|
|
2
3
|
import { fileURLToPath } from 'node:url';
|
|
3
|
-
import
|
|
4
|
+
import js from '@eslint/js';
|
|
5
|
+
import { FlatCompat } from '@eslint/eslintrc';
|
|
4
6
|
import tseslint from 'typescript-eslint';
|
|
5
7
|
import sonarjs from 'eslint-plugin-sonarjs';
|
|
6
8
|
import importPlugin from 'eslint-plugin-import';
|
|
7
9
|
import react from 'eslint-plugin-react';
|
|
8
10
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
9
|
-
// eslint.config.js
|
|
10
|
-
import { defineConfig } from 'eslint/config';
|
|
11
11
|
|
|
12
12
|
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
+
const __dirname = path.dirname(__filename);
|
|
14
|
+
const compat = new FlatCompat({
|
|
15
|
+
baseDirectory: __dirname,
|
|
16
|
+
recommendedConfig: js.configs.recommended,
|
|
17
|
+
sonarjs: sonarjs.configs.recommended,
|
|
18
|
+
importPlugin: importPlugin.configs.recommended,
|
|
19
|
+
react: react.configs.recommended,
|
|
20
|
+
reactHooks: reactHooks.configs.recommended,
|
|
21
|
+
allConfig: js.configs.all
|
|
22
|
+
});
|
|
13
23
|
|
|
14
|
-
export default
|
|
15
|
-
|
|
16
|
-
...tseslint.configs.recommended,
|
|
24
|
+
export default tseslint.config(
|
|
25
|
+
tseslint.configs.recommended,
|
|
17
26
|
globalIgnores([
|
|
18
27
|
'**/node_modules',
|
|
19
28
|
'packages/*/lib',
|
|
@@ -23,7 +32,6 @@ export default defineConfig([
|
|
|
23
32
|
'**/mock.stories.js',
|
|
24
33
|
'**/demo.stories.tsx',
|
|
25
34
|
'**/demo.test.tsx',
|
|
26
|
-
'**/*.test.tsx',
|
|
27
35
|
'**/mock.stories.ts',
|
|
28
36
|
'**/*.mdx',
|
|
29
37
|
'**/webpack.config.js',
|
|
@@ -123,6 +131,7 @@ export default defineConfig([
|
|
|
123
131
|
'no-alert': 'off',
|
|
124
132
|
'no-console': 'error',
|
|
125
133
|
'no-fallthrough': 'error',
|
|
134
|
+
'no-undef': 'error',
|
|
126
135
|
'no-unused-vars': 'off',
|
|
127
136
|
'no-var': 'off',
|
|
128
137
|
yoda: 'error',
|
|
@@ -146,6 +155,7 @@ export default defineConfig([
|
|
|
146
155
|
'react/no-unused-prop-types': 'error',
|
|
147
156
|
'react/static-property-placement': 'error',
|
|
148
157
|
'array-callback-return': 'error',
|
|
158
|
+
camelcase: 'error',
|
|
149
159
|
'func-names': 'error',
|
|
150
160
|
'no-case-declarations': 'error',
|
|
151
161
|
'no-lonely-if': 'error',
|
|
@@ -198,6 +208,7 @@ export default defineConfig([
|
|
|
198
208
|
{
|
|
199
209
|
files: ['**/*.@(ts|tsx)'],
|
|
200
210
|
rules: {
|
|
211
|
+
'no-undef': 'error',
|
|
201
212
|
'no-console': 'off',
|
|
202
213
|
'import/prefer-default-export': 'off',
|
|
203
214
|
'import/no-relative-packages': 'off',
|
|
@@ -219,4 +230,4 @@ export default defineConfig([
|
|
|
219
230
|
'import/prefer-default-export': ['off']
|
|
220
231
|
}
|
|
221
232
|
}
|
|
222
|
-
|
|
233
|
+
);
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ For more info [here](https://pega-dev.zoominsoftware.io/bundle/constellation-dx-
|
|
|
33
33
|
|
|
34
34
|
Ensure you have access to the following in your system:
|
|
35
35
|
|
|
36
|
-
- Pega Infinity Server version
|
|
36
|
+
- Pega Infinity Server version 26.1 or later
|
|
37
37
|
|
|
38
38
|
- Git version 2.30 or later
|
|
39
39
|
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { globalIgnores } from 'eslint/config';
|
|
2
|
+
import path from 'node:path';
|
|
2
3
|
import { fileURLToPath } from 'node:url';
|
|
3
|
-
import
|
|
4
|
+
import js from '@eslint/js';
|
|
5
|
+
import { FlatCompat } from '@eslint/eslintrc';
|
|
4
6
|
import tseslint from 'typescript-eslint';
|
|
5
7
|
import sonarjs from 'eslint-plugin-sonarjs';
|
|
6
8
|
import importPlugin from 'eslint-plugin-import';
|
|
7
9
|
import react from 'eslint-plugin-react';
|
|
8
10
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
9
|
-
// eslint.config.js
|
|
10
|
-
import { defineConfig } from 'eslint/config';
|
|
11
11
|
|
|
12
12
|
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
+
const __dirname = path.dirname(__filename);
|
|
14
|
+
const compat = new FlatCompat({
|
|
15
|
+
baseDirectory: __dirname,
|
|
16
|
+
recommendedConfig: js.configs.recommended,
|
|
17
|
+
sonarjs: sonarjs.configs.recommended,
|
|
18
|
+
importPlugin: importPlugin.configs.recommended,
|
|
19
|
+
react: react.configs.recommended,
|
|
20
|
+
reactHooks: reactHooks.configs.recommended,
|
|
21
|
+
allConfig: js.configs.all
|
|
22
|
+
});
|
|
13
23
|
|
|
14
|
-
export default
|
|
15
|
-
|
|
16
|
-
...tseslint.configs.recommended,
|
|
24
|
+
export default tseslint.config(
|
|
25
|
+
tseslint.configs.recommended,
|
|
17
26
|
globalIgnores([
|
|
18
27
|
'**/node_modules',
|
|
19
28
|
'packages/*/lib',
|
|
@@ -219,4 +228,4 @@ export default defineConfig([
|
|
|
219
228
|
'import/prefer-default-export': ['off']
|
|
220
229
|
}
|
|
221
230
|
}
|
|
222
|
-
|
|
231
|
+
);
|
|
@@ -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.
|
|
110
|
+
"@pega/custom-dx-components": "~0.26.1",
|
|
111
111
|
"@pega/pcore-pconnect-typedefs": "^4.1.0",
|
|
112
112
|
"@storybook/addon-actions": "^8.6.14",
|
|
113
113
|
"@storybook/addon-essentials": "^8.6.14",
|
|
@@ -130,8 +130,7 @@
|
|
|
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": "^
|
|
134
|
-
"@typescript-eslint/parser": "^8.44.1",
|
|
133
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
135
134
|
"core-js": "^3.42.0",
|
|
136
135
|
"eslint": "^9.27.0",
|
|
137
136
|
"eslint-plugin-import": "^2.31.0",
|
|
@@ -156,7 +155,7 @@
|
|
|
156
155
|
"stylelint": "^16.19.1",
|
|
157
156
|
"ts-jest": "^29.3.2",
|
|
158
157
|
"typescript": "~5.5.4",
|
|
159
|
-
"typescript-eslint": "^8.
|
|
158
|
+
"typescript-eslint": "^8.32.1",
|
|
160
159
|
"vite": "^6.3.5"
|
|
161
160
|
}
|
|
162
161
|
}
|