@fishawack/lab-env 5.8.0 → 5.8.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 5.8.1 (2026-09-08)
|
|
4
|
+
|
|
5
|
+
#### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* make egnyte diagnose step optional and non-blocking and default legacy off at all times ([3ff422b](https://bitbucket.org/fishawackdigital/lab-env/commits/3ff422b9ddcfb83a483f63d0c985426794fd9e5d))
|
|
8
|
+
|
|
9
|
+
### 5.8.1-beta.1 (2026-09-08)
|
|
10
|
+
|
|
11
|
+
#### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* make egnyte diagnose step optional and non-blocking and default legacy off at all times ([3ff422b](https://bitbucket.org/fishawackdigital/lab-env/commits/3ff422b9ddcfb83a483f63d0c985426794fd9e5d))
|
|
14
|
+
|
|
3
15
|
### 5.8.0 (2026-09-07)
|
|
4
16
|
|
|
5
17
|
#### Features
|
|
@@ -27,9 +27,9 @@ module.exports = [
|
|
|
27
27
|
|
|
28
28
|
yargs.option("legacy", {
|
|
29
29
|
alias: "l",
|
|
30
|
-
describe:
|
|
31
|
-
"Run the legacy diagnosis steps. When omitted it will be default true for permanent users and false for everyone else",
|
|
30
|
+
describe: "Run the legacy diagnosis steps",
|
|
32
31
|
type: "boolean",
|
|
32
|
+
default: false,
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
yargs.option("ci", {
|
|
@@ -41,10 +41,6 @@ module.exports = [
|
|
|
41
41
|
try {
|
|
42
42
|
let preset = await guide.preset(argv);
|
|
43
43
|
|
|
44
|
-
if (argv.l == null && preset === "permanent") {
|
|
45
|
-
argv.legacy = argv.l = true;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
44
|
if (argv.legacy) {
|
|
49
45
|
while (!(await test.gitconfig())) {
|
|
50
46
|
await guide.gitconfig(argv);
|
|
@@ -88,9 +84,14 @@ module.exports = [
|
|
|
88
84
|
}
|
|
89
85
|
}
|
|
90
86
|
|
|
91
|
-
if (!argv.ci) {
|
|
92
|
-
|
|
93
|
-
|
|
87
|
+
if (argv.legacy && !argv.ci) {
|
|
88
|
+
if (!(await guide.egnyteSkip(argv))) {
|
|
89
|
+
while (
|
|
90
|
+
!(await test.egnyte()) ||
|
|
91
|
+
!(await egnyte.check())
|
|
92
|
+
) {
|
|
93
|
+
await guide.egnyte(argv);
|
|
94
|
+
}
|
|
94
95
|
}
|
|
95
96
|
}
|
|
96
97
|
|
|
@@ -303,6 +303,21 @@ module.exports.gitlabSkip = async ({ confirm }) => {
|
|
|
303
303
|
return !inputs.confirm;
|
|
304
304
|
};
|
|
305
305
|
|
|
306
|
+
module.exports.egnyteSkip = async ({ confirm }) => {
|
|
307
|
+
let inputs = confirm
|
|
308
|
+
? { confirm }
|
|
309
|
+
: await inquirer.prompt([
|
|
310
|
+
{
|
|
311
|
+
type: "confirm",
|
|
312
|
+
name: "confirm",
|
|
313
|
+
message: "Do you want to test egnyte setup?",
|
|
314
|
+
default: true,
|
|
315
|
+
},
|
|
316
|
+
]);
|
|
317
|
+
|
|
318
|
+
return !inputs.confirm;
|
|
319
|
+
};
|
|
320
|
+
|
|
306
321
|
module.exports.config = async ({ confirm }) => {
|
|
307
322
|
let inputs = confirm
|
|
308
323
|
? { confirm }
|