@powerlines/plugin-cloudflare 0.2.0

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 (58) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +304 -0
  3. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  4. package/dist/components/cloudflare-builtin.cjs +916 -0
  5. package/dist/components/cloudflare-builtin.d.cts +13 -0
  6. package/dist/components/cloudflare-builtin.d.cts.map +1 -0
  7. package/dist/components/cloudflare-builtin.d.mts +13 -0
  8. package/dist/components/cloudflare-builtin.d.mts.map +1 -0
  9. package/dist/components/cloudflare-builtin.mjs +915 -0
  10. package/dist/components/cloudflare-builtin.mjs.map +1 -0
  11. package/dist/components/env-builtin.cjs +31 -0
  12. package/dist/components/env-builtin.d.cts +13 -0
  13. package/dist/components/env-builtin.d.cts.map +1 -0
  14. package/dist/components/env-builtin.d.mts +13 -0
  15. package/dist/components/env-builtin.d.mts.map +1 -0
  16. package/dist/components/env-builtin.mjs +30 -0
  17. package/dist/components/env-builtin.mjs.map +1 -0
  18. package/dist/components/index.cjs +7 -0
  19. package/dist/components/index.d.cts +4 -0
  20. package/dist/components/index.d.mts +4 -0
  21. package/dist/components/index.mjs +5 -0
  22. package/dist/components/worker-entry.cjs +202 -0
  23. package/dist/components/worker-entry.d.cts +17 -0
  24. package/dist/components/worker-entry.d.cts.map +1 -0
  25. package/dist/components/worker-entry.d.mts +17 -0
  26. package/dist/components/worker-entry.d.mts.map +1 -0
  27. package/dist/components/worker-entry.mjs +201 -0
  28. package/dist/components/worker-entry.mjs.map +1 -0
  29. package/dist/index.cjs +88 -0
  30. package/dist/index.d.cts +21 -0
  31. package/dist/index.d.cts.map +1 -0
  32. package/dist/index.d.mts +21 -0
  33. package/dist/index.d.mts.map +1 -0
  34. package/dist/index.mjs +81 -0
  35. package/dist/index.mjs.map +1 -0
  36. package/dist/node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/get-words.cjs +38 -0
  37. package/dist/node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/get-words.mjs +38 -0
  38. package/dist/node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/get-words.mjs.map +1 -0
  39. package/dist/node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/kebab-case.cjs +33 -0
  40. package/dist/node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/kebab-case.mjs +34 -0
  41. package/dist/node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/kebab-case.mjs.map +1 -0
  42. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.34/node_modules/@stryke/type-checks/dist/get-object-tag.cjs +15 -0
  43. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.34/node_modules/@stryke/type-checks/dist/get-object-tag.mjs +15 -0
  44. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.34/node_modules/@stryke/type-checks/dist/get-object-tag.mjs.map +1 -0
  45. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.34/node_modules/@stryke/type-checks/dist/is-function.cjs +25 -0
  46. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.34/node_modules/@stryke/type-checks/dist/is-function.mjs +26 -0
  47. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.34/node_modules/@stryke/type-checks/dist/is-function.mjs.map +1 -0
  48. package/dist/types/index.cjs +0 -0
  49. package/dist/types/index.d.cts +2 -0
  50. package/dist/types/index.d.mts +2 -0
  51. package/dist/types/index.mjs +1 -0
  52. package/dist/types/plugin.cjs +0 -0
  53. package/dist/types/plugin.d.cts +63 -0
  54. package/dist/types/plugin.d.cts.map +1 -0
  55. package/dist/types/plugin.d.mts +63 -0
  56. package/dist/types/plugin.d.mts.map +1 -0
  57. package/dist/types/plugin.mjs +1 -0
  58. package/package.json +168 -0
@@ -0,0 +1,15 @@
1
+ //#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.34/node_modules/@stryke/type-checks/dist/get-object-tag.mjs
2
+ /**
3
+ * Gets the `toStringTag` of `obj`.
4
+ *
5
+ * @param value - The obj to query.
6
+ * @returns Returns the `toStringTag`.
7
+ */
8
+ const getObjectTag = (value) => {
9
+ if (value == null) return value === void 0 ? "[object Undefined]" : "[object Null]";
10
+ return Object.prototype.toString.call(value);
11
+ };
12
+
13
+ //#endregion
14
+ export { getObjectTag };
15
+ //# sourceMappingURL=get-object-tag.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-object-tag.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@stryke+type-checks@0.5.34/node_modules/@stryke/type-checks/dist/get-object-tag.mjs"],"sourcesContent":["//#region src/get-object-tag.ts\n/**\n* Gets the `toStringTag` of `obj`.\n*\n* @param value - The obj to query.\n* @returns Returns the `toStringTag`.\n*/\nconst getObjectTag = (value) => {\n\tif (value == null) return value === void 0 ? \"[object Undefined]\" : \"[object Null]\";\n\treturn Object.prototype.toString.call(value);\n};\n\n//#endregion\nexport { getObjectTag };\n//# sourceMappingURL=get-object-tag.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAOA,MAAM,gBAAgB,UAAU;AAC/B,KAAI,SAAS,KAAM,QAAO,UAAU,KAAK,IAAI,uBAAuB;AACpE,QAAO,OAAO,UAAU,SAAS,KAAK,MAAM"}
@@ -0,0 +1,25 @@
1
+ const require_get_object_tag = require('./get-object-tag.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.34/node_modules/@stryke/type-checks/dist/is-function.mjs
4
+ function isSyncFunction(value) {
5
+ return require_get_object_tag.getObjectTag(value) === "[object Function]";
6
+ }
7
+ function isAsyncFunction(value) {
8
+ return require_get_object_tag.getObjectTag(value) === "[object AsyncFunction]";
9
+ }
10
+ /**
11
+ * Check if the provided value's type is `Function`
12
+ *
13
+ * @param value - The value to type check
14
+ * @returns An indicator specifying if the value provided is of type `Function`
15
+ */
16
+ const isFunction = (value) => {
17
+ try {
18
+ return value instanceof Function || typeof value === "function" || Boolean(value?.constructor && value?.call && value?.apply) || isSyncFunction(value) || isAsyncFunction(value);
19
+ } catch {
20
+ return false;
21
+ }
22
+ };
23
+
24
+ //#endregion
25
+ exports.isFunction = isFunction;
@@ -0,0 +1,26 @@
1
+ import { getObjectTag } from "./get-object-tag.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.34/node_modules/@stryke/type-checks/dist/is-function.mjs
4
+ function isSyncFunction(value) {
5
+ return getObjectTag(value) === "[object Function]";
6
+ }
7
+ function isAsyncFunction(value) {
8
+ return getObjectTag(value) === "[object AsyncFunction]";
9
+ }
10
+ /**
11
+ * Check if the provided value's type is `Function`
12
+ *
13
+ * @param value - The value to type check
14
+ * @returns An indicator specifying if the value provided is of type `Function`
15
+ */
16
+ const isFunction = (value) => {
17
+ try {
18
+ return value instanceof Function || typeof value === "function" || Boolean(value?.constructor && value?.call && value?.apply) || isSyncFunction(value) || isAsyncFunction(value);
19
+ } catch {
20
+ return false;
21
+ }
22
+ };
23
+
24
+ //#endregion
25
+ export { isFunction };
26
+ //# sourceMappingURL=is-function.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-function.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@stryke+type-checks@0.5.34/node_modules/@stryke/type-checks/dist/is-function.mjs"],"sourcesContent":["import { getObjectTag } from \"./get-object-tag.mjs\";\n\n//#region src/is-function.ts\nfunction isSyncFunction(value) {\n\treturn getObjectTag(value) === \"[object Function]\";\n}\nfunction isAsyncFunction(value) {\n\treturn getObjectTag(value) === \"[object AsyncFunction]\";\n}\n/**\n* Check if the provided value's type is `Function`\n*\n* @param value - The value to type check\n* @returns An indicator specifying if the value provided is of type `Function`\n*/\nconst isFunction = (value) => {\n\ttry {\n\t\treturn value instanceof Function || typeof value === \"function\" || Boolean(value?.constructor && value?.call && value?.apply) || isSyncFunction(value) || isAsyncFunction(value);\n\t} catch {\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { isAsyncFunction, isFunction, isSyncFunction };\n//# sourceMappingURL=is-function.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,eAAe,OAAO;AAC9B,QAAO,aAAa,MAAM,KAAK;;AAEhC,SAAS,gBAAgB,OAAO;AAC/B,QAAO,aAAa,MAAM,KAAK;;;;;;;;AAQhC,MAAM,cAAc,UAAU;AAC7B,KAAI;AACH,SAAO,iBAAiB,YAAY,OAAO,UAAU,cAAc,QAAQ,OAAO,eAAe,OAAO,QAAQ,OAAO,MAAM,IAAI,eAAe,MAAM,IAAI,gBAAgB,MAAM;SACzK;AACP,SAAO"}
File without changes
@@ -0,0 +1,2 @@
1
+ import { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, __ΩCloudflarePluginContext, __ΩCloudflarePluginOptions, __ΩCloudflarePluginResolvedConfig, __ΩCloudflarePluginUserConfig, __ΩCloudflareWorkerEntryModule } from "./plugin.cjs";
2
+ export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, __ΩCloudflarePluginContext, __ΩCloudflarePluginOptions, __ΩCloudflarePluginResolvedConfig, __ΩCloudflarePluginUserConfig, __ΩCloudflareWorkerEntryModule };
@@ -0,0 +1,2 @@
1
+ import { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, __ΩCloudflarePluginContext, __ΩCloudflarePluginOptions, __ΩCloudflarePluginResolvedConfig, __ΩCloudflarePluginUserConfig, __ΩCloudflareWorkerEntryModule } from "./plugin.mjs";
2
+ export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, __ΩCloudflarePluginContext, __ΩCloudflarePluginOptions, __ΩCloudflarePluginResolvedConfig, __ΩCloudflarePluginUserConfig, __ΩCloudflareWorkerEntryModule };
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1,63 @@
1
+ import { ExportedHandler } from "@cloudflare/workers-types";
2
+ import { EnvPluginContext, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env";
3
+ import { PulumiPluginContext, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "@powerlines/plugin-pulumi";
4
+ import { PluginContext, ResolvedEntryTypeDefinition } from "powerlines";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ interface CloudflarePluginOptions {
8
+ /**
9
+ * The Cloudflare account ID to use for the plugin.
10
+ *
11
+ * @remarks
12
+ * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. This option can also be set via the `CLOUDFLARE_ACCOUNT_ID` environment variable. If both are provided, the value from the plugin options will take precedence.
13
+ *
14
+ * @see https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/
15
+ */
16
+ accountId?: string;
17
+ /**
18
+ * The Cloudflare API token to use for the plugin.
19
+ *
20
+ * @remarks
21
+ * This option can also be set via the `CLOUDFLARE_API_TOKEN` environment variable. If both are provided, the value from the plugin options will take precedence.
22
+ *
23
+ * @see https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
24
+ */
25
+ apiToken?: string;
26
+ /**
27
+ * The domain to use for the Cloudflare deployed resources.
28
+ */
29
+ domain?: string;
30
+ /**
31
+ * The name of the Cloudflare Worker script to deploy - used in URLs and route configuration.
32
+ *
33
+ * @remarks
34
+ * If no value is provided, the {@link Config.name} configuration value will be used.
35
+ */
36
+ scriptName?: string;
37
+ }
38
+ type CloudflarePluginUserConfig = EnvPluginUserConfig & PulumiPluginUserConfig & {
39
+ /**
40
+ * Options for the Cloudflare plugin.
41
+ */
42
+ cloudflare?: CloudflarePluginOptions;
43
+ };
44
+ type CloudflarePluginResolvedConfig = EnvPluginResolvedConfig & PulumiPluginResolvedConfig & {
45
+ /**
46
+ * Options for the Cloudflare plugin.
47
+ */
48
+ cloudflare: Required<CloudflarePluginOptions>;
49
+ };
50
+ type CloudflareWorkerEntryModule = Record<keyof ExportedHandler, boolean> & {
51
+ entry: ResolvedEntryTypeDefinition;
52
+ };
53
+ type CloudflarePluginContext<TResolvedConfig extends CloudflarePluginResolvedConfig = CloudflarePluginResolvedConfig> = PluginContext<TResolvedConfig> & EnvPluginContext<TResolvedConfig> & PulumiPluginContext<TResolvedConfig> & {
54
+ workers: CloudflareWorkerEntryModule[];
55
+ };
56
+ declare type __ΩCloudflarePluginOptions = any[];
57
+ declare type __ΩCloudflarePluginUserConfig = any[];
58
+ declare type __ΩCloudflarePluginResolvedConfig = any[];
59
+ declare type __ΩCloudflareWorkerEntryModule = any[];
60
+ declare type __ΩCloudflarePluginContext = any[];
61
+ //#endregion
62
+ export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, __ΩCloudflarePluginContext, __ΩCloudflarePluginOptions, __ΩCloudflarePluginResolvedConfig, __ΩCloudflarePluginUserConfig, __ΩCloudflareWorkerEntryModule };
63
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UA+BiB,uBAAA;;AAAjB;AAmCA;;;;;AAQA;EAA6C,SAAA,CAAA,EAAA,MAAA;EAC3C;;;;AAOF;;;;EAIoC,QAAA,CAAA,EAAA,MAAA;EAGxB;;;EAGM,MAAA,CAAA,EAAA,MAAA;EAAd;;;;;;EAGoC,UAAA,CAAA,EAAA,MAAA;;KA7B5B,0BAAA,GAA6B,sBACvC;;;;eAIe;;KAGL,8BAAA,GAAiC,0BAC3C;;;;cAIc,SAAS;;KAGb,2BAAA,GAA8B,aAClC;SAGC;;KAGG,gDACc,iCACtB,kCACA,cAAc,mBAChB,iBAAiB,mBACjB,oBAAoB;WACT"}
@@ -0,0 +1,63 @@
1
+ import { ExportedHandler } from "@cloudflare/workers-types";
2
+ import { EnvPluginContext, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env";
3
+ import { PulumiPluginContext, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "@powerlines/plugin-pulumi";
4
+ import { PluginContext, ResolvedEntryTypeDefinition } from "powerlines";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ interface CloudflarePluginOptions {
8
+ /**
9
+ * The Cloudflare account ID to use for the plugin.
10
+ *
11
+ * @remarks
12
+ * This is required for certain features of the plugin, such as deploying a Cloudflare Worker entry module. This option can also be set via the `CLOUDFLARE_ACCOUNT_ID` environment variable. If both are provided, the value from the plugin options will take precedence.
13
+ *
14
+ * @see https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/
15
+ */
16
+ accountId?: string;
17
+ /**
18
+ * The Cloudflare API token to use for the plugin.
19
+ *
20
+ * @remarks
21
+ * This option can also be set via the `CLOUDFLARE_API_TOKEN` environment variable. If both are provided, the value from the plugin options will take precedence.
22
+ *
23
+ * @see https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
24
+ */
25
+ apiToken?: string;
26
+ /**
27
+ * The domain to use for the Cloudflare deployed resources.
28
+ */
29
+ domain?: string;
30
+ /**
31
+ * The name of the Cloudflare Worker script to deploy - used in URLs and route configuration.
32
+ *
33
+ * @remarks
34
+ * If no value is provided, the {@link Config.name} configuration value will be used.
35
+ */
36
+ scriptName?: string;
37
+ }
38
+ type CloudflarePluginUserConfig = EnvPluginUserConfig & PulumiPluginUserConfig & {
39
+ /**
40
+ * Options for the Cloudflare plugin.
41
+ */
42
+ cloudflare?: CloudflarePluginOptions;
43
+ };
44
+ type CloudflarePluginResolvedConfig = EnvPluginResolvedConfig & PulumiPluginResolvedConfig & {
45
+ /**
46
+ * Options for the Cloudflare plugin.
47
+ */
48
+ cloudflare: Required<CloudflarePluginOptions>;
49
+ };
50
+ type CloudflareWorkerEntryModule = Record<keyof ExportedHandler, boolean> & {
51
+ entry: ResolvedEntryTypeDefinition;
52
+ };
53
+ type CloudflarePluginContext<TResolvedConfig extends CloudflarePluginResolvedConfig = CloudflarePluginResolvedConfig> = PluginContext<TResolvedConfig> & EnvPluginContext<TResolvedConfig> & PulumiPluginContext<TResolvedConfig> & {
54
+ workers: CloudflareWorkerEntryModule[];
55
+ };
56
+ declare type __ΩCloudflarePluginOptions = any[];
57
+ declare type __ΩCloudflarePluginUserConfig = any[];
58
+ declare type __ΩCloudflarePluginResolvedConfig = any[];
59
+ declare type __ΩCloudflareWorkerEntryModule = any[];
60
+ declare type __ΩCloudflarePluginContext = any[];
61
+ //#endregion
62
+ export { CloudflarePluginContext, CloudflarePluginOptions, CloudflarePluginResolvedConfig, CloudflarePluginUserConfig, CloudflareWorkerEntryModule, __ΩCloudflarePluginContext, __ΩCloudflarePluginOptions, __ΩCloudflarePluginResolvedConfig, __ΩCloudflarePluginUserConfig, __ΩCloudflareWorkerEntryModule };
63
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UA+BiB,uBAAA;;AAAjB;AAmCA;;;;;AAQA;EAA6C,SAAA,CAAA,EAAA,MAAA;EAC3C;;;;AAOF;;;;EAIoC,QAAA,CAAA,EAAA,MAAA;EAGxB;;;EAGM,MAAA,CAAA,EAAA,MAAA;EAAd;;;;;;EAGoC,UAAA,CAAA,EAAA,MAAA;;KA7B5B,0BAAA,GAA6B,sBACvC;;;;eAIe;;KAGL,8BAAA,GAAiC,0BAC3C;;;;cAIc,SAAS;;KAGb,2BAAA,GAA8B,aAClC;SAGC;;KAGG,gDACc,iCACtB,kCACA,cAAc,mBAChB,iBAAiB,mBACjB,oBAAoB;WACT"}
@@ -0,0 +1 @@
1
+ export { };
package/package.json ADDED
@@ -0,0 +1,168 @@
1
+ {
2
+ "name": "@powerlines/plugin-cloudflare",
3
+ "version": "0.2.0",
4
+ "type": "module",
5
+ "description": "A Powerlines plugin that provides integration with Cloudflare services.",
6
+ "repository": {
7
+ "type": "github",
8
+ "url": "https://github.com/storm-software/powerlines.git",
9
+ "directory": "packages/plugin-cloudflare"
10
+ },
11
+ "homepage": "https://stormsoftware.com",
12
+ "bugs": {
13
+ "url": "https://stormsoftware.com/support",
14
+ "email": "support@stormsoftware.com"
15
+ },
16
+ "author": {
17
+ "name": "Storm Software",
18
+ "email": "contact@stormsoftware.com",
19
+ "url": "https://stormsoftware.com"
20
+ },
21
+ "maintainers": [
22
+ {
23
+ "name": "Storm Software",
24
+ "email": "contact@stormsoftware.com",
25
+ "url": "https://stormsoftware.com"
26
+ }
27
+ ],
28
+ "contributors": [
29
+ {
30
+ "name": "Storm Software",
31
+ "email": "contact@stormsoftware.com",
32
+ "url": "https://stormsoftware.com"
33
+ }
34
+ ],
35
+ "funding": {
36
+ "type": "github",
37
+ "url": "https://github.com/sponsors/storm-software"
38
+ },
39
+ "license": "Apache-2.0",
40
+ "private": false,
41
+ "exports": {
42
+ ".": {
43
+ "require": {
44
+ "types": "./dist/index.d.cts",
45
+ "default": "./dist/index.cjs"
46
+ },
47
+ "import": {
48
+ "types": "./dist/index.d.mts",
49
+ "default": "./dist/index.mjs"
50
+ },
51
+ "default": {
52
+ "types": "./dist/index.d.mts",
53
+ "default": "./dist/index.mjs"
54
+ }
55
+ },
56
+ "./*": "./*",
57
+ "./components": {
58
+ "require": {
59
+ "types": "./dist/components/index.d.cts",
60
+ "default": "./dist/components/index.cjs"
61
+ },
62
+ "import": {
63
+ "types": "./dist/components/index.d.mts",
64
+ "default": "./dist/components/index.mjs"
65
+ },
66
+ "default": {
67
+ "types": "./dist/components/index.d.mts",
68
+ "default": "./dist/components/index.mjs"
69
+ }
70
+ },
71
+ "./components/cloudflare-builtin": {
72
+ "require": {
73
+ "types": "./dist/components/cloudflare-builtin.d.cts",
74
+ "default": "./dist/components/cloudflare-builtin.cjs"
75
+ },
76
+ "import": {
77
+ "types": "./dist/components/cloudflare-builtin.d.mts",
78
+ "default": "./dist/components/cloudflare-builtin.mjs"
79
+ },
80
+ "default": {
81
+ "types": "./dist/components/cloudflare-builtin.d.mts",
82
+ "default": "./dist/components/cloudflare-builtin.mjs"
83
+ }
84
+ },
85
+ "./components/env-builtin": {
86
+ "require": {
87
+ "types": "./dist/components/env-builtin.d.cts",
88
+ "default": "./dist/components/env-builtin.cjs"
89
+ },
90
+ "import": {
91
+ "types": "./dist/components/env-builtin.d.mts",
92
+ "default": "./dist/components/env-builtin.mjs"
93
+ },
94
+ "default": {
95
+ "types": "./dist/components/env-builtin.d.mts",
96
+ "default": "./dist/components/env-builtin.mjs"
97
+ }
98
+ },
99
+ "./components/worker-entry": {
100
+ "require": {
101
+ "types": "./dist/components/worker-entry.d.cts",
102
+ "default": "./dist/components/worker-entry.cjs"
103
+ },
104
+ "import": {
105
+ "types": "./dist/components/worker-entry.d.mts",
106
+ "default": "./dist/components/worker-entry.mjs"
107
+ },
108
+ "default": {
109
+ "types": "./dist/components/worker-entry.d.mts",
110
+ "default": "./dist/components/worker-entry.mjs"
111
+ }
112
+ },
113
+ "./types": {
114
+ "require": {
115
+ "types": "./dist/types/index.d.cts",
116
+ "default": "./dist/types/index.cjs"
117
+ },
118
+ "import": {
119
+ "types": "./dist/types/index.d.mts",
120
+ "default": "./dist/types/index.mjs"
121
+ },
122
+ "default": {
123
+ "types": "./dist/types/index.d.mts",
124
+ "default": "./dist/types/index.mjs"
125
+ }
126
+ },
127
+ "./types/plugin": {
128
+ "require": {
129
+ "types": "./dist/types/plugin.d.cts",
130
+ "default": "./dist/types/plugin.cjs"
131
+ },
132
+ "import": {
133
+ "types": "./dist/types/plugin.d.mts",
134
+ "default": "./dist/types/plugin.mjs"
135
+ },
136
+ "default": {
137
+ "types": "./dist/types/plugin.d.mts",
138
+ "default": "./dist/types/plugin.mjs"
139
+ }
140
+ }
141
+ },
142
+ "files": ["dist/**/*"],
143
+ "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
144
+ "dependencies": {
145
+ "@alloy-js/core": "0.23.0-dev.8",
146
+ "@alloy-js/typescript": "0.23.0-dev.4",
147
+ "@powerlines/plugin-pulumi": "^0.5.2",
148
+ "@powerlines/plugin-env": "^0.16.40",
149
+ "@pulumi/cloudflare": "^6.13.0",
150
+ "@pulumi/pulumi": "^3.225.1",
151
+ "@storm-software/config-tools": "^1.189.19",
152
+ "@stryke/hash": "^0.13.6",
153
+ "@stryke/path": "^0.26.15",
154
+ "defu": "^6.1.4",
155
+ "powerlines": "^0.40.8"
156
+ },
157
+ "devDependencies": {
158
+ "@cloudflare/workers-types": "^4.20260307.1",
159
+ "@powerlines/plugin-alloy": "^0.25.5",
160
+ "@powerlines/plugin-plugin": "^0.12.272",
161
+ "@types/node": "^25.3.5"
162
+ },
163
+ "publishConfig": { "access": "public" },
164
+ "main": "./dist/index.cjs",
165
+ "module": "./dist/index.mjs",
166
+ "types": "./dist/index.d.cts",
167
+ "gitHead": "601a8ea0c88ee2e8c2a3ca8c8f11022542ea716b"
168
+ }