@monorepolint/rules 0.6.0-alpha.4 → 0.6.0-alpha.6
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/.turbo/turbo-clean.log +1 -1
- package/.turbo/turbo-compile-typescript.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +443 -92
- package/.turbo/turbo-transpile-typescript.log +5 -5
- package/CHANGELOG.md +112 -0
- package/build/js/index.js +413 -368
- package/build/js/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/REMOVE.d.ts +2 -0
- package/build/types/REMOVE.d.ts.map +1 -0
- package/build/types/__tests__/alphabeticalDependencies.spec.d.ts +8 -0
- package/build/types/__tests__/alphabeticalDependencies.spec.d.ts.map +1 -0
- package/build/types/__tests__/forceError.spec.d.ts +8 -0
- package/build/types/__tests__/forceError.spec.d.ts.map +1 -0
- package/build/types/__tests__/oncePerPackage.spec.d.ts +8 -0
- package/build/types/__tests__/oncePerPackage.spec.d.ts.map +1 -0
- package/build/types/__tests__/standardTsconfig.spec.d.ts +8 -0
- package/build/types/__tests__/standardTsconfig.spec.d.ts.map +1 -0
- package/build/types/bannedDependencies.d.ts +9 -33
- package/build/types/bannedDependencies.d.ts.map +1 -1
- package/build/types/consistentDependencies.d.ts +6 -6
- package/build/types/consistentDependencies.d.ts.map +1 -1
- package/build/types/consistentVersions.d.ts +6 -10
- package/build/types/consistentVersions.d.ts.map +1 -1
- package/build/types/fileContents.d.ts +3 -2
- package/build/types/fileContents.d.ts.map +1 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/mustSatisfyPeerDependencies.d.ts +12 -190
- package/build/types/mustSatisfyPeerDependencies.d.ts.map +1 -1
- package/build/types/nestedWorkspaces.d.ts +2 -2
- package/build/types/nestedWorkspaces.d.ts.map +1 -1
- package/build/types/oncePerPackage.d.ts +6 -6
- package/build/types/oncePerPackage.d.ts.map +1 -1
- package/build/types/packageEntry.d.ts +11 -33
- package/build/types/packageEntry.d.ts.map +1 -1
- package/build/types/packageOrder.d.ts +2 -1
- package/build/types/packageOrder.d.ts.map +1 -1
- package/build/types/packageScript.d.ts +13 -22
- package/build/types/packageScript.d.ts.map +1 -1
- package/build/types/requireDependency.d.ts +5 -20
- package/build/types/requireDependency.d.ts.map +1 -1
- package/build/types/standardTsconfig.d.ts +12 -19
- package/build/types/standardTsconfig.d.ts.map +1 -1
- package/build/types/util/zodSchemas.d.ts +14 -0
- package/build/types/util/zodSchemas.d.ts.map +1 -0
- package/coverage/block-navigation.js +1 -1
- package/coverage/clover.xml +1420 -1452
- package/coverage/coverage-final.json +21 -19
- package/coverage/index.html +27 -27
- package/coverage/sorter.js +21 -7
- package/coverage/src/REMOVE.ts.html +88 -0
- package/coverage/src/alphabeticalDependencies.ts.html +15 -15
- package/coverage/src/alphabeticalScripts.ts.html +5 -5
- package/coverage/src/bannedDependencies.ts.html +20 -53
- package/coverage/src/consistentDependencies.ts.html +20 -14
- package/coverage/src/consistentVersions.ts.html +330 -183
- package/coverage/src/fileContents.ts.html +223 -88
- package/coverage/src/forceError.ts.html +31 -31
- package/coverage/src/index.html +104 -89
- package/coverage/src/index.ts.html +11 -5
- package/coverage/src/mustSatisfyPeerDependencies.ts.html +15 -501
- package/coverage/src/nestedWorkspaces.ts.html +5 -5
- package/coverage/src/oncePerPackage.ts.html +31 -31
- package/coverage/src/packageEntry.ts.html +121 -91
- package/coverage/src/packageOrder.ts.html +44 -14
- package/coverage/src/packageScript.ts.html +235 -88
- package/coverage/src/requireDependency.ts.html +241 -82
- package/coverage/src/standardTsconfig.ts.html +212 -212
- package/coverage/src/util/checkAlpha.ts.html +40 -40
- package/coverage/src/util/createRuleFactory.ts.html +19 -19
- package/coverage/src/util/index.html +30 -15
- package/coverage/src/util/makeDirectory.ts.html +11 -11
- package/coverage/src/util/packageDependencyGraphService.ts.html +1 -1
- package/coverage/src/util/zodSchemas.ts.html +130 -0
- package/package.json +15 -15
- package/src/REMOVE.ts +1 -0
- package/src/__tests__/alphabeticalDependencies.spec.ts +102 -0
- package/src/__tests__/alphabeticalScripts.spec.ts +18 -0
- package/src/__tests__/bannedDependencies.spec.ts +49 -0
- package/src/__tests__/consistentDependencies.spec.ts +23 -0
- package/src/__tests__/consistentVersions.spec.ts +142 -0
- package/src/__tests__/fileContents.spec.ts +348 -0
- package/src/__tests__/forceError.spec.ts +70 -0
- package/src/__tests__/mustSatisfyPeerDependencies.spec.ts +44 -0
- package/src/__tests__/nestedWorkspaces.spec.ts +14 -0
- package/src/__tests__/oncePerPackage.spec.ts +75 -0
- package/src/__tests__/packageEntry.spec.ts +177 -0
- package/src/__tests__/packageOrder.spec.ts +22 -0
- package/src/__tests__/packageScript.spec.ts +549 -0
- package/src/__tests__/requireDependency.spec.ts +259 -2
- package/src/__tests__/standardTsconfig.spec.ts +91 -0
- package/src/bannedDependencies.ts +14 -25
- package/src/consistentDependencies.ts +10 -8
- package/src/consistentVersions.ts +132 -83
- package/src/fileContents.ts +80 -35
- package/src/index.ts +2 -0
- package/src/mustSatisfyPeerDependencies.ts +10 -172
- package/src/nestedWorkspaces.ts +4 -4
- package/src/oncePerPackage.ts +6 -6
- package/src/packageEntry.ts +60 -50
- package/src/packageOrder.ts +19 -9
- package/src/packageScript.ts +67 -18
- package/src/requireDependency.ts +84 -31
- package/src/standardTsconfig.ts +26 -26
- package/src/util/zodSchemas.ts +15 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"REMOVE.d.ts","sourceRoot":"","sources":["../../src/REMOVE.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,eAAoC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alphabeticalDependencies.spec.d.ts","sourceRoot":"","sources":["../../../src/__tests__/alphabeticalDependencies.spec.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forceError.spec.d.ts","sourceRoot":"","sources":["../../../src/__tests__/forceError.spec.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oncePerPackage.spec.d.ts","sourceRoot":"","sources":["../../../src/__tests__/oncePerPackage.spec.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standardTsconfig.spec.d.ts","sourceRoot":"","sources":["../../../src/__tests__/standardTsconfig.spec.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -4,40 +4,16 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
declare const Options:
|
|
9
|
-
bannedDependencies:
|
|
10
|
-
glob:
|
|
11
|
-
exact:
|
|
12
|
-
},
|
|
13
|
-
bannedTransitiveDependencies:
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
glob: r.Optional<r.Array<r.String, false>>;
|
|
17
|
-
exact: r.Optional<r.Array<r.String, false>>;
|
|
18
|
-
}, false>]>>;
|
|
19
|
-
bannedTransitiveDependencies: r.Array<r.String, false>;
|
|
20
|
-
}, false>, r.Record<{
|
|
21
|
-
bannedDependencies: r.Optional<r.Union<[r.Array<r.String, false>, r.Record<{
|
|
22
|
-
glob: r.Optional<r.Array<r.String, false>>;
|
|
23
|
-
exact: r.Optional<r.Array<r.String, false>>;
|
|
24
|
-
}, false>]>>;
|
|
25
|
-
bannedTransitiveDependencies: r.Optional<r.Array<r.String, false>>;
|
|
26
|
-
}, false>]>;
|
|
27
|
-
export type Options = r.Static<typeof Options>;
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
declare const Options: z.ZodObject<{
|
|
9
|
+
bannedDependencies: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
10
|
+
glob: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
exact: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>]>>;
|
|
13
|
+
bannedTransitiveDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type Options = z.infer<typeof Options>;
|
|
28
16
|
export declare const bannedDependencies: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
29
|
-
bannedDependencies: string[] | {
|
|
30
|
-
glob?: string[] | undefined;
|
|
31
|
-
exact?: string[] | undefined;
|
|
32
|
-
};
|
|
33
|
-
bannedTransitiveDependencies?: undefined;
|
|
34
|
-
} | {
|
|
35
|
-
bannedTransitiveDependencies: string[];
|
|
36
|
-
bannedDependencies?: string[] | {
|
|
37
|
-
glob?: string[] | undefined;
|
|
38
|
-
exact?: string[] | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
} | {
|
|
41
17
|
bannedDependencies?: string[] | {
|
|
42
18
|
glob?: string[] | undefined;
|
|
43
19
|
exact?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bannedDependencies.d.ts","sourceRoot":"","sources":["../../src/bannedDependencies.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"bannedDependencies.d.ts","sourceRoot":"","sources":["../../src/bannedDependencies.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,QAAA,MAAM,OAAO;;;;;;iBAGX,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAU9C,eAAO,MAAM,kBAAkB;;;;;;EAmE7B,CAAC"}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
declare const Options:
|
|
9
|
-
ignoredDependencies:
|
|
10
|
-
},
|
|
11
|
-
export type Options =
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
declare const Options: z.ZodUnion<readonly [z.ZodUndefined, z.ZodObject<{
|
|
9
|
+
ignoredDependencies: z.ZodArray<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>]>;
|
|
11
|
+
export type Options = z.infer<typeof Options>;
|
|
12
12
|
export declare const consistentDependencies: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
13
|
-
ignoredDependencies: string[]
|
|
13
|
+
ignoredDependencies: string[];
|
|
14
14
|
} | undefined>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=consistentDependencies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consistentDependencies.d.ts","sourceRoot":"","sources":["../../src/consistentDependencies.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"file":"consistentDependencies.d.ts","sourceRoot":"","sources":["../../src/consistentDependencies.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,QAAA,MAAM,OAAO;;mBAKX,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAI9C,eAAO,MAAM,sBAAsB;;cAQjC,CAAC"}
|
|
@@ -4,16 +4,12 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
export declare const Options:
|
|
9
|
-
matchDependencyVersions:
|
|
10
|
-
},
|
|
11
|
-
export type Options =
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
export declare const Options: z.ZodObject<{
|
|
9
|
+
matchDependencyVersions: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type Options = z.infer<typeof Options>;
|
|
12
12
|
export declare const consistentVersions: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
13
|
-
matchDependencyVersions:
|
|
14
|
-
[x: string]: string | string[];
|
|
15
|
-
[x: number]: string | string[];
|
|
16
|
-
[x: symbol]: string | string[];
|
|
17
|
-
};
|
|
13
|
+
matchDependencyVersions: Record<string, string | string[]>;
|
|
18
14
|
}>;
|
|
19
15
|
//# sourceMappingURL=consistentVersions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consistentVersions.d.ts","sourceRoot":"","sources":["../../src/consistentVersions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"consistentVersions.d.ts","sourceRoot":"","sources":["../../src/consistentVersions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,OAAO;;iBAElB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,kBAAkB;;EAI7B,CAAC"}
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
import { Context } from "@monorepolint/config";
|
|
8
|
+
import { REMOVE } from "./REMOVE.js";
|
|
8
9
|
export declare const fileContents: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
9
10
|
file: string;
|
|
10
|
-
generator: (context: Context) => string | Promise<string>;
|
|
11
|
+
generator: (context: Context) => string | typeof REMOVE | Promise<string | typeof REMOVE>;
|
|
11
12
|
template?: undefined;
|
|
12
13
|
templateFile?: undefined;
|
|
13
14
|
} | {
|
|
14
15
|
file: string;
|
|
15
|
-
template: string |
|
|
16
|
+
template: string | typeof REMOVE;
|
|
16
17
|
generator?: undefined;
|
|
17
18
|
templateFile?: undefined;
|
|
18
19
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileContents.d.ts","sourceRoot":"","sources":["../../src/fileContents.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"fileContents.d.ts","sourceRoot":"","sources":["../../src/fileContents.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAI/C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAkCrC,eAAO,MAAM,YAAY;;yBA1BT,OAAO,KAAK,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,OAAO,MAAM,CAAC;;;;;;;;;;;;;EA2ElF,CAAC"}
|
package/build/types/index.d.ts
CHANGED
|
@@ -20,4 +20,5 @@ export { packageScript } from "./packageScript.js";
|
|
|
20
20
|
export { requireDependency } from "./requireDependency.js";
|
|
21
21
|
export { standardTsconfig } from "./standardTsconfig.js";
|
|
22
22
|
export { createRuleFactory, RuleCheckFn, RuleFactoryFn, RuleFactoryOptions, ValidateOptionsFn, } from "./util/createRuleFactory.js";
|
|
23
|
+
export { REMOVE } from "./REMOVE.js";
|
|
23
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -4,197 +4,19 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
declare const Options:
|
|
9
|
-
skipUnparseableRanges:
|
|
10
|
-
dependencyWhitelist:
|
|
11
|
-
dependencyBlacklist:
|
|
12
|
-
enforceForDevDependencies:
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
}, false>, r.Partial<{
|
|
16
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
17
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
18
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
19
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
20
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
21
|
-
}, false>, r.Partial<{
|
|
22
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
23
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
24
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
25
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
26
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
27
|
-
}, false>, r.Partial<{
|
|
28
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
29
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
30
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
31
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
32
|
-
enforceForDevDependencies: r.Boolean;
|
|
33
|
-
}, false>, r.Partial<{
|
|
34
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
35
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
36
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
37
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
38
|
-
skipUnparseableRanges: r.Boolean;
|
|
39
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
40
|
-
}, false>, r.Partial<{
|
|
41
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
42
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
43
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
44
|
-
skipUnparseableRanges: r.Boolean;
|
|
45
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
46
|
-
}, false>, r.Partial<{
|
|
47
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
48
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
49
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
50
|
-
skipUnparseableRanges: r.Boolean;
|
|
51
|
-
enforceForDevDependencies: r.Boolean;
|
|
52
|
-
}, false>, r.Partial<{
|
|
53
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
54
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
55
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
56
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
57
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
58
|
-
}, false>, r.Partial<{
|
|
59
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
60
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
61
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
62
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
63
|
-
enforceForDevDependencies: r.Boolean;
|
|
64
|
-
}, false>, r.Partial<{
|
|
65
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
66
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
67
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
68
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
69
|
-
enforceForDevDependencies: r.Boolean;
|
|
70
|
-
}, false>, r.Partial<{
|
|
71
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
72
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
73
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
74
|
-
skipUnparseableRanges: r.Boolean;
|
|
75
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
76
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
77
|
-
}, false>, r.Partial<{
|
|
78
|
-
enforceForDevDependencies: r.Literal<undefined>;
|
|
79
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
80
|
-
skipUnparseableRanges: r.Boolean;
|
|
81
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
82
|
-
enforceForDevDependencies: r.Boolean;
|
|
83
|
-
}, false>, r.Partial<{
|
|
84
|
-
dependencyBlacklist: r.Literal<undefined>;
|
|
85
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
86
|
-
skipUnparseableRanges: r.Boolean;
|
|
87
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
88
|
-
enforceForDevDependencies: r.Boolean;
|
|
89
|
-
}, false>, r.Partial<{
|
|
90
|
-
dependencyWhitelist: r.Literal<undefined>;
|
|
91
|
-
}, false>]>, r.Intersect<[r.Record<{
|
|
92
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
93
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
94
|
-
enforceForDevDependencies: r.Boolean;
|
|
95
|
-
}, false>, r.Partial<{
|
|
96
|
-
skipUnparseableRanges: r.Literal<undefined>;
|
|
97
|
-
}, false>]>, r.Record<{
|
|
98
|
-
skipUnparseableRanges: r.Boolean;
|
|
99
|
-
dependencyWhitelist: r.Array<r.String, false>;
|
|
100
|
-
dependencyBlacklist: r.Array<r.String, false>;
|
|
101
|
-
enforceForDevDependencies: r.Boolean;
|
|
102
|
-
}, false>]>;
|
|
103
|
-
export type Options = r.Static<typeof Options>;
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
declare const Options: z.ZodObject<{
|
|
9
|
+
skipUnparseableRanges: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
dependencyWhitelist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
dependencyBlacklist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
enforceForDevDependencies: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type Options = z.infer<typeof Options>;
|
|
104
15
|
export declare const mustSatisfyPeerDependencies: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
105
|
-
skipUnparseableRanges?: undefined;
|
|
106
|
-
dependencyWhitelist?: undefined;
|
|
107
|
-
dependencyBlacklist?: undefined;
|
|
108
|
-
enforceForDevDependencies?: undefined;
|
|
109
|
-
} | ({
|
|
110
|
-
skipUnparseableRanges: boolean;
|
|
111
|
-
} & {
|
|
112
|
-
dependencyWhitelist?: undefined;
|
|
113
|
-
dependencyBlacklist?: undefined;
|
|
114
|
-
enforceForDevDependencies?: undefined;
|
|
115
|
-
}) | ({
|
|
116
|
-
dependencyWhitelist: string[];
|
|
117
|
-
} & {
|
|
118
|
-
skipUnparseableRanges?: undefined;
|
|
119
|
-
dependencyBlacklist?: undefined;
|
|
120
|
-
enforceForDevDependencies?: undefined;
|
|
121
|
-
}) | ({
|
|
122
|
-
dependencyBlacklist: string[];
|
|
123
|
-
} & {
|
|
124
|
-
skipUnparseableRanges?: undefined;
|
|
125
|
-
dependencyWhitelist?: undefined;
|
|
126
|
-
enforceForDevDependencies?: undefined;
|
|
127
|
-
}) | ({
|
|
128
|
-
enforceForDevDependencies: boolean;
|
|
129
|
-
} & {
|
|
130
|
-
skipUnparseableRanges?: undefined;
|
|
131
|
-
dependencyWhitelist?: undefined;
|
|
132
|
-
dependencyBlacklist?: undefined;
|
|
133
|
-
}) | ({
|
|
134
|
-
skipUnparseableRanges: boolean;
|
|
135
|
-
dependencyWhitelist: string[];
|
|
136
|
-
} & {
|
|
137
|
-
dependencyBlacklist?: undefined;
|
|
138
|
-
enforceForDevDependencies?: undefined;
|
|
139
|
-
}) | ({
|
|
140
|
-
skipUnparseableRanges: boolean;
|
|
141
|
-
dependencyBlacklist: string[];
|
|
142
|
-
} & {
|
|
143
|
-
dependencyWhitelist?: undefined;
|
|
144
|
-
enforceForDevDependencies?: undefined;
|
|
145
|
-
}) | ({
|
|
146
|
-
skipUnparseableRanges: boolean;
|
|
147
|
-
enforceForDevDependencies: boolean;
|
|
148
|
-
} & {
|
|
149
|
-
dependencyWhitelist?: undefined;
|
|
150
|
-
dependencyBlacklist?: undefined;
|
|
151
|
-
}) | ({
|
|
152
|
-
dependencyWhitelist: string[];
|
|
153
|
-
dependencyBlacklist: string[];
|
|
154
|
-
} & {
|
|
155
|
-
skipUnparseableRanges?: undefined;
|
|
156
|
-
enforceForDevDependencies?: undefined;
|
|
157
|
-
}) | ({
|
|
158
|
-
dependencyWhitelist: string[];
|
|
159
|
-
enforceForDevDependencies: boolean;
|
|
160
|
-
} & {
|
|
161
|
-
skipUnparseableRanges?: undefined;
|
|
162
|
-
dependencyBlacklist?: undefined;
|
|
163
|
-
}) | ({
|
|
164
|
-
dependencyBlacklist: string[];
|
|
165
|
-
enforceForDevDependencies: boolean;
|
|
166
|
-
} & {
|
|
167
|
-
skipUnparseableRanges?: undefined;
|
|
168
|
-
dependencyWhitelist?: undefined;
|
|
169
|
-
}) | ({
|
|
170
|
-
skipUnparseableRanges: boolean;
|
|
171
|
-
dependencyWhitelist: string[];
|
|
172
|
-
dependencyBlacklist: string[];
|
|
173
|
-
} & {
|
|
174
|
-
enforceForDevDependencies?: undefined;
|
|
175
|
-
}) | ({
|
|
176
|
-
skipUnparseableRanges: boolean;
|
|
177
|
-
dependencyWhitelist: string[];
|
|
178
|
-
enforceForDevDependencies: boolean;
|
|
179
|
-
} & {
|
|
180
|
-
dependencyBlacklist?: undefined;
|
|
181
|
-
}) | ({
|
|
182
|
-
skipUnparseableRanges: boolean;
|
|
183
|
-
dependencyBlacklist: string[];
|
|
184
|
-
enforceForDevDependencies: boolean;
|
|
185
|
-
} & {
|
|
186
|
-
dependencyWhitelist?: undefined;
|
|
187
|
-
}) | ({
|
|
188
|
-
dependencyWhitelist: string[];
|
|
189
|
-
dependencyBlacklist: string[];
|
|
190
|
-
enforceForDevDependencies: boolean;
|
|
191
|
-
} & {
|
|
192
|
-
skipUnparseableRanges?: undefined;
|
|
193
|
-
}) | {
|
|
194
|
-
skipUnparseableRanges: boolean;
|
|
195
|
-
dependencyWhitelist: string[];
|
|
196
|
-
dependencyBlacklist: string[];
|
|
197
|
-
enforceForDevDependencies: boolean;
|
|
16
|
+
skipUnparseableRanges?: boolean | undefined;
|
|
17
|
+
dependencyWhitelist?: string[] | undefined;
|
|
18
|
+
dependencyBlacklist?: string[] | undefined;
|
|
19
|
+
enforceForDevDependencies?: boolean | undefined;
|
|
198
20
|
}>;
|
|
199
21
|
/**
|
|
200
22
|
* separating on `|`, this regex allows any of the following formats:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mustSatisfyPeerDependencies.d.ts","sourceRoot":"","sources":["../../src/mustSatisfyPeerDependencies.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"mustSatisfyPeerDependencies.d.ts","sourceRoot":"","sources":["../../src/mustSatisfyPeerDependencies.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,QAAA,MAAM,OAAO;;;;;iBAKX,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,2BAA2B;;;;;EAItC,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,QAAa,CAAC;AAElD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,oCAAoC,QAC0H,CAAC;AAE5K;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,yBAAyB,QACmL,CAAC;AAE1N;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,QACghB,CAAC;AA2RziB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,gBAAgB,CAC9B,CAAC,EAAE,UAAU,EACb,CAAC,EAAE,UAAU,GACZ,UAAU,GAAG,SAAS,CA8FxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAqEnE;AAoBD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,aAAa,CAAA;CAAE,CAAC;AAC3D,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,UAAU,CAEnE"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
export declare const Options:
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
export declare const Options: z.ZodUndefined;
|
|
9
9
|
export declare const nestedWorkspaces: import("./util/createRuleFactory.js").RuleFactoryFn<unknown>;
|
|
10
10
|
//# sourceMappingURL=nestedWorkspaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nestedWorkspaces.d.ts","sourceRoot":"","sources":["../../src/nestedWorkspaces.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"file":"nestedWorkspaces.d.ts","sourceRoot":"","sources":["../../src/nestedWorkspaces.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO,gBAAgB,CAAC;AAKrC,eAAO,MAAM,gBAAgB,8DAmD3B,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const Options:
|
|
3
|
-
singletonKey:
|
|
4
|
-
customMessage:
|
|
5
|
-
},
|
|
6
|
-
export type Options =
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const Options: z.ZodObject<{
|
|
3
|
+
singletonKey: z.ZodUnion<readonly [z.ZodString, z.ZodSymbol]>;
|
|
4
|
+
customMessage: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type Options = z.infer<typeof Options>;
|
|
7
7
|
export declare const oncePerPackage: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
8
8
|
singletonKey: string | symbol;
|
|
9
9
|
customMessage?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oncePerPackage.d.ts","sourceRoot":"","sources":["../../src/oncePerPackage.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"oncePerPackage.d.ts","sourceRoot":"","sources":["../../src/oncePerPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO;;;iBAGlB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAI9C,eAAO,MAAM,cAAc;;;EAmBzB,CAAC"}
|
|
@@ -4,40 +4,18 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
entriesExist:
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
entries
|
|
16
|
-
|
|
17
|
-
entries: r.Dictionary<r.Unknown, string | number | symbol>;
|
|
18
|
-
entriesExist: r.Array<r.String, false>;
|
|
19
|
-
}, false>]>;
|
|
20
|
-
export type Options = r.Static<typeof Options>;
|
|
21
|
-
export declare const packageEntry: import("./util/createRuleFactory.js").RuleFactoryFn<({
|
|
22
|
-
entries: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
[x: number]: unknown;
|
|
25
|
-
[x: symbol]: unknown;
|
|
26
|
-
};
|
|
27
|
-
} & {
|
|
28
|
-
entriesExist?: undefined;
|
|
29
|
-
}) | ({
|
|
30
|
-
entriesExist: string[];
|
|
31
|
-
} & {
|
|
32
|
-
entries?: undefined;
|
|
33
|
-
}) | {
|
|
34
|
-
entries: {
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
[x: number]: unknown;
|
|
37
|
-
[x: symbol]: unknown;
|
|
38
|
-
};
|
|
39
|
-
entriesExist: string[];
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
import { REMOVE } from "./REMOVE.js";
|
|
9
|
+
export declare const Options: z.ZodObject<{
|
|
10
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnknown, z.ZodCustom<typeof REMOVE, typeof REMOVE>]>>>;
|
|
11
|
+
entriesExist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type Options = z.infer<typeof Options>;
|
|
14
|
+
export declare const packageEntry: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
15
|
+
entries?: Record<string, unknown> | undefined;
|
|
16
|
+
entriesExist?: string[] | undefined;
|
|
40
17
|
}>;
|
|
41
18
|
export declare function createStandardizedEntryErrorMessage(key: string): string;
|
|
42
19
|
export declare function createExpectedEntryErrorMessage(key: string): string;
|
|
20
|
+
export declare function createRemovalEntryErrorMessage(key: string): string;
|
|
43
21
|
//# sourceMappingURL=packageEntry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageEntry.d.ts","sourceRoot":"","sources":["../../src/packageEntry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"packageEntry.d.ts","sourceRoot":"","sources":["../../src/packageEntry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIrC,eAAO,MAAM,OAAO;;;iBAMnB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,YAAY;;;EAsEvB,CAAC;AAEH,wBAAgB,mCAAmC,CAAC,GAAG,EAAE,MAAM,UAE9D;AAED,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,UAE1D;AAED,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,MAAM,UAEzD"}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
+
import { z } from "zod";
|
|
7
8
|
export declare const packageOrder: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
8
|
-
order: string[] |
|
|
9
|
+
order: string[] | z.core.$InferOuterFunctionType<z.ZodTuple<readonly [z.ZodAny], null>, z.ZodFunction<z.ZodTuple<readonly [z.ZodString, z.ZodString], null>, z.ZodNumber>>;
|
|
9
10
|
} | undefined>;
|
|
10
11
|
//# sourceMappingURL=packageOrder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageOrder.d.ts","sourceRoot":"","sources":["../../src/packageOrder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"packageOrder.d.ts","sourceRoot":"","sources":["../../src/packageOrder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsDxB,eAAO,MAAM,YAAY;;cAoCvB,CAAC"}
|
|
@@ -4,29 +4,20 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
import { REMOVE } from "./REMOVE.js";
|
|
9
|
+
export declare const Options: z.ZodObject<{
|
|
10
|
+
scripts: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof REMOVE, typeof REMOVE>, z.ZodObject<{
|
|
11
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodUndefined, z.ZodCustom<typeof REMOVE, typeof REMOVE>]>>;
|
|
12
|
+
fixValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodUndefined, z.ZodLiteral<false>, z.ZodCustom<typeof REMOVE, typeof REMOVE>]>>;
|
|
13
|
+
}, z.core.$strip>]>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type Options = z.infer<typeof Options>;
|
|
15
16
|
export declare const MSG_NO_SCRIPTS_BLOCK = "No scripts block in package.json";
|
|
16
17
|
export declare const packageScript: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
17
|
-
scripts: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
[x: number]: string | {
|
|
23
|
-
options: (string | undefined)[];
|
|
24
|
-
fixValue?: string | false | undefined;
|
|
25
|
-
};
|
|
26
|
-
[x: symbol]: string | {
|
|
27
|
-
options: (string | undefined)[];
|
|
28
|
-
fixValue?: string | false | undefined;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
18
|
+
scripts: Record<string, string | typeof REMOVE | {
|
|
19
|
+
options: (string | typeof REMOVE | undefined)[];
|
|
20
|
+
fixValue?: string | false | typeof REMOVE | undefined;
|
|
21
|
+
}>;
|
|
31
22
|
}>;
|
|
32
23
|
//# sourceMappingURL=packageScript.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageScript.d.ts","sourceRoot":"","sources":["../../src/packageScript.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"packageScript.d.ts","sourceRoot":"","sources":["../../src/packageScript.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIrC,eAAO,MAAM,OAAO;;;;;iBAqBlB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,oBAAoB,qCAAqC,CAAC;AAEvE,eAAO,MAAM,aAAa;;;;;EA4HxB,CAAC"}
|
|
@@ -4,26 +4,11 @@
|
|
|
4
4
|
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
+
import { REMOVE } from "./REMOVE.js";
|
|
7
8
|
export declare const requireDependency: import("./util/createRuleFactory.js").RuleFactoryFn<{
|
|
8
|
-
dependencies?:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} | undefined;
|
|
13
|
-
devDependencies?: {
|
|
14
|
-
[x: string]: string | undefined;
|
|
15
|
-
[x: number]: string | undefined;
|
|
16
|
-
[x: symbol]: string | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
peerDependencies?: {
|
|
19
|
-
[x: string]: string | undefined;
|
|
20
|
-
[x: number]: string | undefined;
|
|
21
|
-
[x: symbol]: string | undefined;
|
|
22
|
-
} | undefined;
|
|
23
|
-
optionalDependencies?: {
|
|
24
|
-
[x: string]: string | undefined;
|
|
25
|
-
[x: number]: string | undefined;
|
|
26
|
-
[x: symbol]: string | undefined;
|
|
27
|
-
} | undefined;
|
|
9
|
+
dependencies?: Record<string, string | typeof REMOVE | undefined> | undefined;
|
|
10
|
+
devDependencies?: Record<string, string | typeof REMOVE | undefined> | undefined;
|
|
11
|
+
peerDependencies?: Record<string, string | typeof REMOVE | undefined> | undefined;
|
|
12
|
+
optionalDependencies?: Record<string, string | typeof REMOVE | undefined> | undefined;
|
|
28
13
|
}>;
|
|
29
14
|
//# sourceMappingURL=requireDependency.d.ts.map
|