@trigger.dev/core 0.0.0-v3-canary-20240322112439 → 0.0.0-v3-canary-20240322145829

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.
@@ -11783,6 +11783,12 @@ interface ProjectConfig {
11783
11783
  default?: RetryOptions;
11784
11784
  };
11785
11785
  additionalPackages?: string[];
11786
+ /**
11787
+ * List of additional files to include in your trigger.dev bundle. e.g. ["./prisma/schema.prisma"]
11788
+ *
11789
+ * Supports glob patterns.
11790
+ */
11791
+ additionalFiles?: string[];
11786
11792
  /**
11787
11793
  * List of patterns that determine if a module is included in your trigger.dev bundle. This is needed when consuming ESM only packages, since the trigger.dev bundle is currently built as a CJS module.
11788
11794
  */
@@ -11886,6 +11892,7 @@ declare const Config: z.ZodObject<{
11886
11892
  } | undefined;
11887
11893
  }>>;
11888
11894
  additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11895
+ additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11889
11896
  dependenciesToBundle: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
11890
11897
  }, "strip", z.ZodTypeAny, {
11891
11898
  project: string;
@@ -11904,6 +11911,7 @@ declare const Config: z.ZodObject<{
11904
11911
  } | undefined;
11905
11912
  } | undefined;
11906
11913
  additionalPackages?: string[] | undefined;
11914
+ additionalFiles?: string[] | undefined;
11907
11915
  dependenciesToBundle?: (string | RegExp)[] | undefined;
11908
11916
  }, {
11909
11917
  project: string;
@@ -11922,6 +11930,7 @@ declare const Config: z.ZodObject<{
11922
11930
  } | undefined;
11923
11931
  } | undefined;
11924
11932
  additionalPackages?: string[] | undefined;
11933
+ additionalFiles?: string[] | undefined;
11925
11934
  dependenciesToBundle?: (string | RegExp)[] | undefined;
11926
11935
  }>;
11927
11936
  type Config = z.infer<typeof Config>;
@@ -11783,6 +11783,12 @@ interface ProjectConfig {
11783
11783
  default?: RetryOptions;
11784
11784
  };
11785
11785
  additionalPackages?: string[];
11786
+ /**
11787
+ * List of additional files to include in your trigger.dev bundle. e.g. ["./prisma/schema.prisma"]
11788
+ *
11789
+ * Supports glob patterns.
11790
+ */
11791
+ additionalFiles?: string[];
11786
11792
  /**
11787
11793
  * List of patterns that determine if a module is included in your trigger.dev bundle. This is needed when consuming ESM only packages, since the trigger.dev bundle is currently built as a CJS module.
11788
11794
  */
@@ -11886,6 +11892,7 @@ declare const Config: z.ZodObject<{
11886
11892
  } | undefined;
11887
11893
  }>>;
11888
11894
  additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11895
+ additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11889
11896
  dependenciesToBundle: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
11890
11897
  }, "strip", z.ZodTypeAny, {
11891
11898
  project: string;
@@ -11904,6 +11911,7 @@ declare const Config: z.ZodObject<{
11904
11911
  } | undefined;
11905
11912
  } | undefined;
11906
11913
  additionalPackages?: string[] | undefined;
11914
+ additionalFiles?: string[] | undefined;
11907
11915
  dependenciesToBundle?: (string | RegExp)[] | undefined;
11908
11916
  }, {
11909
11917
  project: string;
@@ -11922,6 +11930,7 @@ declare const Config: z.ZodObject<{
11922
11930
  } | undefined;
11923
11931
  } | undefined;
11924
11932
  additionalPackages?: string[] | undefined;
11933
+ additionalFiles?: string[] | undefined;
11925
11934
  dependenciesToBundle?: (string | RegExp)[] | undefined;
11926
11935
  }>;
11927
11936
  type Config = z.infer<typeof Config>;
package/dist/v3/index.js CHANGED
@@ -666,6 +666,7 @@ var Config = zod.z.object({
666
666
  default: RetryOptions.optional()
667
667
  }).optional(),
668
668
  additionalPackages: zod.z.string().array().optional(),
669
+ additionalFiles: zod.z.string().array().optional(),
669
670
  dependenciesToBundle: zod.z.array(zod.z.union([
670
671
  zod.z.string(),
671
672
  RegexSchema