@powerlines/plugin-cloudflare 0.2.0 → 0.2.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
2
2
|
import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
|
|
3
3
|
|
|
4
4
|
//#region src/components/env-builtin.d.ts
|
|
@@ -6,7 +6,7 @@ type CloudflareEnvBuiltinProps = Omit<EnvBuiltinProps, "defaultConfig">;
|
|
|
6
6
|
/**
|
|
7
7
|
* Generates the Cloudflare environment configuration module for the Powerlines project.
|
|
8
8
|
*/
|
|
9
|
-
declare function CloudflareEnvBuiltin(props: CloudflareEnvBuiltinProps):
|
|
9
|
+
declare function CloudflareEnvBuiltin(props: CloudflareEnvBuiltinProps): _alloy_js_core0.Children;
|
|
10
10
|
declare type __ΩCloudflareEnvBuiltinProps = any[];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { CloudflareEnvBuiltin, CloudflareEnvBuiltinProps, __ΩCloudflareEnvBuiltinProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloudflareWorkerEntryModule } from "../types/plugin.cjs";
|
|
2
2
|
import "../types/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
4
4
|
import { EntryFileProps } from "@powerlines/plugin-alloy/typescript/components/entry-file";
|
|
5
5
|
|
|
6
6
|
//#region src/components/worker-entry.d.ts
|
|
@@ -10,7 +10,7 @@ type WorkerEntryProps = Partial<EntryFileProps> & Omit<EntryFileProps, "path"> &
|
|
|
10
10
|
/**
|
|
11
11
|
* Generates a [Cloudflare Worker](https://developers.cloudflare.com/workers/runtime-apis/handlers/) entry module for the Powerlines project, providing a runtime context and utilities for integrating with Cloudflare services. This module defines a `CloudflareContext` interface, an `AsyncLocalStorage` instance for managing the context, and helper functions for retrieving and running code within the context. The generated module is designed to be used as a built-in file within the Powerlines environment, allowing developers to easily access Cloudflare-specific functionality in their applications.
|
|
12
12
|
*/
|
|
13
|
-
declare function WorkerEntry(props: WorkerEntryProps):
|
|
13
|
+
declare function WorkerEntry(props: WorkerEntryProps): _alloy_js_core1.Children;
|
|
14
14
|
declare type __ΩWorkerEntryProps = any[];
|
|
15
15
|
//#endregion
|
|
16
16
|
export { WorkerEntry, WorkerEntryProps, __ΩWorkerEntryProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-cloudflare",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin that provides integration with Cloudflare services.",
|
|
6
6
|
"repository": {
|
|
@@ -144,25 +144,25 @@
|
|
|
144
144
|
"dependencies": {
|
|
145
145
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
146
146
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
147
|
-
"@powerlines/plugin-pulumi": "^0.5.
|
|
148
|
-
"@powerlines/plugin-env": "^0.16.
|
|
147
|
+
"@powerlines/plugin-pulumi": "^0.5.3",
|
|
148
|
+
"@powerlines/plugin-env": "^0.16.41",
|
|
149
149
|
"@pulumi/cloudflare": "^6.13.0",
|
|
150
150
|
"@pulumi/pulumi": "^3.225.1",
|
|
151
151
|
"@storm-software/config-tools": "^1.189.19",
|
|
152
152
|
"@stryke/hash": "^0.13.6",
|
|
153
153
|
"@stryke/path": "^0.26.15",
|
|
154
154
|
"defu": "^6.1.4",
|
|
155
|
-
"powerlines": "^0.40.
|
|
155
|
+
"powerlines": "^0.40.9"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"@cloudflare/workers-types": "^4.20260307.1",
|
|
159
|
-
"@powerlines/plugin-alloy": "^0.25.
|
|
160
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
159
|
+
"@powerlines/plugin-alloy": "^0.25.6",
|
|
160
|
+
"@powerlines/plugin-plugin": "^0.12.273",
|
|
161
161
|
"@types/node": "^25.3.5"
|
|
162
162
|
},
|
|
163
163
|
"publishConfig": { "access": "public" },
|
|
164
164
|
"main": "./dist/index.cjs",
|
|
165
165
|
"module": "./dist/index.mjs",
|
|
166
166
|
"types": "./dist/index.d.cts",
|
|
167
|
-
"gitHead": "
|
|
167
|
+
"gitHead": "9c5feb5eb4e7faa0e0f6ff39b53687433b73eef7"
|
|
168
168
|
}
|