@powerlines/plugin-cloudflare 0.5.3 → 0.5.4

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 (54) hide show
  1. package/package.json +8 -8
  2. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  3. package/dist/_virtual/_rolldown/runtime.mjs +0 -3
  4. package/dist/components/cloudflare-builtin.cjs +0 -917
  5. package/dist/components/cloudflare-builtin.d.cts +0 -13
  6. package/dist/components/cloudflare-builtin.d.cts.map +0 -1
  7. package/dist/components/cloudflare-builtin.d.mts +0 -13
  8. package/dist/components/cloudflare-builtin.d.mts.map +0 -1
  9. package/dist/components/cloudflare-builtin.mjs +0 -915
  10. package/dist/components/cloudflare-builtin.mjs.map +0 -1
  11. package/dist/components/env-builtin.cjs +0 -32
  12. package/dist/components/env-builtin.d.cts +0 -13
  13. package/dist/components/env-builtin.d.cts.map +0 -1
  14. package/dist/components/env-builtin.d.mts +0 -13
  15. package/dist/components/env-builtin.d.mts.map +0 -1
  16. package/dist/components/env-builtin.mjs +0 -30
  17. package/dist/components/env-builtin.mjs.map +0 -1
  18. package/dist/components/index.cjs +0 -8
  19. package/dist/components/index.d.cts +0 -4
  20. package/dist/components/index.d.mts +0 -4
  21. package/dist/components/index.mjs +0 -5
  22. package/dist/components/worker-entry.cjs +0 -203
  23. package/dist/components/worker-entry.d.cts +0 -16
  24. package/dist/components/worker-entry.d.cts.map +0 -1
  25. package/dist/components/worker-entry.d.mts +0 -16
  26. package/dist/components/worker-entry.d.mts.map +0 -1
  27. package/dist/components/worker-entry.mjs +0 -201
  28. package/dist/components/worker-entry.mjs.map +0 -1
  29. package/dist/index.cjs +0 -138
  30. package/dist/index.d.cts +0 -20
  31. package/dist/index.d.cts.map +0 -1
  32. package/dist/index.d.mts +0 -20
  33. package/dist/index.d.mts.map +0 -1
  34. package/dist/index.mjs +0 -130
  35. package/dist/index.mjs.map +0 -1
  36. package/dist/node_modules/.pnpm/@cloudflare_unenv-preset@2.15.0_unenv@2.0.0-rc.24/node_modules/@cloudflare/unenv-preset/dist/index.cjs +0 -370
  37. package/dist/node_modules/.pnpm/@cloudflare_unenv-preset@2.15.0_unenv@2.0.0-rc.24/node_modules/@cloudflare/unenv-preset/dist/index.mjs +0 -367
  38. package/dist/node_modules/.pnpm/@cloudflare_unenv-preset@2.15.0_unenv@2.0.0-rc.24/node_modules/@cloudflare/unenv-preset/dist/index.mjs.map +0 -1
  39. package/dist/types/index.cjs +0 -0
  40. package/dist/types/index.d.cts +0 -3
  41. package/dist/types/index.d.mts +0 -3
  42. package/dist/types/index.mjs +0 -1
  43. package/dist/types/plugin.cjs +0 -0
  44. package/dist/types/plugin.d.cts +0 -76
  45. package/dist/types/plugin.d.cts.map +0 -1
  46. package/dist/types/plugin.d.mts +0 -76
  47. package/dist/types/plugin.d.mts.map +0 -1
  48. package/dist/types/plugin.mjs +0 -1
  49. package/dist/types/worker-module.cjs +0 -0
  50. package/dist/types/worker-module.d.cts +0 -35
  51. package/dist/types/worker-module.d.cts.map +0 -1
  52. package/dist/types/worker-module.d.mts +0 -35
  53. package/dist/types/worker-module.d.mts.map +0 -1
  54. package/dist/types/worker-module.mjs +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-module.d.cts","names":[],"sources":["../../src/types/worker-module.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,iBAAA,2DAEL,OAAA,CAAQ,IAAA,CAAK,gBAAA;;AAHf;;;;;EAUI,IAAA;EAPW;;;;;;;;;;;;EAqBX,OAAA;AAAA;AAAA,UAGa,YAAA;EACf,QAAA,GAAW,oBAAA;EACX,OAAA,EAAS,eAAA;AAAA;AAAA"}
@@ -1,35 +0,0 @@
1
- import { WorkersRouteArgs, WorkersScriptArgs } from "@pulumi/cloudflare";
2
- import { ExportedHandler } from "@cloudflare/workers-types";
3
-
4
- //#region src/types/worker-module.d.ts
5
- type WorkerModuleMetadata = Partial<Omit<WorkersScriptArgs, "accountId" | "scriptName" | "contentFile" | "entry">> & Partial<Omit<WorkersRouteArgs, "zoneId" | "script" | "pattern" | "entry">> & {
6
- /**
7
- * The name of the Cloudflare Worker script to deploy - used in URLs and route configuration.
8
- *
9
- * @remarks
10
- * If no value is provided, the {@link Config.name} configuration value will be used.
11
- */
12
- name?: string;
13
- /**
14
- * A routing pattern to associate with the deployed Worker script.
15
- *
16
- * @remarks
17
- * This is required for the Worker script to be accessible via a public URL. The plugin will replace the string `{domain}` in the pattern with the value of the `domain` configuration option, if provided. If no pattern is provided, a default pattern will be generated based on the script name and plugin mode (e.g. `https://{scriptName}.{mode}.worker-script.{domain}`).
18
- *
19
- * @example
20
- * ```typescript
21
- * // Example pattern for: "worker-script.my-example-domain.com"
22
- * pattern: "worker-script.{domain}"
23
- * ```
24
- */
25
- pattern?: string;
26
- };
27
- interface WorkerModule {
28
- metadata?: WorkerModuleMetadata;
29
- default: ExportedHandler;
30
- }
31
- declare type __ΩWorkerModuleMetadata = any[];
32
- declare type __ΩWorkerModule = any[];
33
- //#endregion
34
- export { WorkerModule, WorkerModuleMetadata, __ΩWorkerModule, __ΩWorkerModuleMetadata };
35
- //# sourceMappingURL=worker-module.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-module.d.mts","names":[],"sources":["../../src/types/worker-module.ts"],"mappings":";;;;KAqBY,oBAAA,GAAuB,OAAA,CACjC,IAAA,CAAK,iBAAA,2DAEL,OAAA,CAAQ,IAAA,CAAK,gBAAA;;AAHf;;;;;EAUI,IAAA;EAPW;;;;;;;;;;;;EAqBX,OAAA;AAAA;AAAA,UAGa,YAAA;EACf,QAAA,GAAW,oBAAA;EACX,OAAA,EAAS,eAAA;AAAA;AAAA"}
@@ -1 +0,0 @@
1
- export { };