@jayree/sfdx-plugin-manifest 3.4.6 → 3.4.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/README.md +3 -3
- package/lib/SDR-extra/api/statusMatrix.d.ts +142 -0
- package/lib/SDR-extra/api/statusMatrix.js +142 -0
- package/lib/SDR-extra/api/statusMatrix.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/npm-shrinkwrap.json +8 -8
- package/oclif.lock +35 -10
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [3.4.7](https://github.com/jayree/sfdx-plugin-manifest/compare/3.4.6...3.4.7) (2024-08-16)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **deps:** bump @jayree/changelog from 1.2.1 to 1.2.2 ([#1441](https://github.com/jayree/sfdx-plugin-manifest/issues/1441)) ([572ccfe](https://github.com/jayree/sfdx-plugin-manifest/commit/572ccfe3ffb879eade1e0a49dd7bc995ce09dfcf))
|
7
|
+
|
8
|
+
|
9
|
+
|
1
10
|
## [3.4.6](https://github.com/jayree/sfdx-plugin-manifest/compare/3.4.5...3.4.6) (2024-08-16)
|
2
11
|
|
3
12
|
|
package/README.md
CHANGED
@@ -60,7 +60,7 @@ EXAMPLES
|
|
60
60
|
$ sf jayree manifest cleanup --manifest=package.xml --file=packageignore.xml
|
61
61
|
```
|
62
62
|
|
63
|
-
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.4.
|
63
|
+
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.4.7/src/commands/jayree/manifest/cleanup.ts)_
|
64
64
|
|
65
65
|
### `sf jayree manifest generate`
|
66
66
|
|
@@ -98,7 +98,7 @@ EXAMPLES
|
|
98
98
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
99
99
|
```
|
100
100
|
|
101
|
-
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.4.
|
101
|
+
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.4.7/src/commands/jayree/manifest/generate.ts)_
|
102
102
|
|
103
103
|
### `sf jayree manifest git diff REF1 [REF2]`
|
104
104
|
|
@@ -181,5 +181,5 @@ FLAG DESCRIPTIONS
|
|
181
181
|
The location can be an absolute path or relative to the current working directory.
|
182
182
|
```
|
183
183
|
|
184
|
-
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.4.
|
184
|
+
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.4.7/src/commands/jayree/manifest/git/diff.ts)_
|
185
185
|
<!-- commandsstop -->
|
@@ -1,4 +1,146 @@
|
|
1
1
|
import { StatusRow } from 'isomorphic-git';
|
2
|
+
/**
|
3
|
+
* Efficiently get the status of multiple files at once.
|
4
|
+
*
|
5
|
+
* The returned `StatusMatrix` is admittedly not the easiest format to read.
|
6
|
+
* However it conveys a large amount of information in dense format that should make it easy to create reports about the current state of the repository;
|
7
|
+
* without having to do multiple, time-consuming isomorphic-git calls.
|
8
|
+
* My hope is that the speed and flexibility of the function will make up for the learning curve of interpreting the return value.
|
9
|
+
*
|
10
|
+
* ```js live
|
11
|
+
* // get the status of all the files in 'src'
|
12
|
+
* let status = await git.statusMatrix({
|
13
|
+
* fs,
|
14
|
+
* dir: '/tutorial',
|
15
|
+
* filter: f => f.startsWith('src/')
|
16
|
+
* })
|
17
|
+
* console.log(status)
|
18
|
+
* ```
|
19
|
+
*
|
20
|
+
* ```js live
|
21
|
+
* // get the status of all the JSON and Markdown files
|
22
|
+
* let status = await git.statusMatrix({
|
23
|
+
* fs,
|
24
|
+
* dir: '/tutorial',
|
25
|
+
* filter: f => f.endsWith('.json') || f.endsWith('.md')
|
26
|
+
* })
|
27
|
+
* console.log(status)
|
28
|
+
* ```
|
29
|
+
*
|
30
|
+
* The result is returned as a 2D array.
|
31
|
+
* The outer array represents the files and/or blobs in the repo, in alphabetical order.
|
32
|
+
* The inner arrays describe the status of the file:
|
33
|
+
* the first value is the filepath, and the next three are integers
|
34
|
+
* representing the HEAD status, WORKDIR status, and STAGE status of the entry.
|
35
|
+
*
|
36
|
+
* ```js
|
37
|
+
* // example StatusMatrix
|
38
|
+
* [
|
39
|
+
* ["a.txt", 0, 2, 0], // new, untracked
|
40
|
+
* ["b.txt", 0, 2, 2], // added, staged
|
41
|
+
* ["c.txt", 0, 2, 3], // added, staged, with unstaged changes
|
42
|
+
* ["d.txt", 1, 1, 1], // unmodified
|
43
|
+
* ["e.txt", 1, 2, 1], // modified, unstaged
|
44
|
+
* ["f.txt", 1, 2, 2], // modified, staged
|
45
|
+
* ["g.txt", 1, 2, 3], // modified, staged, with unstaged changes
|
46
|
+
* ["h.txt", 1, 0, 1], // deleted, unstaged
|
47
|
+
* ["i.txt", 1, 0, 0], // deleted, staged
|
48
|
+
* ["j.txt", 1, 2, 0], // deleted, staged, with unstaged-modified changes (new file of the same name)
|
49
|
+
* ["k.txt", 1, 1, 0], // deleted, staged, with unstaged changes (new file of the same name)
|
50
|
+
* ]
|
51
|
+
* ```
|
52
|
+
*
|
53
|
+
* - The HEAD status is either absent (0) or present (1).
|
54
|
+
* - The WORKDIR status is either absent (0), identical to HEAD (1), or different from HEAD (2).
|
55
|
+
* - The STAGE status is either absent (0), identical to HEAD (1), identical to WORKDIR (2), or different from WORKDIR (3).
|
56
|
+
*
|
57
|
+
* ```ts
|
58
|
+
* type Filename = string
|
59
|
+
* type HeadStatus = 0 | 1
|
60
|
+
* type WorkdirStatus = 0 | 1 | 2
|
61
|
+
* type StageStatus = 0 | 1 | 2 | 3
|
62
|
+
*
|
63
|
+
* type StatusRow = [Filename, HeadStatus, WorkdirStatus, StageStatus]
|
64
|
+
*
|
65
|
+
* type StatusMatrix = StatusRow[]
|
66
|
+
* ```
|
67
|
+
*
|
68
|
+
* > Think of the natural progression of file modifications as being from HEAD (previous) -> WORKDIR (current) -> STAGE (next).
|
69
|
+
* > Then HEAD is "version 1", WORKDIR is "version 2", and STAGE is "version 3".
|
70
|
+
* > Then, imagine a "version 0" which is before the file was created.
|
71
|
+
* > Then the status value in each column corresponds to the oldest version of the file it is identical to.
|
72
|
+
* > (For a file to be identical to "version 0" means the file is deleted.)
|
73
|
+
*
|
74
|
+
* Here are some examples of queries you can answer using the result:
|
75
|
+
*
|
76
|
+
* #### Q: What files have been deleted?
|
77
|
+
* ```js
|
78
|
+
* const FILE = 0, WORKDIR = 2
|
79
|
+
*
|
80
|
+
* const filenames = (await statusMatrix({ dir }))
|
81
|
+
* .filter(row => row[WORKDIR] === 0)
|
82
|
+
* .map(row => row[FILE])
|
83
|
+
* ```
|
84
|
+
*
|
85
|
+
* #### Q: What files have unstaged changes?
|
86
|
+
* ```js
|
87
|
+
* const FILE = 0, WORKDIR = 2, STAGE = 3
|
88
|
+
*
|
89
|
+
* const filenames = (await statusMatrix({ dir }))
|
90
|
+
* .filter(row => row[WORKDIR] !== row[STAGE])
|
91
|
+
* .map(row => row[FILE])
|
92
|
+
* ```
|
93
|
+
*
|
94
|
+
* #### Q: What files have been modified since the last commit?
|
95
|
+
* ```js
|
96
|
+
* const FILE = 0, HEAD = 1, WORKDIR = 2
|
97
|
+
*
|
98
|
+
* const filenames = (await statusMatrix({ dir }))
|
99
|
+
* .filter(row => row[HEAD] !== row[WORKDIR])
|
100
|
+
* .map(row => row[FILE])
|
101
|
+
* ```
|
102
|
+
*
|
103
|
+
* #### Q: What files will NOT be changed if I commit right now?
|
104
|
+
* ```js
|
105
|
+
* const FILE = 0, HEAD = 1, STAGE = 3
|
106
|
+
*
|
107
|
+
* const filenames = (await statusMatrix({ dir }))
|
108
|
+
* .filter(row => row[HEAD] === row[STAGE])
|
109
|
+
* .map(row => row[FILE])
|
110
|
+
* ```
|
111
|
+
*
|
112
|
+
* For reference, here are all possible combinations:
|
113
|
+
*
|
114
|
+
* | HEAD | WORKDIR | STAGE | `git status --short` equivalent |
|
115
|
+
* | ---- | ------- | ----- | ------------------------------- |
|
116
|
+
* | 0 | 0 | 0 | `` |
|
117
|
+
* | 0 | 0 | 3 | `AD` |
|
118
|
+
* | 0 | 2 | 0 | `??` |
|
119
|
+
* | 0 | 2 | 2 | `A ` |
|
120
|
+
* | 0 | 2 | 3 | `AM` |
|
121
|
+
* | 1 | 0 | 0 | `D ` |
|
122
|
+
* | 1 | 0 | 1 | ` D` |
|
123
|
+
* | 1 | 0 | 3 | `MD` |
|
124
|
+
* | 1 | 1 | 0 | `D ` + `??` |
|
125
|
+
* | 1 | 1 | 1 | `` |
|
126
|
+
* | 1 | 1 | 3 | `MM` |
|
127
|
+
* | 1 | 2 | 0 | `D ` + `??` |
|
128
|
+
* | 1 | 2 | 1 | ` M` |
|
129
|
+
* | 1 | 2 | 2 | `M ` |
|
130
|
+
* | 1 | 2 | 3 | `MM` |
|
131
|
+
*
|
132
|
+
* @param {object} args
|
133
|
+
* @param {string} args.dir - The [working tree](dir-vs-gitdir.md) directory path
|
134
|
+
* @param {string} [args.gitdir=join(dir, '.git')] - [required] The [git directory](dir-vs-gitdir.md) path
|
135
|
+
* @param {string} [args.ref1 = 'HEAD'] - Optionally specify a different commit to compare against the workdir and stage instead of the HEAD
|
136
|
+
* @param {string} [args.ref2 = 'STAGE'] - Optionally specify a different commit to compare against the <ref1> commit instead of the workdir and stage
|
137
|
+
* @param {string[]} [args.filepaths = ['.']] - Limit the query to the given files and directories
|
138
|
+
* @param {function(string): boolean} [args.filter] - Filter the results to only those whose filepath matches a function.
|
139
|
+
* @param {boolean} [args.ignored = false] - include ignored files in the result
|
140
|
+
*
|
141
|
+
* @returns {Promise<Array<StatusRow>>} Resolves with a status matrix, described below.
|
142
|
+
* @see StatusRow
|
143
|
+
*/
|
2
144
|
export declare function statusMatrix({ dir, gitdir, ref1, ref2, filepaths, filter, ignored: shouldIgnore, }: {
|
3
145
|
dir: string;
|
4
146
|
gitdir?: string;
|
@@ -13,6 +13,148 @@ import { WORKDIR } from 'isomorphic-git';
|
|
13
13
|
import { walk as _walk } from 'isomorphic-git';
|
14
14
|
import { isIgnored as _isIgnored } from 'isomorphic-git';
|
15
15
|
import { worthWalking } from '../utils/worthWalking.js';
|
16
|
+
/**
|
17
|
+
* Efficiently get the status of multiple files at once.
|
18
|
+
*
|
19
|
+
* The returned `StatusMatrix` is admittedly not the easiest format to read.
|
20
|
+
* However it conveys a large amount of information in dense format that should make it easy to create reports about the current state of the repository;
|
21
|
+
* without having to do multiple, time-consuming isomorphic-git calls.
|
22
|
+
* My hope is that the speed and flexibility of the function will make up for the learning curve of interpreting the return value.
|
23
|
+
*
|
24
|
+
* ```js live
|
25
|
+
* // get the status of all the files in 'src'
|
26
|
+
* let status = await git.statusMatrix({
|
27
|
+
* fs,
|
28
|
+
* dir: '/tutorial',
|
29
|
+
* filter: f => f.startsWith('src/')
|
30
|
+
* })
|
31
|
+
* console.log(status)
|
32
|
+
* ```
|
33
|
+
*
|
34
|
+
* ```js live
|
35
|
+
* // get the status of all the JSON and Markdown files
|
36
|
+
* let status = await git.statusMatrix({
|
37
|
+
* fs,
|
38
|
+
* dir: '/tutorial',
|
39
|
+
* filter: f => f.endsWith('.json') || f.endsWith('.md')
|
40
|
+
* })
|
41
|
+
* console.log(status)
|
42
|
+
* ```
|
43
|
+
*
|
44
|
+
* The result is returned as a 2D array.
|
45
|
+
* The outer array represents the files and/or blobs in the repo, in alphabetical order.
|
46
|
+
* The inner arrays describe the status of the file:
|
47
|
+
* the first value is the filepath, and the next three are integers
|
48
|
+
* representing the HEAD status, WORKDIR status, and STAGE status of the entry.
|
49
|
+
*
|
50
|
+
* ```js
|
51
|
+
* // example StatusMatrix
|
52
|
+
* [
|
53
|
+
* ["a.txt", 0, 2, 0], // new, untracked
|
54
|
+
* ["b.txt", 0, 2, 2], // added, staged
|
55
|
+
* ["c.txt", 0, 2, 3], // added, staged, with unstaged changes
|
56
|
+
* ["d.txt", 1, 1, 1], // unmodified
|
57
|
+
* ["e.txt", 1, 2, 1], // modified, unstaged
|
58
|
+
* ["f.txt", 1, 2, 2], // modified, staged
|
59
|
+
* ["g.txt", 1, 2, 3], // modified, staged, with unstaged changes
|
60
|
+
* ["h.txt", 1, 0, 1], // deleted, unstaged
|
61
|
+
* ["i.txt", 1, 0, 0], // deleted, staged
|
62
|
+
* ["j.txt", 1, 2, 0], // deleted, staged, with unstaged-modified changes (new file of the same name)
|
63
|
+
* ["k.txt", 1, 1, 0], // deleted, staged, with unstaged changes (new file of the same name)
|
64
|
+
* ]
|
65
|
+
* ```
|
66
|
+
*
|
67
|
+
* - The HEAD status is either absent (0) or present (1).
|
68
|
+
* - The WORKDIR status is either absent (0), identical to HEAD (1), or different from HEAD (2).
|
69
|
+
* - The STAGE status is either absent (0), identical to HEAD (1), identical to WORKDIR (2), or different from WORKDIR (3).
|
70
|
+
*
|
71
|
+
* ```ts
|
72
|
+
* type Filename = string
|
73
|
+
* type HeadStatus = 0 | 1
|
74
|
+
* type WorkdirStatus = 0 | 1 | 2
|
75
|
+
* type StageStatus = 0 | 1 | 2 | 3
|
76
|
+
*
|
77
|
+
* type StatusRow = [Filename, HeadStatus, WorkdirStatus, StageStatus]
|
78
|
+
*
|
79
|
+
* type StatusMatrix = StatusRow[]
|
80
|
+
* ```
|
81
|
+
*
|
82
|
+
* > Think of the natural progression of file modifications as being from HEAD (previous) -> WORKDIR (current) -> STAGE (next).
|
83
|
+
* > Then HEAD is "version 1", WORKDIR is "version 2", and STAGE is "version 3".
|
84
|
+
* > Then, imagine a "version 0" which is before the file was created.
|
85
|
+
* > Then the status value in each column corresponds to the oldest version of the file it is identical to.
|
86
|
+
* > (For a file to be identical to "version 0" means the file is deleted.)
|
87
|
+
*
|
88
|
+
* Here are some examples of queries you can answer using the result:
|
89
|
+
*
|
90
|
+
* #### Q: What files have been deleted?
|
91
|
+
* ```js
|
92
|
+
* const FILE = 0, WORKDIR = 2
|
93
|
+
*
|
94
|
+
* const filenames = (await statusMatrix({ dir }))
|
95
|
+
* .filter(row => row[WORKDIR] === 0)
|
96
|
+
* .map(row => row[FILE])
|
97
|
+
* ```
|
98
|
+
*
|
99
|
+
* #### Q: What files have unstaged changes?
|
100
|
+
* ```js
|
101
|
+
* const FILE = 0, WORKDIR = 2, STAGE = 3
|
102
|
+
*
|
103
|
+
* const filenames = (await statusMatrix({ dir }))
|
104
|
+
* .filter(row => row[WORKDIR] !== row[STAGE])
|
105
|
+
* .map(row => row[FILE])
|
106
|
+
* ```
|
107
|
+
*
|
108
|
+
* #### Q: What files have been modified since the last commit?
|
109
|
+
* ```js
|
110
|
+
* const FILE = 0, HEAD = 1, WORKDIR = 2
|
111
|
+
*
|
112
|
+
* const filenames = (await statusMatrix({ dir }))
|
113
|
+
* .filter(row => row[HEAD] !== row[WORKDIR])
|
114
|
+
* .map(row => row[FILE])
|
115
|
+
* ```
|
116
|
+
*
|
117
|
+
* #### Q: What files will NOT be changed if I commit right now?
|
118
|
+
* ```js
|
119
|
+
* const FILE = 0, HEAD = 1, STAGE = 3
|
120
|
+
*
|
121
|
+
* const filenames = (await statusMatrix({ dir }))
|
122
|
+
* .filter(row => row[HEAD] === row[STAGE])
|
123
|
+
* .map(row => row[FILE])
|
124
|
+
* ```
|
125
|
+
*
|
126
|
+
* For reference, here are all possible combinations:
|
127
|
+
*
|
128
|
+
* | HEAD | WORKDIR | STAGE | `git status --short` equivalent |
|
129
|
+
* | ---- | ------- | ----- | ------------------------------- |
|
130
|
+
* | 0 | 0 | 0 | `` |
|
131
|
+
* | 0 | 0 | 3 | `AD` |
|
132
|
+
* | 0 | 2 | 0 | `??` |
|
133
|
+
* | 0 | 2 | 2 | `A ` |
|
134
|
+
* | 0 | 2 | 3 | `AM` |
|
135
|
+
* | 1 | 0 | 0 | `D ` |
|
136
|
+
* | 1 | 0 | 1 | ` D` |
|
137
|
+
* | 1 | 0 | 3 | `MD` |
|
138
|
+
* | 1 | 1 | 0 | `D ` + `??` |
|
139
|
+
* | 1 | 1 | 1 | `` |
|
140
|
+
* | 1 | 1 | 3 | `MM` |
|
141
|
+
* | 1 | 2 | 0 | `D ` + `??` |
|
142
|
+
* | 1 | 2 | 1 | ` M` |
|
143
|
+
* | 1 | 2 | 2 | `M ` |
|
144
|
+
* | 1 | 2 | 3 | `MM` |
|
145
|
+
*
|
146
|
+
* @param {object} args
|
147
|
+
* @param {string} args.dir - The [working tree](dir-vs-gitdir.md) directory path
|
148
|
+
* @param {string} [args.gitdir=join(dir, '.git')] - [required] The [git directory](dir-vs-gitdir.md) path
|
149
|
+
* @param {string} [args.ref1 = 'HEAD'] - Optionally specify a different commit to compare against the workdir and stage instead of the HEAD
|
150
|
+
* @param {string} [args.ref2 = 'STAGE'] - Optionally specify a different commit to compare against the <ref1> commit instead of the workdir and stage
|
151
|
+
* @param {string[]} [args.filepaths = ['.']] - Limit the query to the given files and directories
|
152
|
+
* @param {function(string): boolean} [args.filter] - Filter the results to only those whose filepath matches a function.
|
153
|
+
* @param {boolean} [args.ignored = false] - include ignored files in the result
|
154
|
+
*
|
155
|
+
* @returns {Promise<Array<StatusRow>>} Resolves with a status matrix, described below.
|
156
|
+
* @see StatusRow
|
157
|
+
*/
|
16
158
|
export async function statusMatrix({ dir, gitdir = join(dir, '.git'), ref1 = 'HEAD', ref2, filepaths = ['.'], filter, ignored: shouldIgnore = false, }) {
|
17
159
|
return _walk({
|
18
160
|
fs,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"statusMatrix.js","sourceRoot":"","sources":["../../../src/SDR-extra/api/statusMatrix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,qFAAqF;AACrF,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE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