@eui/tools 4.17.6 → 4.17.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/.version.properties +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/sandbox.js +18 -4
- package/scripts/csdr/audit/audit-utils.js +2 -2
- package/scripts/csdr/init/prompt.js +3 -1
- package/scripts/csdr/init/resources/13.x/resolutions.json +1 -1
- package/scripts/csdr/release/package/ui.js +3 -3
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.17.
|
|
1
|
+
4.17.7
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 4.17.7 (2021-12-02)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* updated handlebars to 4.7.7 in v13 resolutions - enabled back UI auditing - fixed teams display on init - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([bd101f2d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/bd101f2d6466308c21bd4bdc57a504a5cdc810a6))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 4.17.6 (2021-11-30)
|
|
2
11
|
|
|
3
12
|
##### Bug Fixes
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -120,10 +120,10 @@ const notificationUtils = require('./scripts/utils/notification/notification-uti
|
|
|
120
120
|
// return initUtils.meta.init();
|
|
121
121
|
// })
|
|
122
122
|
|
|
123
|
-
return Promise.resolve()
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
// return Promise.resolve()
|
|
124
|
+
// .then(() => {
|
|
125
|
+
// return metadataUtils.stats.run();
|
|
126
|
+
// })
|
|
127
127
|
|
|
128
128
|
// return Promise.resolve()
|
|
129
129
|
// .then(() => {
|
|
@@ -630,3 +630,17 @@ return Promise.resolve()
|
|
|
630
630
|
// tools.logBanner('this is the content of the banner');
|
|
631
631
|
// })
|
|
632
632
|
|
|
633
|
+
return Promise.resolve()
|
|
634
|
+
.then(() => {
|
|
635
|
+
const csdrProjects = configUtils.projects.getCsdrProjects().filter((p) => {
|
|
636
|
+
return p.initListVisible === true;
|
|
637
|
+
}).map(p => ({ name: p.name, value: p.name }));
|
|
638
|
+
console.log(csdrProjects);
|
|
639
|
+
|
|
640
|
+
const teams = configUtils.projects.getTeamsProject(csdrProjects, answersProject.project)
|
|
641
|
+
.map(t => ({ name: getLabelTeam(t), value: t }))
|
|
642
|
+
.sort((a, b) => a.name > b.name ? 1 : a.name < b.name ? -1 : 0)
|
|
643
|
+
.concat([{ name: '* Install all packages', value: 'all' }]);
|
|
644
|
+
|
|
645
|
+
console.log(teams);
|
|
646
|
+
})
|
|
@@ -50,7 +50,7 @@ module.exports.audit = (pkg) => {
|
|
|
50
50
|
.then(() => {
|
|
51
51
|
return Promise.resolve()
|
|
52
52
|
.then(() => {
|
|
53
|
-
return execa.shellSync('yarn audit --level
|
|
53
|
+
return execa.shellSync('yarn audit --level high', { cwd: process.cwd(), stdio: 'inherit' });
|
|
54
54
|
})
|
|
55
55
|
.catch((e) => {}) // it can fail
|
|
56
56
|
})
|
|
@@ -61,7 +61,7 @@ module.exports.audit = (pkg) => {
|
|
|
61
61
|
.then(() => {
|
|
62
62
|
const auditFile = path.join(process.cwd(), 'audit.json');
|
|
63
63
|
tools.logInfo(`Creating audit file`)
|
|
64
|
-
return execa.shellSync(`yarn audit --level
|
|
64
|
+
return execa.shellSync(`yarn audit --level high --json > ${auditFile}`, { cwd: process.cwd(), stdio: 'inherit' });
|
|
65
65
|
})
|
|
66
66
|
.then(() => {
|
|
67
67
|
tools.logSuccess();
|
|
@@ -17,7 +17,9 @@ module.exports.start = () => {
|
|
|
17
17
|
type: "list",
|
|
18
18
|
name: "project",
|
|
19
19
|
message: "Which app / project do you work on?",
|
|
20
|
-
choices: csdrProjects.
|
|
20
|
+
choices: csdrProjects.filter((p) => {
|
|
21
|
+
return p.initListVisible === true;
|
|
22
|
+
}).map(p => ({ name: p.name, value: p.name }))
|
|
21
23
|
});
|
|
22
24
|
|
|
23
25
|
const answersTeam = await inquirer.prompt({
|