@dotcom-tool-kit/types
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -51,3 +51,3 @@ import type prompts from 'prompts'; | ||
'@dotcom-tool-kit/eslint': z.ZodObject<{ | ||
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; | ||
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
@@ -58,6 +58,6 @@ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
config?: Record<string, unknown> | undefined; | ||
files: string[]; | ||
files: string | string[]; | ||
}, { | ||
options?: Record<string, unknown> | undefined; | ||
files?: string[] | undefined; | ||
files?: string | string[] | undefined; | ||
config?: Record<string, unknown> | undefined; | ||
@@ -191,3 +191,3 @@ }>; | ||
'@dotcom-tool-kit/prettier': z.ZodObject<{ | ||
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; | ||
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; | ||
configFile: z.ZodOptional<z.ZodString>; | ||
@@ -198,7 +198,7 @@ ignoreFile: z.ZodDefault<z.ZodString>; | ||
configFile?: string | undefined; | ||
files: string[]; | ||
files: string | string[]; | ||
ignoreFile: string; | ||
configOptions: Record<string, unknown>; | ||
}, { | ||
files?: string[] | undefined; | ||
files?: string | string[] | undefined; | ||
configFile?: string | undefined; | ||
@@ -205,0 +205,0 @@ ignoreFile?: string | undefined; |
import { z } from 'zod'; | ||
export declare const ESLintSchema: z.ZodObject<{ | ||
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; | ||
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
@@ -9,6 +9,6 @@ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
config?: Record<string, unknown> | undefined; | ||
files: string[]; | ||
files: string | string[]; | ||
}, { | ||
options?: Record<string, unknown> | undefined; | ||
files?: string[] | undefined; | ||
files?: string | string[] | undefined; | ||
config?: Record<string, unknown> | undefined; | ||
@@ -18,3 +18,3 @@ }>; | ||
export declare const Schema: z.ZodObject<{ | ||
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; | ||
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; | ||
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
@@ -25,8 +25,8 @@ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
config?: Record<string, unknown> | undefined; | ||
files: string[]; | ||
files: string | string[]; | ||
}, { | ||
options?: Record<string, unknown> | undefined; | ||
files?: string[] | undefined; | ||
files?: string | string[] | undefined; | ||
config?: Record<string, unknown> | undefined; | ||
}>; | ||
//# sourceMappingURL=eslint.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
exports.ESLintSchema = zod_1.z.object({ | ||
files: zod_1.z.string().array().default(['**/*.js']), | ||
files: zod_1.z.string().array().or(zod_1.z.string()).default(['**/*.js']), | ||
config: zod_1.z.record(zod_1.z.unknown()).optional(), | ||
@@ -9,0 +9,0 @@ options: zod_1.z.record(zod_1.z.unknown()).optional() |
import { z } from 'zod'; | ||
export declare const PrettierSchema: z.ZodObject<{ | ||
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; | ||
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; | ||
configFile: z.ZodOptional<z.ZodString>; | ||
@@ -9,7 +9,7 @@ ignoreFile: z.ZodDefault<z.ZodString>; | ||
configFile?: string | undefined; | ||
files: string[]; | ||
files: string | string[]; | ||
ignoreFile: string; | ||
configOptions: Record<string, unknown>; | ||
}, { | ||
files?: string[] | undefined; | ||
files?: string | string[] | undefined; | ||
configFile?: string | undefined; | ||
@@ -21,3 +21,3 @@ ignoreFile?: string | undefined; | ||
export declare const Schema: z.ZodObject<{ | ||
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; | ||
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; | ||
configFile: z.ZodOptional<z.ZodString>; | ||
@@ -28,7 +28,7 @@ ignoreFile: z.ZodDefault<z.ZodString>; | ||
configFile?: string | undefined; | ||
files: string[]; | ||
files: string | string[]; | ||
ignoreFile: string; | ||
configOptions: Record<string, unknown>; | ||
}, { | ||
files?: string[] | undefined; | ||
files?: string | string[] | undefined; | ||
configFile?: string | undefined; | ||
@@ -35,0 +35,0 @@ ignoreFile?: string | undefined; |
@@ -6,3 +6,3 @@ "use strict"; | ||
exports.PrettierSchema = zod_1.z.object({ | ||
files: zod_1.z.string().array().default(['**/*.{js,jsx,ts,tsx}']), | ||
files: zod_1.z.string().array().or(zod_1.z.string()).default(['**/*.{js,jsx,ts,tsx}']), | ||
configFile: zod_1.z.string().optional(), | ||
@@ -9,0 +9,0 @@ ignoreFile: zod_1.z.string().default('.prettierignore'), |
{ | ||
"name": "@dotcom-tool-kit/types", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
70837
0