astro 5.16.0 → 5.16.2

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.
Files changed (105) hide show
  1. package/astro-jsx.d.ts +11 -0
  2. package/dist/assets/fonts/definitions.d.ts +0 -18
  3. package/dist/assets/fonts/infra/build-remote-font-provider-mod-resolver.d.ts +2 -0
  4. package/dist/assets/fonts/infra/build-remote-font-provider-mod-resolver.js +10 -0
  5. package/dist/assets/fonts/infra/{url-proxy-hash-resolver.d.ts → build-url-proxy-hash-resolver.d.ts} +0 -3
  6. package/dist/assets/fonts/infra/build-url-proxy-hash-resolver.js +13 -0
  7. package/dist/assets/fonts/infra/{url-resolver.d.ts → build-url-resolver.d.ts} +0 -4
  8. package/dist/assets/fonts/infra/{url-resolver.js → build-url-resolver.js} +1 -22
  9. package/dist/assets/fonts/infra/{font-fetcher.d.ts → cached-font-fetcher.d.ts} +2 -3
  10. package/dist/assets/fonts/infra/{font-fetcher.js → cached-font-fetcher.js} +8 -6
  11. package/dist/assets/fonts/infra/{remote-font-provider-mod-resolver.d.ts → dev-remote-font-provider-mod-resolver.d.ts} +0 -1
  12. package/dist/assets/fonts/infra/{remote-font-provider-mod-resolver.js → dev-remote-font-provider-mod-resolver.js} +0 -8
  13. package/dist/assets/fonts/infra/dev-url-proxy-hash-resolver.d.ts +5 -0
  14. package/dist/assets/fonts/infra/{url-proxy-hash-resolver.js → dev-url-proxy-hash-resolver.js} +3 -14
  15. package/dist/assets/fonts/infra/dev-url-resolver.d.ts +5 -0
  16. package/dist/assets/fonts/infra/dev-url-resolver.js +25 -0
  17. package/dist/assets/fonts/infra/font-type-extractor.d.ts +2 -4
  18. package/dist/assets/fonts/infra/font-type-extractor.js +9 -8
  19. package/dist/assets/fonts/infra/fontace-font-file-reader.d.ts +2 -0
  20. package/dist/assets/fonts/infra/fontace-font-file-reader.js +27 -0
  21. package/dist/assets/fonts/infra/remote-font-provider-resolver.d.ts +2 -3
  22. package/dist/assets/fonts/infra/remote-font-provider-resolver.js +10 -12
  23. package/dist/assets/fonts/infra/url-proxy-content-resolver.d.ts +2 -4
  24. package/dist/assets/fonts/infra/url-proxy-content-resolver.js +3 -8
  25. package/dist/assets/fonts/infra/xxhash-hasher.d.ts +2 -0
  26. package/dist/assets/fonts/infra/{hasher.js → xxhash-hasher.js} +2 -2
  27. package/dist/assets/fonts/vite-plugin-fonts.js +23 -31
  28. package/dist/assets/utils/remotePattern.d.ts +1 -3
  29. package/dist/cli/create-key/infra/crypto-key-generator.d.ts +3 -1
  30. package/dist/cli/create-key/infra/crypto-key-generator.js +7 -9
  31. package/dist/cli/definitions.d.ts +9 -8
  32. package/dist/cli/docs/infra/process-cloud-ide-provider.d.ts +4 -1
  33. package/dist/cli/docs/infra/process-cloud-ide-provider.js +3 -7
  34. package/dist/cli/index.js +35 -36
  35. package/dist/cli/info/core/get-package-manager.js +14 -15
  36. package/dist/cli/info/definitions.d.ts +3 -3
  37. package/dist/cli/info/infra/bun-package-manager.d.ts +4 -1
  38. package/dist/cli/info/infra/bun-package-manager.js +6 -10
  39. package/dist/cli/info/infra/cli-astro-config-resolver.d.ts +7 -4
  40. package/dist/cli/info/infra/cli-astro-config-resolver.js +32 -29
  41. package/dist/cli/info/infra/cli-clipboard.d.ts +9 -7
  42. package/dist/cli/info/infra/cli-clipboard.js +48 -37
  43. package/dist/cli/info/infra/cli-debug-info-provider.d.ts +11 -8
  44. package/dist/cli/info/infra/cli-debug-info-provider.js +46 -36
  45. package/dist/cli/info/infra/dev-debug-info-provider.d.ts +12 -9
  46. package/dist/cli/info/infra/dev-debug-info-provider.js +33 -23
  47. package/dist/cli/info/infra/noop-package-manager.d.ts +4 -1
  48. package/dist/cli/info/infra/noop-package-manager.js +6 -10
  49. package/dist/cli/info/infra/npm-package-manager.d.ts +7 -4
  50. package/dist/cli/info/infra/npm-package-manager.js +25 -25
  51. package/dist/cli/info/infra/pnpm-package-manager.d.ts +7 -4
  52. package/dist/cli/info/infra/pnpm-package-manager.js +24 -24
  53. package/dist/cli/info/infra/process-node-version-provider.d.ts +3 -1
  54. package/dist/cli/info/infra/process-node-version-provider.js +3 -7
  55. package/dist/cli/info/infra/process-package-manager-user-agent-provider.d.ts +3 -1
  56. package/dist/cli/info/infra/process-package-manager-user-agent-provider.js +4 -7
  57. package/dist/cli/info/infra/prompts-prompt.d.ts +9 -4
  58. package/dist/cli/info/infra/prompts-prompt.js +20 -15
  59. package/dist/cli/info/infra/styled-debug-info-formatter.d.ts +7 -4
  60. package/dist/cli/info/infra/styled-debug-info-formatter.js +23 -19
  61. package/dist/cli/info/infra/yarn-package-manager.d.ts +7 -4
  62. package/dist/cli/info/infra/yarn-package-manager.js +21 -21
  63. package/dist/cli/infra/build-time-astro-version-provider.d.ts +3 -1
  64. package/dist/cli/infra/build-time-astro-version-provider.js +4 -8
  65. package/dist/cli/infra/cli-command-runner.d.ts +7 -4
  66. package/dist/cli/infra/cli-command-runner.js +14 -10
  67. package/dist/cli/infra/logger-help-display.d.ts +11 -7
  68. package/dist/cli/infra/logger-help-display.js +62 -50
  69. package/dist/cli/infra/passthrough-text-styler.d.ts +8 -1
  70. package/dist/cli/infra/passthrough-text-styler.js +20 -10
  71. package/dist/cli/infra/piccolore-text-styler.d.ts +1 -1
  72. package/dist/cli/infra/piccolore-text-styler.js +2 -4
  73. package/dist/cli/infra/process-operating-system-provider.d.ts +5 -1
  74. package/dist/cli/infra/process-operating-system-provider.js +8 -16
  75. package/dist/cli/infra/tinyexec-command-executor.d.ts +6 -2
  76. package/dist/cli/infra/tinyexec-command-executor.js +28 -30
  77. package/dist/content/content-layer.js +3 -3
  78. package/dist/content/utils.d.ts +10 -10
  79. package/dist/core/app/index.js +3 -1
  80. package/dist/core/config/schemas/base.d.ts +72 -72
  81. package/dist/core/config/schemas/relative.d.ts +98 -98
  82. package/dist/core/constants.js +1 -1
  83. package/dist/core/csp/config.d.ts +1 -1
  84. package/dist/core/dev/dev.js +1 -1
  85. package/dist/core/errors/errors.js +7 -7
  86. package/dist/core/messages.js +2 -2
  87. package/dist/core/sync/index.js +20 -1
  88. package/dist/env/schema.d.ts +44 -44
  89. package/dist/types/public/context.d.ts +10 -1
  90. package/dist/vite-plugin-astro/index.js +5 -1
  91. package/dist/vite-plugin-astro-server/plugin.js +16 -16
  92. package/package.json +7 -7
  93. package/dist/assets/fonts/infra/error-handler.d.ts +0 -2
  94. package/dist/assets/fonts/infra/error-handler.js +0 -41
  95. package/dist/assets/fonts/infra/font-file-reader.d.ts +0 -4
  96. package/dist/assets/fonts/infra/font-file-reader.js +0 -26
  97. package/dist/assets/fonts/infra/hasher.d.ts +0 -2
  98. /package/dist/assets/fonts/infra/{font-metrics-resolver.d.ts → capsize-font-metrics-resolver.d.ts} +0 -0
  99. /package/dist/assets/fonts/infra/{font-metrics-resolver.js → capsize-font-metrics-resolver.js} +0 -0
  100. /package/dist/assets/fonts/infra/{storage.d.ts → fs-storage.d.ts} +0 -0
  101. /package/dist/assets/fonts/infra/{storage.js → fs-storage.js} +0 -0
  102. /package/dist/assets/fonts/infra/{css-renderer.d.ts → minifiable-css-renderer.d.ts} +0 -0
  103. /package/dist/assets/fonts/infra/{css-renderer.js → minifiable-css-renderer.js} +0 -0
  104. /package/dist/assets/fonts/infra/{local-provider-url-resolver.d.ts → require-local-provider-url-resolver.d.ts} +0 -0
  105. /package/dist/assets/fonts/infra/{local-provider-url-resolver.js → require-local-provider-url-resolver.js} +0 -0
@@ -178,10 +178,10 @@ export declare const AstroConfigSchema: z.ZodObject<{
178
178
  open: string | boolean;
179
179
  headers?: OutgoingHttpHeaders | undefined;
180
180
  }, {
181
- headers?: OutgoingHttpHeaders | undefined;
182
181
  host?: string | boolean | undefined;
183
182
  port?: number | undefined;
184
183
  allowedHosts?: true | string[] | undefined;
184
+ headers?: OutgoingHttpHeaders | undefined;
185
185
  open?: string | boolean | undefined;
186
186
  }>>, {
187
187
  host: string | boolean;
@@ -205,10 +205,10 @@ export declare const AstroConfigSchema: z.ZodObject<{
205
205
  defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
206
206
  }, "strip", z.ZodTypeAny, {
207
207
  prefetchAll?: boolean | undefined;
208
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
208
+ defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
209
209
  }, {
210
210
  prefetchAll?: boolean | undefined;
211
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
211
+ defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
212
212
  }>]>>;
213
213
  image: z.ZodDefault<z.ZodObject<{
214
214
  endpoint: z.ZodDefault<z.ZodObject<{
@@ -254,11 +254,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
254
254
  breakpoints: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
255
255
  responsiveStyles: z.ZodDefault<z.ZodBoolean>;
256
256
  }, "strip", z.ZodTypeAny, {
257
+ responsiveStyles: boolean;
257
258
  endpoint: {
258
259
  route: string;
259
260
  entrypoint?: string | undefined;
260
261
  };
261
- responsiveStyles: boolean;
262
262
  service: {
263
263
  entrypoint: string;
264
264
  config: Record<string, any>;
@@ -275,11 +275,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
275
275
  objectPosition?: string | undefined;
276
276
  breakpoints?: number[] | undefined;
277
277
  }, {
278
+ responsiveStyles?: boolean | undefined;
278
279
  endpoint?: {
279
280
  entrypoint?: string | undefined;
280
281
  route?: string | undefined;
281
282
  } | undefined;
282
- responsiveStyles?: boolean | undefined;
283
283
  service?: {
284
284
  entrypoint?: string | undefined;
285
285
  config?: Record<string, any> | undefined;
@@ -520,22 +520,22 @@ export declare const AstroConfigSchema: z.ZodObject<{
520
520
  type: "string";
521
521
  length?: number | undefined;
522
522
  includes?: string | undefined;
523
- url?: boolean | undefined;
524
- default?: string | undefined;
525
523
  optional?: boolean | undefined;
524
+ url?: boolean | undefined;
526
525
  endsWith?: string | undefined;
527
526
  startsWith?: string | undefined;
527
+ default?: string | undefined;
528
528
  max?: number | undefined;
529
529
  min?: number | undefined;
530
530
  }, {
531
531
  type: "string";
532
532
  length?: number | undefined;
533
533
  includes?: string | undefined;
534
- url?: boolean | undefined;
535
- default?: string | undefined;
536
534
  optional?: boolean | undefined;
535
+ url?: boolean | undefined;
537
536
  endsWith?: string | undefined;
538
537
  startsWith?: string | undefined;
538
+ default?: string | undefined;
539
539
  max?: number | undefined;
540
540
  min?: number | undefined;
541
541
  }>, z.ZodObject<{
@@ -549,8 +549,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
549
549
  int: z.ZodOptional<z.ZodBoolean>;
550
550
  }, "strip", z.ZodTypeAny, {
551
551
  type: "number";
552
- default?: number | undefined;
553
552
  optional?: boolean | undefined;
553
+ default?: number | undefined;
554
554
  max?: number | undefined;
555
555
  min?: number | undefined;
556
556
  gt?: number | undefined;
@@ -558,8 +558,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
558
558
  int?: boolean | undefined;
559
559
  }, {
560
560
  type: "number";
561
- default?: number | undefined;
562
561
  optional?: boolean | undefined;
562
+ default?: number | undefined;
563
563
  max?: number | undefined;
564
564
  min?: number | undefined;
565
565
  gt?: number | undefined;
@@ -571,37 +571,37 @@ export declare const AstroConfigSchema: z.ZodObject<{
571
571
  default: z.ZodOptional<z.ZodBoolean>;
572
572
  }, "strip", z.ZodTypeAny, {
573
573
  type: "boolean";
574
- default?: boolean | undefined;
575
574
  optional?: boolean | undefined;
575
+ default?: boolean | undefined;
576
576
  }, {
577
577
  type: "boolean";
578
- default?: boolean | undefined;
579
578
  optional?: boolean | undefined;
579
+ default?: boolean | undefined;
580
580
  }>, z.ZodEffects<z.ZodObject<{
581
581
  type: z.ZodLiteral<"enum">;
582
582
  values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
583
583
  optional: z.ZodOptional<z.ZodBoolean>;
584
584
  default: z.ZodOptional<z.ZodString>;
585
585
  }, "strip", z.ZodTypeAny, {
586
- values: string[];
587
586
  type: "enum";
588
- default?: string | undefined;
587
+ values: string[];
589
588
  optional?: boolean | undefined;
589
+ default?: string | undefined;
590
590
  }, {
591
- values: string[];
592
591
  type: "enum";
593
- default?: string | undefined;
592
+ values: string[];
594
593
  optional?: boolean | undefined;
594
+ default?: string | undefined;
595
595
  }>, {
596
- values: string[];
597
596
  type: "enum";
598
- default?: string | undefined;
597
+ values: string[];
599
598
  optional?: boolean | undefined;
599
+ default?: string | undefined;
600
600
  }, {
601
- values: string[];
602
601
  type: "enum";
603
- default?: string | undefined;
602
+ values: string[];
604
603
  optional?: boolean | undefined;
604
+ default?: string | undefined;
605
605
  }>]>>>>>;
606
606
  validateSecrets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
607
607
  }, "strict", z.ZodTypeAny, {
@@ -619,17 +619,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
619
619
  type: "string";
620
620
  length?: number | undefined;
621
621
  includes?: string | undefined;
622
- url?: boolean | undefined;
623
- default?: string | undefined;
624
622
  optional?: boolean | undefined;
623
+ url?: boolean | undefined;
625
624
  endsWith?: string | undefined;
626
625
  startsWith?: string | undefined;
626
+ default?: string | undefined;
627
627
  max?: number | undefined;
628
628
  min?: number | undefined;
629
629
  } | {
630
630
  type: "number";
631
- default?: number | undefined;
632
631
  optional?: boolean | undefined;
632
+ default?: number | undefined;
633
633
  max?: number | undefined;
634
634
  min?: number | undefined;
635
635
  gt?: number | undefined;
@@ -637,13 +637,13 @@ export declare const AstroConfigSchema: z.ZodObject<{
637
637
  int?: boolean | undefined;
638
638
  } | {
639
639
  type: "boolean";
640
- default?: boolean | undefined;
641
640
  optional?: boolean | undefined;
641
+ default?: boolean | undefined;
642
642
  } | {
643
- values: string[];
644
643
  type: "enum";
645
- default?: string | undefined;
644
+ values: string[];
646
645
  optional?: boolean | undefined;
646
+ default?: string | undefined;
647
647
  })>;
648
648
  }, {
649
649
  validateSecrets?: boolean | undefined;
@@ -660,17 +660,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
660
660
  type: "string";
661
661
  length?: number | undefined;
662
662
  includes?: string | undefined;
663
- url?: boolean | undefined;
664
- default?: string | undefined;
665
663
  optional?: boolean | undefined;
664
+ url?: boolean | undefined;
666
665
  endsWith?: string | undefined;
667
666
  startsWith?: string | undefined;
667
+ default?: string | undefined;
668
668
  max?: number | undefined;
669
669
  min?: number | undefined;
670
670
  } | {
671
671
  type: "number";
672
- default?: number | undefined;
673
672
  optional?: boolean | undefined;
673
+ default?: number | undefined;
674
674
  max?: number | undefined;
675
675
  min?: number | undefined;
676
676
  gt?: number | undefined;
@@ -678,13 +678,13 @@ export declare const AstroConfigSchema: z.ZodObject<{
678
678
  int?: boolean | undefined;
679
679
  } | {
680
680
  type: "boolean";
681
- default?: boolean | undefined;
682
681
  optional?: boolean | undefined;
682
+ default?: boolean | undefined;
683
683
  } | {
684
- values: string[];
685
684
  type: "enum";
686
- default?: string | undefined;
685
+ values: string[];
687
686
  optional?: boolean | undefined;
687
+ default?: string | undefined;
688
688
  })> | undefined;
689
689
  }>>>;
690
690
  session: z.ZodOptional<z.ZodObject<{
@@ -698,29 +698,29 @@ export declare const AstroConfigSchema: z.ZodObject<{
698
698
  sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
699
699
  secure: z.ZodOptional<z.ZodBoolean>;
700
700
  }, "strip", z.ZodTypeAny, {
701
- path?: string | undefined;
702
701
  name?: string | undefined;
702
+ path?: string | undefined;
703
703
  domain?: string | undefined;
704
704
  maxAge?: number | undefined;
705
705
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
706
706
  secure?: boolean | undefined;
707
707
  }, {
708
- path?: string | undefined;
709
708
  name?: string | undefined;
709
+ path?: string | undefined;
710
710
  domain?: string | undefined;
711
711
  maxAge?: number | undefined;
712
712
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
713
713
  secure?: boolean | undefined;
714
714
  }>, z.ZodString]>, {
715
- path?: string | undefined;
716
715
  name?: string | undefined;
716
+ path?: string | undefined;
717
717
  domain?: string | undefined;
718
718
  maxAge?: number | undefined;
719
719
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
720
720
  secure?: boolean | undefined;
721
721
  }, string | {
722
- path?: string | undefined;
723
722
  name?: string | undefined;
723
+ path?: string | undefined;
724
724
  domain?: string | undefined;
725
725
  maxAge?: number | undefined;
726
726
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -728,29 +728,29 @@ export declare const AstroConfigSchema: z.ZodObject<{
728
728
  }>>;
729
729
  ttl: z.ZodOptional<z.ZodNumber>;
730
730
  }, "strip", z.ZodTypeAny, {
731
- ttl?: number | undefined;
732
731
  options?: Record<string, any> | undefined;
733
732
  driver?: string | undefined;
734
733
  cookie?: {
735
- path?: string | undefined;
736
734
  name?: string | undefined;
735
+ path?: string | undefined;
737
736
  domain?: string | undefined;
738
737
  maxAge?: number | undefined;
739
738
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
740
739
  secure?: boolean | undefined;
741
740
  } | undefined;
742
- }, {
743
741
  ttl?: number | undefined;
742
+ }, {
744
743
  options?: Record<string, any> | undefined;
745
744
  driver?: string | undefined;
746
745
  cookie?: string | {
747
- path?: string | undefined;
748
746
  name?: string | undefined;
747
+ path?: string | undefined;
749
748
  domain?: string | undefined;
750
749
  maxAge?: number | undefined;
751
750
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
752
751
  secure?: boolean | undefined;
753
752
  } | undefined;
753
+ ttl?: number | undefined;
754
754
  }>>;
755
755
  experimental: z.ZodDefault<z.ZodObject<{
756
756
  clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -955,7 +955,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
955
955
  liveContentCollections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
956
956
  csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
957
957
  algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SHA-256", "SHA-384", "SHA-512"]>>>;
958
- directives: z.ZodOptional<z.ZodArray<z.ZodType<`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`, z.ZodTypeDef, `referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`>, "many">>;
958
+ directives: z.ZodOptional<z.ZodArray<z.ZodType<`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`, z.ZodTypeDef, `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`>, "many">>;
959
959
  styleDirective: z.ZodOptional<z.ZodObject<{
960
960
  resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
961
961
  hashes: z.ZodOptional<z.ZodArray<z.ZodType<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, z.ZodTypeDef, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>, "many">>;
@@ -981,7 +981,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
981
981
  }>>;
982
982
  }, "strip", z.ZodTypeAny, {
983
983
  algorithm: "SHA-256" | "SHA-384" | "SHA-512";
984
- directives?: (`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
984
+ directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
985
985
  styleDirective?: {
986
986
  resources?: string[] | undefined;
987
987
  hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
@@ -993,7 +993,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
993
993
  } | undefined;
994
994
  }, {
995
995
  algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
996
- directives?: (`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
996
+ directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
997
997
  styleDirective?: {
998
998
  resources?: string[] | undefined;
999
999
  hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
@@ -1016,7 +1016,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
1016
1016
  liveContentCollections: boolean;
1017
1017
  csp: boolean | {
1018
1018
  algorithm: "SHA-256" | "SHA-384" | "SHA-512";
1019
- directives?: (`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1019
+ directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1020
1020
  styleDirective?: {
1021
1021
  resources?: string[] | undefined;
1022
1022
  hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
@@ -1149,7 +1149,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
1149
1149
  liveContentCollections?: boolean | undefined;
1150
1150
  csp?: boolean | {
1151
1151
  algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
1152
- directives?: (`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1152
+ directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1153
1153
  styleDirective?: {
1154
1154
  resources?: string[] | undefined;
1155
1155
  hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
@@ -1173,7 +1173,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
1173
1173
  collections?: boolean | undefined;
1174
1174
  }>>;
1175
1175
  }, "strip", z.ZodTypeAny, {
1176
- base: string;
1177
1176
  outDir: URL;
1178
1177
  root: URL;
1179
1178
  build: {
@@ -1229,17 +1228,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
1229
1228
  type: "string";
1230
1229
  length?: number | undefined;
1231
1230
  includes?: string | undefined;
1232
- url?: boolean | undefined;
1233
- default?: string | undefined;
1234
1231
  optional?: boolean | undefined;
1232
+ url?: boolean | undefined;
1235
1233
  endsWith?: string | undefined;
1236
1234
  startsWith?: string | undefined;
1235
+ default?: string | undefined;
1237
1236
  max?: number | undefined;
1238
1237
  min?: number | undefined;
1239
1238
  } | {
1240
1239
  type: "number";
1241
- default?: number | undefined;
1242
1240
  optional?: boolean | undefined;
1241
+ default?: number | undefined;
1243
1242
  max?: number | undefined;
1244
1243
  min?: number | undefined;
1245
1244
  gt?: number | undefined;
@@ -1247,13 +1246,13 @@ export declare const AstroConfigSchema: z.ZodObject<{
1247
1246
  int?: boolean | undefined;
1248
1247
  } | {
1249
1248
  type: "boolean";
1250
- default?: boolean | undefined;
1251
1249
  optional?: boolean | undefined;
1250
+ default?: boolean | undefined;
1252
1251
  } | {
1253
- values: string[];
1254
1252
  type: "enum";
1255
- default?: string | undefined;
1253
+ values: string[];
1256
1254
  optional?: boolean | undefined;
1255
+ default?: string | undefined;
1257
1256
  })>;
1258
1257
  };
1259
1258
  devToolbar: {
@@ -1270,7 +1269,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
1270
1269
  publicDir: URL;
1271
1270
  cacheDir: URL;
1272
1271
  compressHTML: boolean;
1273
- trailingSlash: "ignore" | "never" | "always";
1272
+ base: string;
1273
+ trailingSlash: "never" | "ignore" | "always";
1274
1274
  output: "server" | "static";
1275
1275
  scopedStyleStrategy: "where" | "class" | "attribute";
1276
1276
  integrations: {
@@ -1280,11 +1280,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
1280
1280
  };
1281
1281
  }[];
1282
1282
  image: {
1283
+ responsiveStyles: boolean;
1283
1284
  endpoint: {
1284
1285
  route: string;
1285
1286
  entrypoint?: string | undefined;
1286
1287
  };
1287
- responsiveStyles: boolean;
1288
1288
  service: {
1289
1289
  entrypoint: string;
1290
1290
  config: Record<string, any>;
@@ -1317,7 +1317,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
1317
1317
  liveContentCollections: boolean;
1318
1318
  csp: boolean | {
1319
1319
  algorithm: "SHA-256" | "SHA-384" | "SHA-512";
1320
- directives?: (`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1320
+ directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1321
1321
  styleDirective?: {
1322
1322
  resources?: string[] | undefined;
1323
1323
  hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
@@ -1392,17 +1392,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
1392
1392
  collections: boolean;
1393
1393
  };
1394
1394
  session?: {
1395
- ttl?: number | undefined;
1396
1395
  options?: Record<string, any> | undefined;
1397
1396
  driver?: string | undefined;
1398
1397
  cookie?: {
1399
- path?: string | undefined;
1400
1398
  name?: string | undefined;
1399
+ path?: string | undefined;
1401
1400
  domain?: string | undefined;
1402
1401
  maxAge?: number | undefined;
1403
1402
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
1404
1403
  secure?: boolean | undefined;
1405
1404
  } | undefined;
1405
+ ttl?: number | undefined;
1406
1406
  } | undefined;
1407
1407
  adapter?: {
1408
1408
  name: string;
@@ -1413,7 +1413,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
1413
1413
  site?: string | undefined;
1414
1414
  prefetch?: boolean | {
1415
1415
  prefetchAll?: boolean | undefined;
1416
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
1416
+ defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
1417
1417
  } | undefined;
1418
1418
  i18n?: {
1419
1419
  defaultLocale: string;
@@ -1430,7 +1430,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
1430
1430
  domains?: Record<string, string> | undefined;
1431
1431
  } | undefined;
1432
1432
  }, {
1433
- base?: string | undefined;
1434
1433
  outDir?: string | undefined;
1435
1434
  root?: string | undefined;
1436
1435
  build?: {
@@ -1472,17 +1471,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
1472
1471
  destination: string;
1473
1472
  }> | undefined;
1474
1473
  session?: {
1475
- ttl?: number | undefined;
1476
1474
  options?: Record<string, any> | undefined;
1477
1475
  driver?: string | undefined;
1478
1476
  cookie?: string | {
1479
- path?: string | undefined;
1480
1477
  name?: string | undefined;
1478
+ path?: string | undefined;
1481
1479
  domain?: string | undefined;
1482
1480
  maxAge?: number | undefined;
1483
1481
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
1484
1482
  secure?: boolean | undefined;
1485
1483
  } | undefined;
1484
+ ttl?: number | undefined;
1486
1485
  } | undefined;
1487
1486
  env?: {
1488
1487
  validateSecrets?: boolean | undefined;
@@ -1499,17 +1498,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
1499
1498
  type: "string";
1500
1499
  length?: number | undefined;
1501
1500
  includes?: string | undefined;
1502
- url?: boolean | undefined;
1503
- default?: string | undefined;
1504
1501
  optional?: boolean | undefined;
1502
+ url?: boolean | undefined;
1505
1503
  endsWith?: string | undefined;
1506
1504
  startsWith?: string | undefined;
1505
+ default?: string | undefined;
1507
1506
  max?: number | undefined;
1508
1507
  min?: number | undefined;
1509
1508
  } | {
1510
1509
  type: "number";
1511
- default?: number | undefined;
1512
1510
  optional?: boolean | undefined;
1511
+ default?: number | undefined;
1513
1512
  max?: number | undefined;
1514
1513
  min?: number | undefined;
1515
1514
  gt?: number | undefined;
@@ -1517,13 +1516,13 @@ export declare const AstroConfigSchema: z.ZodObject<{
1517
1516
  int?: boolean | undefined;
1518
1517
  } | {
1519
1518
  type: "boolean";
1520
- default?: boolean | undefined;
1521
1519
  optional?: boolean | undefined;
1520
+ default?: boolean | undefined;
1522
1521
  } | {
1523
- values: string[];
1524
1522
  type: "enum";
1525
- default?: string | undefined;
1523
+ values: string[];
1526
1524
  optional?: boolean | undefined;
1525
+ default?: string | undefined;
1527
1526
  })> | undefined;
1528
1527
  } | undefined;
1529
1528
  adapter?: {
@@ -1539,20 +1538,21 @@ export declare const AstroConfigSchema: z.ZodObject<{
1539
1538
  cacheDir?: string | undefined;
1540
1539
  site?: string | undefined;
1541
1540
  compressHTML?: boolean | undefined;
1542
- trailingSlash?: "ignore" | "never" | "always" | undefined;
1541
+ base?: string | undefined;
1542
+ trailingSlash?: "never" | "ignore" | "always" | undefined;
1543
1543
  output?: "server" | "static" | undefined;
1544
1544
  scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
1545
1545
  integrations?: unknown;
1546
1546
  prefetch?: boolean | {
1547
1547
  prefetchAll?: boolean | undefined;
1548
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
1548
+ defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
1549
1549
  } | undefined;
1550
1550
  image?: {
1551
+ responsiveStyles?: boolean | undefined;
1551
1552
  endpoint?: {
1552
1553
  entrypoint?: string | undefined;
1553
1554
  route?: string | undefined;
1554
1555
  } | undefined;
1555
- responsiveStyles?: boolean | undefined;
1556
1556
  service?: {
1557
1557
  entrypoint?: string | undefined;
1558
1558
  config?: Record<string, any> | undefined;
@@ -1654,7 +1654,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
1654
1654
  liveContentCollections?: boolean | undefined;
1655
1655
  csp?: boolean | {
1656
1656
  algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
1657
- directives?: (`referrer${string}` | `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1657
+ directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
1658
1658
  styleDirective?: {
1659
1659
  resources?: string[] | undefined;
1660
1660
  hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;