watskeburt 5.0.2 → 6.0.0
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 +5 -5
- package/dist/cli.js +1 -1
- package/dist/format/regex.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -26,12 +26,12 @@ const lChangedFiles = await list({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// list all files that differ between 'main' and the current revision
|
|
29
|
-
// (
|
|
29
|
+
// (including untracked files, output as JSON)
|
|
30
30
|
/** @type {import('watskeburt').IChange[]|string} */
|
|
31
31
|
const lChangedFiles = await list({
|
|
32
32
|
oldRevision: "main",
|
|
33
33
|
trackedOnly: false, // when set to true leaves out files not under revision control
|
|
34
|
-
outputType: "json", // options: "
|
|
34
|
+
outputType: "json", // options: "json" and "regex"
|
|
35
35
|
});
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -57,7 +57,7 @@ The array of changes this returns looks like this:
|
|
|
57
57
|
|
|
58
58
|
### :shell: cli
|
|
59
59
|
|
|
60
|
-
Works with node >=
|
|
60
|
+
Works with node >=22
|
|
61
61
|
|
|
62
62
|
```shell
|
|
63
63
|
# list all JavaScript-ish files changed since main in a regular expression
|
|
@@ -86,13 +86,13 @@ Options:
|
|
|
86
86
|
-e, --extensions <list> comma separated list of file extensions to consider
|
|
87
87
|
- pass "*" to consider all extensions
|
|
88
88
|
- currently applicable only to the "regex" reporter
|
|
89
|
-
- defaults to
|
|
89
|
+
- defaults to most popular extensions in the
|
|
90
90
|
JavaScript/ TypeScript ecosystem
|
|
91
91
|
-h, --help display help for command
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
Default list of extensions (cli, regex reporter only):
|
|
95
|
-
`"cjs,
|
|
95
|
+
`"cjs,cjsx,coffee,csx,cts,js,json,jsx,litcoffee,ls,mjs,mts,svelte,ts,tsx,vue,vuex"`.
|
|
96
96
|
|
|
97
97
|
## why?
|
|
98
98
|
|
package/dist/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ Options:
|
|
|
14
14
|
-e, --extensions <list> comma separated list of file extensions to consider
|
|
15
15
|
- pass "*" to consider all extensions
|
|
16
16
|
- currently applicable only to the "regex" reporter
|
|
17
|
-
- defaults to
|
|
17
|
+
- defaults to most popular extensions in the
|
|
18
18
|
JavaScript/ TypeScript ecosystem
|
|
19
19
|
-V, --version output the version number
|
|
20
20
|
-h, --help display help for command${EOL}`;
|
package/dist/format/regex.js
CHANGED
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "
|
|
1
|
+
export const VERSION = "6.0.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "watskeburt",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "List files changed since a git revision",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"README.md"
|
|
46
46
|
],
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": "^
|
|
48
|
+
"node": "^22.13||^24||>=26"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "echo see github for test, build and analysis scripts"
|