@pega/custom-dx-components 0.242.7 → 0.242.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
package/src/tasks/init/index.js
CHANGED
|
@@ -91,14 +91,12 @@ export default async options => {
|
|
|
91
91
|
|
|
92
92
|
const questions = getInitProjectQuestions();
|
|
93
93
|
|
|
94
|
-
let projectDirectory;
|
|
95
|
-
|
|
96
94
|
await inquirer.prompt(questions).then(async answers => {
|
|
97
95
|
projectName = answers.projectName;
|
|
98
96
|
projectName = sanitize(projectName).toLowerCase();
|
|
99
97
|
options = { ...options, ...answers };
|
|
100
98
|
|
|
101
|
-
projectDirectory = `./${projectName}`;
|
|
99
|
+
const projectDirectory = `./${projectName}`;
|
|
102
100
|
|
|
103
101
|
if (!fs.existsSync(projectDirectory)) {
|
|
104
102
|
fs.mkdirSync(projectDirectory);
|
|
@@ -113,6 +111,10 @@ export default async options => {
|
|
|
113
111
|
options.targetDirectory,
|
|
114
112
|
'node_modules/@pega/custom-dx-components'
|
|
115
113
|
);
|
|
114
|
+
options.componentLibraryUtilsDirectory = path.join(
|
|
115
|
+
options.targetDirectory,
|
|
116
|
+
'node_modules/@pega/constellation-dx-components-build-utils'
|
|
117
|
+
);
|
|
116
118
|
});
|
|
117
119
|
|
|
118
120
|
const installDependenciesText = `Installing dependencies. This will take a couple of minutes.`;
|
|
@@ -143,8 +145,11 @@ export default async options => {
|
|
|
143
145
|
execPromise('npm i --force --production=false', { cwd: options.componentDirectory })
|
|
144
146
|
},
|
|
145
147
|
{
|
|
146
|
-
title: '
|
|
147
|
-
task: () =>
|
|
148
|
+
title: 'Installing tasks library dependencies',
|
|
149
|
+
task: () =>
|
|
150
|
+
execPromise('npm i --force --production=false', {
|
|
151
|
+
cwd: options.componentLibraryUtilsDirectory
|
|
152
|
+
})
|
|
148
153
|
}
|
|
149
154
|
/* {
|
|
150
155
|
title: 'Installing quick run',
|
|
@@ -55,66 +55,66 @@
|
|
|
55
55
|
"author": "",
|
|
56
56
|
"license": "Enter License",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@babel/cli": "^7.
|
|
59
|
-
"@babel/core": "^7.
|
|
60
|
-
"@babel/preset-env": "^7.
|
|
61
|
-
"@babel/preset-react": "^7.
|
|
58
|
+
"@babel/cli": "^7.24.7",
|
|
59
|
+
"@babel/core": "^7.24.7",
|
|
60
|
+
"@babel/preset-env": "^7.24.7",
|
|
61
|
+
"@babel/preset-react": "^7.24.7",
|
|
62
62
|
"@material-ui/core": "^4.12.4",
|
|
63
63
|
"@pega/constellation-dx-components-build-utils": "^1.0.1-dev-0.10",
|
|
64
64
|
"@pega/cosmos-react-condition-builder": "7.0.0-build.6.0",
|
|
65
65
|
"@pega/cosmos-react-core": "7.0.0-build.6.0",
|
|
66
66
|
"@pega/cosmos-react-work": "7.0.0-build.6.0",
|
|
67
67
|
"babel-loader": "^9.1.3",
|
|
68
|
-
"dayjs": "^1.11.
|
|
68
|
+
"dayjs": "^1.11.11",
|
|
69
69
|
"lodash": "^4.17.21",
|
|
70
70
|
"lodash.get": "^4.4.2",
|
|
71
|
-
"npm": "^10.
|
|
72
|
-
"polished": "^4.
|
|
71
|
+
"npm": "^10.8.1",
|
|
72
|
+
"polished": "^4.3.1",
|
|
73
73
|
"prop-types": "^15.8.1",
|
|
74
74
|
"react": "^17.0.2",
|
|
75
75
|
"react-autosuggest": "^10.1.0",
|
|
76
76
|
"react-dom": "^17.0.2",
|
|
77
|
-
"react-is": "^18.
|
|
78
|
-
"react-player": "^2.
|
|
79
|
-
"react-redux": "^7.2.
|
|
80
|
-
"serve": "^14.2.
|
|
77
|
+
"react-is": "^18.3.1",
|
|
78
|
+
"react-player": "^2.16.0",
|
|
79
|
+
"react-redux": "^7.2.9",
|
|
80
|
+
"serve": "^14.2.3",
|
|
81
81
|
"shelljs": "^0.8.5",
|
|
82
|
-
"styled-components": "^5.3.
|
|
82
|
+
"styled-components": "^5.3.11",
|
|
83
83
|
"ts-loader": "^9.5.1",
|
|
84
84
|
"webpack": "5.74.0",
|
|
85
85
|
"webpack-cli": "^5.1.4"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@babel/cli": "^7.
|
|
89
|
-
"@babel/core": "^7.
|
|
90
|
-
"@babel/preset-env": "^7.
|
|
91
|
-
"@babel/preset-react": "^7.
|
|
88
|
+
"@babel/cli": "^7.24.7",
|
|
89
|
+
"@babel/core": "^7.24.7",
|
|
90
|
+
"@babel/preset-env": "^7.24.7",
|
|
91
|
+
"@babel/preset-react": "^7.24.7",
|
|
92
92
|
"@pega/configs": "^0.6.0",
|
|
93
|
-
"@pega/custom-dx-components": "0.242.
|
|
93
|
+
"@pega/custom-dx-components": "0.242.9",
|
|
94
94
|
"@pega/pcore-pconnect-typedefs": "2.0.0",
|
|
95
95
|
"@storybook/addon-actions": "^7.6.7",
|
|
96
|
-
"@storybook/addon-essentials": "^7.6.
|
|
97
|
-
"@storybook/addon-knobs": "^7.
|
|
98
|
-
"@storybook/addon-links": "^7.6.
|
|
99
|
-
"@storybook/addon-storysource": "^7.6.
|
|
96
|
+
"@storybook/addon-essentials": "^7.6.19",
|
|
97
|
+
"@storybook/addon-knobs": "^7.1.1",
|
|
98
|
+
"@storybook/addon-links": "^7.6.19",
|
|
99
|
+
"@storybook/addon-storysource": "^7.6.19",
|
|
100
100
|
"@storybook/react": "^7.6.7",
|
|
101
|
-
"@storybook/react-webpack5": "^7.6.
|
|
101
|
+
"@storybook/react-webpack5": "^7.6.19",
|
|
102
102
|
"@types/emoji-mart": "^3.0.14",
|
|
103
103
|
"@types/lodash.get": "^4.4.9",
|
|
104
|
-
"@types/react": "^17.0.
|
|
105
|
-
"@types/react-color": "^3.0.
|
|
106
|
-
"@types/react-dom": "^17.0.
|
|
104
|
+
"@types/react": "^17.0.80",
|
|
105
|
+
"@types/react-color": "^3.0.12",
|
|
106
|
+
"@types/react-dom": "^17.0.25",
|
|
107
107
|
"@types/styled-components": "^5.1.34",
|
|
108
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
108
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
109
109
|
"babel-loader": "^9.1.3",
|
|
110
|
-
"eslint": "^8.
|
|
110
|
+
"eslint": "^8.57.0",
|
|
111
111
|
"eslint-plugin-import": "^2.29.1",
|
|
112
|
-
"eslint-plugin-jest": "^27.
|
|
112
|
+
"eslint-plugin-jest": "^27.9.0",
|
|
113
113
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
114
|
-
"eslint-plugin-mdx": "^2.3.
|
|
115
|
-
"eslint-plugin-prettier": "^5.1.
|
|
116
|
-
"eslint-plugin-react": "^7.
|
|
117
|
-
"eslint-plugin-react-hooks": "^4.6.
|
|
114
|
+
"eslint-plugin-mdx": "^2.3.4",
|
|
115
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
116
|
+
"eslint-plugin-react": "^7.34.2",
|
|
117
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
118
118
|
"eslint-plugin-sonarjs": "^0.23.0",
|
|
119
119
|
"eslint-plugin-storybook": "^0.6.15",
|
|
120
120
|
"jest": "^29.7.0",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"jest-junit": "^16.0.0",
|
|
123
123
|
"npm-run-all": "^4.1.5",
|
|
124
124
|
"prettier": "3.1.1",
|
|
125
|
-
"storybook": "^7.6.
|
|
126
|
-
"stylelint": "^14.
|
|
125
|
+
"storybook": "^7.6.19",
|
|
126
|
+
"stylelint": "^14.16.1",
|
|
127
127
|
"typescript": "~4.9.5"
|
|
128
128
|
}
|
|
129
129
|
}
|