@dbwebb/databas 1.2.0 → 1.2.2
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/README.md +10 -4
- package/bin/dbw-check.bash +3 -5
- package/bin/dbw-databas.bash +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,15 +42,24 @@ npx @dbwebb/databas check kmom03
|
|
|
42
42
|
npx @dbwebb/databas check kmom04
|
|
43
43
|
npx @dbwebb/databas check kmom05
|
|
44
44
|
npx @dbwebb/databas check kmom06
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
<!--
|
|
45
48
|
npx @dbwebb/databas check kmom07
|
|
46
49
|
npx @dbwebb/databas check kmom08
|
|
47
50
|
npx @dbwebb/databas check kmom10
|
|
48
|
-
|
|
51
|
+
-->
|
|
49
52
|
|
|
50
53
|
When you run kmom01, it will also check labbmiljo.
|
|
51
54
|
|
|
52
55
|
When you run kmom02, it will also check kmom01 and labbmiljo (and so on).
|
|
53
56
|
|
|
57
|
+
You can check only one specific kmom like this.
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npx @dbwebb/databas check kmom02 --only-this
|
|
61
|
+
```
|
|
62
|
+
|
|
54
63
|
You can get a helptext like this.
|
|
55
64
|
|
|
56
65
|
```bash
|
|
@@ -86,9 +95,6 @@ npx @dbwebb/databas check lab lab_01 lab_02
|
|
|
86
95
|
These will be supported but are yet not implemented.
|
|
87
96
|
|
|
88
97
|
```bash
|
|
89
|
-
npx @dbwebb/databas check kmom04
|
|
90
|
-
npx @dbwebb/databas check kmom05
|
|
91
|
-
npx @dbwebb/databas check kmom06
|
|
92
98
|
npx @dbwebb/databas check kmom10
|
|
93
99
|
```
|
|
94
100
|
-->
|
package/bin/dbw-check.bash
CHANGED
|
@@ -37,7 +37,6 @@ usage ()
|
|
|
37
37
|
""
|
|
38
38
|
"Command:"
|
|
39
39
|
" eslint Checks executed by eslint."
|
|
40
|
-
" lab <lab_01 lab_02 lab_03 lab_04> Checks and prints the specified labs."
|
|
41
40
|
" labbmiljo Checks related to the labbmiljö."
|
|
42
41
|
" kmom01 Checks related to kmom01."
|
|
43
42
|
" kmom02 Checks related to kmom02."
|
|
@@ -45,15 +44,11 @@ usage ()
|
|
|
45
44
|
" kmom04 Checks related to kmom04."
|
|
46
45
|
" kmom05 Checks related to kmom05."
|
|
47
46
|
" kmom06 Checks related to kmom06."
|
|
48
|
-
" kmom10 Checks related to kmom10."
|
|
49
47
|
""
|
|
50
48
|
"Options:"
|
|
51
|
-
" --eslint-fix Run eslint fix to see if some validation errors disappear."
|
|
52
49
|
" --only-this Check only the specific kmom, no previous ones."
|
|
53
50
|
" --no-branch Ignore checking branches."
|
|
54
51
|
" --no-color Do not colourize the output."
|
|
55
|
-
" --no-eslint Ignore checking with eslint."
|
|
56
|
-
" --pass-lab Run the lab towards the solution file to pass the check."
|
|
57
52
|
" --help, -h Print help."
|
|
58
53
|
" --version, -h Print version."
|
|
59
54
|
)
|
|
@@ -776,6 +771,9 @@ main ()
|
|
|
776
771
|
local command
|
|
777
772
|
local args
|
|
778
773
|
|
|
774
|
+
# defaults
|
|
775
|
+
NO_ESLINT=1
|
|
776
|
+
|
|
779
777
|
while (( $# ))
|
|
780
778
|
do
|
|
781
779
|
case "$1" in
|
package/bin/dbw-databas.bash
CHANGED