@vlandoss/run-run 0.0.4 โ 0.0.5
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/package.json
CHANGED
|
@@ -6,18 +6,18 @@ exports[`should match command: "help" 1`] = `
|
|
|
6
6
|
Usage: rr|run-run [options] [command]
|
|
7
7
|
|
|
8
8
|
Options:
|
|
9
|
-
-v, --version
|
|
10
|
-
-h, --help
|
|
9
|
+
-v, --version output the version number
|
|
10
|
+
-h, --help display help for command
|
|
11
11
|
|
|
12
12
|
Commands:
|
|
13
|
-
format|fmt [options]
|
|
14
|
-
lint [options]
|
|
15
|
-
test:static [options] check format and lint issues โ
|
|
16
|
-
clean [options]
|
|
17
|
-
|
|
18
|
-
typecheck|tsc
|
|
19
|
-
info:pkg [options]
|
|
20
|
-
help [command]
|
|
13
|
+
format|fmt [options] format the code ๐จ
|
|
14
|
+
lint [options] lint the code ๐งน
|
|
15
|
+
check|test:static [options] check format and lint issues โ
|
|
16
|
+
clean [options] delete dirty folders or files such as
|
|
17
|
+
node_modules, etc ๐๏ธ
|
|
18
|
+
typecheck|tsc check if TypeScript code is well typed ๐จ
|
|
19
|
+
info:pkg [options] display run-run package.json โน๏ธ
|
|
20
|
+
help [command] display help for command
|
|
21
21
|
|
|
22
22
|
Acknowledgment:
|
|
23
23
|
- kcd-scripts: for main inspiration
|
|
@@ -34,18 +34,18 @@ exports[`should match command: "--help" 1`] = `
|
|
|
34
34
|
Usage: rr|run-run [options] [command]
|
|
35
35
|
|
|
36
36
|
Options:
|
|
37
|
-
-v, --version
|
|
38
|
-
-h, --help
|
|
37
|
+
-v, --version output the version number
|
|
38
|
+
-h, --help display help for command
|
|
39
39
|
|
|
40
40
|
Commands:
|
|
41
|
-
format|fmt [options]
|
|
42
|
-
lint [options]
|
|
43
|
-
test:static [options] check format and lint issues โ
|
|
44
|
-
clean [options]
|
|
45
|
-
|
|
46
|
-
typecheck|tsc
|
|
47
|
-
info:pkg [options]
|
|
48
|
-
help [command]
|
|
41
|
+
format|fmt [options] format the code ๐จ
|
|
42
|
+
lint [options] lint the code ๐งน
|
|
43
|
+
check|test:static [options] check format and lint issues โ
|
|
44
|
+
clean [options] delete dirty folders or files such as
|
|
45
|
+
node_modules, etc ๐๏ธ
|
|
46
|
+
typecheck|tsc check if TypeScript code is well typed ๐จ
|
|
47
|
+
info:pkg [options] display run-run package.json โน๏ธ
|
|
48
|
+
help [command] display help for command
|
|
49
49
|
|
|
50
50
|
Acknowledgment:
|
|
51
51
|
- kcd-scripts: for main inspiration
|
|
@@ -94,8 +94,8 @@ Under the hood, this command uses the biome CLI to lint the code.
|
|
|
94
94
|
"
|
|
95
95
|
`;
|
|
96
96
|
|
|
97
|
-
exports[`should match help message for command "
|
|
98
|
-
"Usage: rr test:static [options]
|
|
97
|
+
exports[`should match help message for command "check" 1`] = `
|
|
98
|
+
"Usage: rr check|test:static [options]
|
|
99
99
|
|
|
100
100
|
check format and lint issues โ
|
|
101
101
|
|
|
@@ -146,14 +146,6 @@ Options:
|
|
|
146
146
|
"
|
|
147
147
|
`;
|
|
148
148
|
|
|
149
|
-
exports[`should match "format" command 1`] = `"biome format --no-errors-on-unmatched --colors=force"`;
|
|
150
|
-
|
|
151
|
-
exports[`should match "lint" command 1`] = `"biome check --colors=force --formatter-enabled=false"`;
|
|
152
|
-
|
|
153
|
-
exports[`should match "test:static" command 1`] = `"biome check --colors=force"`;
|
|
154
|
-
|
|
155
|
-
exports[`should match "typecheck" command 1`] = `"tsc --noEmit"`;
|
|
156
|
-
|
|
157
149
|
exports[`should match help message for command "tools" 1`] = `
|
|
158
150
|
"Usage: rr tools [options] [command]
|
|
159
151
|
|
|
@@ -169,3 +161,11 @@ Commands:
|
|
|
169
161
|
help [command] display help for command
|
|
170
162
|
"
|
|
171
163
|
`;
|
|
164
|
+
|
|
165
|
+
exports[`should match "format" command 1`] = `"biome format --no-errors-on-unmatched --colors=force"`;
|
|
166
|
+
|
|
167
|
+
exports[`should match "lint" command 1`] = `"biome check --colors=force --formatter-enabled=false"`;
|
|
168
|
+
|
|
169
|
+
exports[`should match "check" command 1`] = `"biome check --colors=force"`;
|
|
170
|
+
|
|
171
|
+
exports[`should match "typecheck" command 1`] = `"tsc --noEmit"`;
|
|
@@ -3,7 +3,8 @@ import isCI from "is-ci";
|
|
|
3
3
|
import type { Context } from "~/services/ctx";
|
|
4
4
|
|
|
5
5
|
export function createTestStaticCommand(ctx: Context) {
|
|
6
|
-
return createCommand("
|
|
6
|
+
return createCommand("check")
|
|
7
|
+
.alias("test:static")
|
|
7
8
|
.description("check format and lint issues โ
")
|
|
8
9
|
.option("-f, --fix", "try to fix issues automatically")
|
|
9
10
|
.option("--fix-staged", "try to fix staged files only")
|