@sanlam-fintech-digital/mfe-platform-cli 0.2.7 → 0.2.8
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/dist/types/config.d.ts +6 -6
- package/dist/types/config.js +1 -1
- package/package.json +1 -1
package/dist/types/config.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type FeedType = z.infer<typeof FeedTypeSchema>;
|
|
|
12
12
|
*/
|
|
13
13
|
declare const RegistryEntrySchema: z.ZodObject<{
|
|
14
14
|
scope: z.ZodString;
|
|
15
|
-
url: z.ZodURL
|
|
15
|
+
url: z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>;
|
|
16
16
|
feedType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
17
17
|
npm: "npm";
|
|
18
18
|
nuget: "nuget";
|
|
@@ -27,7 +27,7 @@ declare const AuthGroupSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
27
27
|
tenantId: z.ZodString;
|
|
28
28
|
registries: z.ZodArray<z.ZodObject<{
|
|
29
29
|
scope: z.ZodString;
|
|
30
|
-
url: z.ZodURL
|
|
30
|
+
url: z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>;
|
|
31
31
|
feedType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
32
32
|
npm: "npm";
|
|
33
33
|
nuget: "nuget";
|
|
@@ -40,7 +40,7 @@ declare const AuthGroupSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
40
40
|
tenantId: z.ZodOptional<z.ZodNever>;
|
|
41
41
|
registries: z.ZodArray<z.ZodObject<{
|
|
42
42
|
scope: z.ZodString;
|
|
43
|
-
url: z.ZodURL
|
|
43
|
+
url: z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>;
|
|
44
44
|
feedType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
45
45
|
npm: "npm";
|
|
46
46
|
nuget: "nuget";
|
|
@@ -58,7 +58,7 @@ export declare const RegistryConfigSchema: z.ZodObject<{
|
|
|
58
58
|
tenantId: z.ZodString;
|
|
59
59
|
registries: z.ZodArray<z.ZodObject<{
|
|
60
60
|
scope: z.ZodString;
|
|
61
|
-
url: z.ZodURL
|
|
61
|
+
url: z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>;
|
|
62
62
|
feedType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
63
63
|
npm: "npm";
|
|
64
64
|
nuget: "nuget";
|
|
@@ -71,7 +71,7 @@ export declare const RegistryConfigSchema: z.ZodObject<{
|
|
|
71
71
|
tenantId: z.ZodOptional<z.ZodNever>;
|
|
72
72
|
registries: z.ZodArray<z.ZodObject<{
|
|
73
73
|
scope: z.ZodString;
|
|
74
|
-
url: z.ZodURL
|
|
74
|
+
url: z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>;
|
|
75
75
|
feedType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
76
76
|
npm: "npm";
|
|
77
77
|
nuget: "nuget";
|
|
@@ -80,7 +80,7 @@ export declare const RegistryConfigSchema: z.ZodObject<{
|
|
|
80
80
|
}, z.core.$strip>]>>>;
|
|
81
81
|
registries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
82
|
scope: z.ZodString;
|
|
83
|
-
url: z.ZodURL
|
|
83
|
+
url: z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>;
|
|
84
84
|
feedType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
85
85
|
npm: "npm";
|
|
86
86
|
nuget: "nuget";
|
package/dist/types/config.js
CHANGED
|
@@ -11,7 +11,7 @@ const FeedTypeSchema = zod_1.z.enum(['npm', 'nuget']).default('npm');
|
|
|
11
11
|
*/
|
|
12
12
|
const RegistryEntrySchema = zod_1.z.object({
|
|
13
13
|
scope: zod_1.z.string().describe('npm scope (e.g., "@org/package") or NuGet source name'),
|
|
14
|
-
url: zod_1.z.url().describe('Registry/Feed URL (Azure DevOps, GitHub, or public)'),
|
|
14
|
+
url: zod_1.z.url().describe('Registry/Feed URL (Azure DevOps, GitHub, or public)').transform((url) => url.replace(/\/+$/, '')),
|
|
15
15
|
feedType: FeedTypeSchema.optional().describe('Package feed type (defaults to npm for backward compatibility)'),
|
|
16
16
|
});
|
|
17
17
|
/**
|