@geonosis/lint-parity 2.7.0 → 2.9.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/CHANGELOG.md +4 -0
- package/bin/geonosis-lint-parity.mjs +2 -2
- package/dist/index.d.ts +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -34,13 +34,13 @@ if (existsSync(src)) {
|
|
|
34
34
|
const built = newest(dist)
|
|
35
35
|
if (built === 0) {
|
|
36
36
|
process.stderr.write(
|
|
37
|
-
'geonosis-lint-parity: this tree has never been built — run pnpm build. No dist here at all, which is what a fresh clone or a linked git worktree starts with; nothing is stale.\n'
|
|
37
|
+
'geonosis-lint-parity: this tree has never been built — run pnpm build. No dist here at all, which is what a fresh clone or a linked git worktree starts with; nothing is stale.\n'
|
|
38
38
|
)
|
|
39
39
|
process.exit(2)
|
|
40
40
|
}
|
|
41
41
|
if (newest(src, NOT_SOURCE) > built) {
|
|
42
42
|
process.stderr.write(
|
|
43
|
-
'geonosis-lint-parity: dist is older than src — run pnpm build before trusting this bin.\n'
|
|
43
|
+
'geonosis-lint-parity: dist is older than src — run pnpm build before trusting this bin.\n'
|
|
44
44
|
)
|
|
45
45
|
process.exit(2)
|
|
46
46
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ declare const readManifest: (corpus: string) => CorpusManifest;
|
|
|
149
149
|
* consumer inherits every one of those as a claim it cannot check. The corpus is the evidence, and
|
|
150
150
|
* `neither` is the list that has to stay empty.
|
|
151
151
|
*/
|
|
152
|
-
declare const corpusOf: ({ configA, configB, corpus, expectChanged, oxlint
|
|
152
|
+
declare const corpusOf: ({ configA, configB, corpus, expectChanged, oxlint }: {
|
|
153
153
|
configA: string;
|
|
154
154
|
configB: string;
|
|
155
155
|
corpus: string;
|
|
@@ -197,21 +197,21 @@ declare const parseParityArgs: (argv: string[]) => ParityArgs;
|
|
|
197
197
|
* config named relatively does. A census taken under different arguments would describe a run
|
|
198
198
|
* nobody made, which is the failure this whole envelope is about.
|
|
199
199
|
*/
|
|
200
|
-
declare const filesLintedBy: ({ config, cwd, oxlint, paths
|
|
200
|
+
declare const filesLintedBy: ({ config, cwd, oxlint, paths }: {
|
|
201
201
|
config: string;
|
|
202
202
|
cwd: string;
|
|
203
203
|
oxlint: string;
|
|
204
204
|
paths: string[];
|
|
205
205
|
}) => string[];
|
|
206
206
|
/** Which files both configs would read, and which each would read alone. */
|
|
207
|
-
declare const fileCensus: ({ configA, configB, cwd, oxlint, paths
|
|
207
|
+
declare const fileCensus: ({ configA, configB, cwd, oxlint, paths }: {
|
|
208
208
|
configA: string;
|
|
209
209
|
configB: string;
|
|
210
210
|
cwd: string;
|
|
211
211
|
oxlint: string;
|
|
212
212
|
paths: string[];
|
|
213
213
|
}) => FileCensus;
|
|
214
|
-
declare const parityOf: ({ configA, configB, cwd, out, oxlint, paths
|
|
214
|
+
declare const parityOf: ({ configA, configB, cwd, out, oxlint, paths }: {
|
|
215
215
|
configA: string;
|
|
216
216
|
configB: string;
|
|
217
217
|
cwd: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/lint-parity",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"description": "Findings parity and rule reach over any two oxlint configs — the diff a fork is deleted on.",
|
|
6
6
|
"keywords": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@geonosis/ratchet": "2.
|
|
48
|
+
"@geonosis/ratchet": "2.9.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup",
|