directus-template-cli 0.7.0-beta.2 → 0.7.0-beta.3
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.
|
@@ -35,12 +35,8 @@ async function animatedBunny(customMessage) {
|
|
|
35
35
|
const updateFrame = () => {
|
|
36
36
|
if (isCleanedUp)
|
|
37
37
|
return;
|
|
38
|
-
const eyes = blinkState ? '
|
|
39
|
-
const frame = `
|
|
40
|
-
(\\(\\
|
|
41
|
-
( ${eyes}) ${chalk_1.default.dim('.')}${chalk_1.default.hex(constants_1.DIRECTUS_PINK).visible(`"${typedSaying}"`)}
|
|
42
|
-
o_(")(")
|
|
43
|
-
`;
|
|
38
|
+
const eyes = blinkState ? '- -' : 'Õ Õ';
|
|
39
|
+
const frame = `(\\ /)\n \\\\_//\n ( ${eyes}) ${chalk_1.default.dim('')}${chalk_1.default.hex(constants_1.DIRECTUS_PINK).visible(`"${typedSaying}"`)}\nC(")(")`;
|
|
44
40
|
(0, log_update_1.default)(frame);
|
|
45
41
|
};
|
|
46
42
|
const animation = setInterval(() => {
|
|
@@ -56,10 +52,10 @@ o_(")(")
|
|
|
56
52
|
else {
|
|
57
53
|
clearInterval(typing);
|
|
58
54
|
}
|
|
59
|
-
},
|
|
55
|
+
}, 25);
|
|
60
56
|
try {
|
|
61
57
|
// Run the animation for the duration of typing plus 1 second
|
|
62
|
-
await new Promise(resolve => setTimeout(resolve, saying.length *
|
|
58
|
+
await new Promise(resolve => setTimeout(resolve, saying.length * 25 + 1000));
|
|
63
59
|
}
|
|
64
60
|
finally {
|
|
65
61
|
cleanup();
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "directus-template-cli",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.3",
|
|
4
4
|
"description": "CLI Utility for applying templates to a Directus instance.",
|
|
5
5
|
"author": "bryantgillespie @bryantgillespie",
|
|
6
6
|
"bin": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@oclif/plugin-plugins": "^4.1.22",
|
|
25
25
|
"@octokit/rest": "^21.1.1",
|
|
26
26
|
"bottleneck": "^2.19.5",
|
|
27
|
-
"chalk": "
|
|
27
|
+
"chalk": "4.1.2",
|
|
28
28
|
"defu": "^6.1.4",
|
|
29
29
|
"dotenv": "^16.4.1",
|
|
30
30
|
"execa": "^9.5.2",
|