@pega/custom-dx-components 1.0.5 → 1.0.7
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/.vscode/extensions.json
CHANGED
package/README.md
CHANGED
|
@@ -8,13 +8,13 @@ This project provides you with an environment to extend Constellation by giving
|
|
|
8
8
|
|
|
9
9
|
Ensure you have access to the following in your system:
|
|
10
10
|
|
|
11
|
-
- Pega Infinity Server version 8.7
|
|
11
|
+
- Pega Infinity Server version 8.7 or later
|
|
12
12
|
|
|
13
|
-
- Git version 2.30
|
|
13
|
+
- Git version 2.30 or later
|
|
14
14
|
|
|
15
|
-
- System node version
|
|
15
|
+
- System node version 16
|
|
16
16
|
|
|
17
|
-
- System npm version
|
|
17
|
+
- System npm version 7
|
|
18
18
|
|
|
19
19
|
## Initialize a project
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pega/custom-dx-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Utility for building custom UI components",
|
|
5
5
|
"bin": "./bin/index.js",
|
|
6
6
|
"repository": {},
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@babel/core": "^7.17.
|
|
17
|
+
"@babel/core": "^7.17.10",
|
|
18
18
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
19
|
-
"@babel/preset-env": "^7.
|
|
19
|
+
"@babel/preset-env": "^7.17.10",
|
|
20
20
|
"@babel/preset-react": "^7.16.7",
|
|
21
21
|
"adm-zip": "^0.5.9",
|
|
22
22
|
"ajv": "^8.11.0",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"file-loader": "6.2.0",
|
|
31
31
|
"fs-extra": "^10.1.0",
|
|
32
32
|
"gitignore": "^0.7.0",
|
|
33
|
-
"inquirer": "^8.2.
|
|
33
|
+
"inquirer": "^8.2.4",
|
|
34
34
|
"listr": "^0.14.3",
|
|
35
35
|
"mini-css-extract-plugin": "2.6.0",
|
|
36
36
|
"mustache": "^4.2.0",
|
|
37
37
|
"ncp": "^2.0.0",
|
|
38
|
-
"node-fetch": "^3.2.
|
|
38
|
+
"node-fetch": "^3.2.4",
|
|
39
39
|
"ora": "^6.1.0",
|
|
40
40
|
"pascalcase": "^2.0.0",
|
|
41
|
-
"postcss": "^8.4.
|
|
41
|
+
"postcss": "^8.4.13",
|
|
42
42
|
"postcss-loader": "6.2.1",
|
|
43
|
-
"postcss-preset-env": "7.
|
|
43
|
+
"postcss-preset-env": "7.5.0",
|
|
44
44
|
"prop-types": "^15.8.1",
|
|
45
45
|
"react": "^17.0.2",
|
|
46
46
|
"react-dev-utils": "^12.0.1",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"resolve-url-loader": "^5.0.0",
|
|
49
49
|
"sass-loader": "^12.6.0",
|
|
50
50
|
"terser-webpack-plugin": "5.3.1",
|
|
51
|
-
"ts-loader": "^9.
|
|
52
|
-
"typescript": "^4.6.
|
|
51
|
+
"ts-loader": "^9.3.0",
|
|
52
|
+
"typescript": "^4.6.4",
|
|
53
53
|
"url-loader": "4.1.1",
|
|
54
|
-
"webpack": "5.72.
|
|
54
|
+
"webpack": "5.72.1"
|
|
55
55
|
},
|
|
56
56
|
"author": "Custom component dev",
|
|
57
57
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
],
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@pega/configs": "^0.3.3",
|
|
64
|
-
"cspell": "^5.
|
|
65
|
-
"eslint": "^8.
|
|
64
|
+
"cspell": "^5.20.0",
|
|
65
|
+
"eslint": "^8.15.0",
|
|
66
66
|
"prettier": "2.6.2"
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -30,7 +30,13 @@ const generateAccessToken = async config => {
|
|
|
30
30
|
headers: { 'content-type': 'application/x-www-form-urlencoded' },
|
|
31
31
|
body: formData.toString()
|
|
32
32
|
})
|
|
33
|
-
.then(response =>
|
|
33
|
+
.then(response => {
|
|
34
|
+
if (response.ok && response.status === 200) {
|
|
35
|
+
return response.json();
|
|
36
|
+
} else {
|
|
37
|
+
throw new Error(`Failed with status: ${response.status}`);
|
|
38
|
+
}
|
|
39
|
+
})
|
|
34
40
|
.then(data => {
|
|
35
41
|
if (data && data.errors) {
|
|
36
42
|
const errMessages = data.errors;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"license": "Enter License",
|
|
36
36
|
"sideEffects": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@pega/cosmos-react-core": "^2.2.
|
|
38
|
+
"@pega/cosmos-react-core": "^2.2.3",
|
|
39
39
|
"polished": "^4.2.2",
|
|
40
40
|
"react": "^17.0.2",
|
|
41
41
|
"react-autosuggest": "^10.1.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@pega/configs": "^0.3.3",
|
|
50
|
-
"@pega/custom-dx-components": "^1.0.
|
|
50
|
+
"@pega/custom-dx-components": "^1.0.6",
|
|
51
51
|
"@storybook/addon-actions": "^6.4.22",
|
|
52
52
|
"@storybook/addon-essentials": "^6.4.22",
|
|
53
53
|
"@storybook/addon-links": "^6.4.22",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"@types/react-color": "^3.0.6",
|
|
61
61
|
"@types/react-dom": "^17.0.11",
|
|
62
62
|
"@types/styled-components": "^5.1.25",
|
|
63
|
-
"eslint": "^8.
|
|
63
|
+
"eslint": "^8.15.0",
|
|
64
64
|
"npm-run-all": "^4.1.5",
|
|
65
65
|
"prettier": "2.6.2",
|
|
66
|
-
"stylelint": "^14.8.
|
|
67
|
-
"typescript": "~4.6.
|
|
66
|
+
"stylelint": "^14.8.2",
|
|
67
|
+
"typescript": "~4.6.4"
|
|
68
68
|
}
|
|
69
69
|
}
|