@siddhaartha_bs/monkcli 0.1.0 → 0.1.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/dist/monkcli.js +4 -4
- package/package.json +4 -1
package/dist/monkcli.js
CHANGED
|
@@ -964,8 +964,8 @@ function styleIncorrect(char) {
|
|
|
964
964
|
function styleUpcoming(char) {
|
|
965
965
|
return {
|
|
966
966
|
char,
|
|
967
|
-
color: COLORS_ENABLED ? "
|
|
968
|
-
dimColor:
|
|
967
|
+
color: COLORS_ENABLED ? "white" : void 0,
|
|
968
|
+
dimColor: false,
|
|
969
969
|
bold: false
|
|
970
970
|
};
|
|
971
971
|
}
|
|
@@ -995,7 +995,7 @@ function buildPastChars(targetText, inputText, pointer) {
|
|
|
995
995
|
visible[0] = {
|
|
996
996
|
char: "\u2026",
|
|
997
997
|
color: COLORS_ENABLED ? "gray" : void 0,
|
|
998
|
-
dimColor:
|
|
998
|
+
dimColor: false,
|
|
999
999
|
bold: HIGH_CONTRAST
|
|
1000
1000
|
};
|
|
1001
1001
|
}
|
|
@@ -1015,7 +1015,7 @@ function buildFutureChars(targetText, pointer) {
|
|
|
1015
1015
|
visible[visible.length - 1] = {
|
|
1016
1016
|
char: "\u2026",
|
|
1017
1017
|
color: COLORS_ENABLED ? "gray" : void 0,
|
|
1018
|
-
dimColor:
|
|
1018
|
+
dimColor: false,
|
|
1019
1019
|
bold: HIGH_CONTRAST
|
|
1020
1020
|
};
|
|
1021
1021
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siddhaartha_bs/monkcli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI typing test inspired by Monkeytype.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"bin": {
|
|
10
10
|
"monkcli": "./bin/monkcli.mjs"
|
|
11
11
|
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
12
15
|
"files": [
|
|
13
16
|
"bin",
|
|
14
17
|
"dist",
|