Skip to content

@stephansama packages / @stephansama/multipublish / jsr / jsrTransformer

Variable: jsrTransformer

ts
const jsrTransformer: ZodPipe<ZodObject<{
  exports: ZodUnion<[ZodString, ZodRecord<ZodString, ZodUnion<[ZodString, ZodObject<{
     import: ZodUnion<...>;
     require: ZodUnion<...>;
  }, $strip>]>>]>;
  license: ZodOptional<ZodString>;
  name: ZodString;
  version: ZodString;
}, $strip>, ZodTransform<{
  exports:   | string
     | {
   [k: string]: string;
   };
  license: string | undefined;
  name: string;
  version: string;
}, {
  exports:   | string
     | Record<string, 
     | string
     | {
     import:   | string
        | {
        default: string;
      };
     require:   | string
        | {
        default: string;
      };
   }>;
  license?: string;
  name: string;
  version: string;
}>>;

Defined in: core/multipublish/src/jsr.ts:29

Released under MIT license