@powerlines/plugin-cloudflare 0.2.0 → 0.2.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.
- package/dist/components/cloudflare-builtin.d.cts +2 -2
- package/dist/components/env-builtin.d.cts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.34 → @stryke_type-checks@0.5.35}/node_modules/@stryke/type-checks/dist/get-object-tag.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.34 → @stryke_type-checks@0.5.35}/node_modules/@stryke/type-checks/dist/get-object-tag.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.34 → @stryke_type-checks@0.5.35}/node_modules/@stryke/type-checks/dist/get-object-tag.mjs.map +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.34 → @stryke_type-checks@0.5.35}/node_modules/@stryke/type-checks/dist/is-function.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.34 → @stryke_type-checks@0.5.35}/node_modules/@stryke/type-checks/dist/is-function.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.34 → @stryke_type-checks@0.5.35}/node_modules/@stryke/type-checks/dist/is-function.mjs.map +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
2
2
|
import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
|
|
3
3
|
|
|
4
4
|
//#region src/components/cloudflare-builtin.d.ts
|
|
@@ -6,7 +6,7 @@ type CloudflareBuiltinProps = Partial<BuiltinFileProps> & Omit<BuiltinFileProps,
|
|
|
6
6
|
/**
|
|
7
7
|
* Generates the Cloudflare environment configuration module for the Powerlines project.
|
|
8
8
|
*/
|
|
9
|
-
declare function CloudflareBuiltin(props: CloudflareBuiltinProps):
|
|
9
|
+
declare function CloudflareBuiltin(props: CloudflareBuiltinProps): _alloy_js_core1.Children;
|
|
10
10
|
declare type __ΩCloudflareBuiltinProps = any[];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { CloudflareBuiltin, CloudflareBuiltinProps, __ΩCloudflareBuiltinProps };
|
|
@@ -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 };
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
3
|
const require_kebab_case = require('./node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/kebab-case.cjs');
|
|
4
|
-
const require_is_function = require('./node_modules/.pnpm/@stryke_type-checks@0.5.
|
|
4
|
+
const require_is_function = require('./node_modules/.pnpm/@stryke_type-checks@0.5.35/node_modules/@stryke/type-checks/dist/is-function.cjs');
|
|
5
5
|
const require_components_cloudflare_builtin = require('./components/cloudflare-builtin.cjs');
|
|
6
6
|
const require_components_env_builtin = require('./components/env-builtin.cjs');
|
|
7
7
|
const require_components_worker_entry = require('./components/worker-entry.cjs');
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { kebabCase } from "./node_modules/.pnpm/@stryke_string-format@0.16.0/node_modules/@stryke/string-format/dist/kebab-case.mjs";
|
|
2
|
-
import { isFunction } from "./node_modules/.pnpm/@stryke_type-checks@0.5.
|
|
2
|
+
import { isFunction } from "./node_modules/.pnpm/@stryke_type-checks@0.5.35/node_modules/@stryke/type-checks/dist/is-function.mjs";
|
|
3
3
|
import { CloudflareBuiltin } from "./components/cloudflare-builtin.mjs";
|
|
4
4
|
import { CloudflareEnvBuiltin } from "./components/env-builtin.mjs";
|
|
5
5
|
import { WorkerEntry } from "./components/worker-entry.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.35/node_modules/@stryke/type-checks/dist/get-object-tag.mjs
|
|
3
3
|
/**
|
|
4
4
|
* Gets the `toStringTag` of `obj`.
|
|
5
5
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.35/node_modules/@stryke/type-checks/dist/get-object-tag.mjs
|
|
2
2
|
/**
|
|
3
3
|
* Gets the `toStringTag` of `obj`.
|
|
4
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-object-tag.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
{"version":3,"file":"get-object-tag.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@stryke+type-checks@0.5.35/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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_get_object_tag = require('./get-object-tag.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.35/node_modules/@stryke/type-checks/dist/is-function.mjs
|
|
4
4
|
function isSyncFunction(value) {
|
|
5
5
|
return require_get_object_tag.getObjectTag(value) === "[object Function]";
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getObjectTag } from "./get-object-tag.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.35/node_modules/@stryke/type-checks/dist/is-function.mjs
|
|
4
4
|
function isSyncFunction(value) {
|
|
5
5
|
return getObjectTag(value) === "[object Function]";
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-function.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
{"version":3,"file":"is-function.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@stryke+type-checks@0.5.35/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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-cloudflare",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
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.4",
|
|
148
|
+
"@powerlines/plugin-env": "^0.16.42",
|
|
149
149
|
"@pulumi/cloudflare": "^6.13.0",
|
|
150
150
|
"@pulumi/pulumi": "^3.225.1",
|
|
151
|
-
"@storm-software/config-tools": "^1.189.
|
|
152
|
-
"@stryke/hash": "^0.13.
|
|
153
|
-
"@stryke/path": "^0.26.
|
|
151
|
+
"@storm-software/config-tools": "^1.189.21",
|
|
152
|
+
"@stryke/hash": "^0.13.7",
|
|
153
|
+
"@stryke/path": "^0.26.16",
|
|
154
154
|
"defu": "^6.1.4",
|
|
155
|
-
"powerlines": "^0.40.
|
|
155
|
+
"powerlines": "^0.40.10"
|
|
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.7",
|
|
160
|
+
"@powerlines/plugin-plugin": "^0.12.274",
|
|
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": "3624394803d73dc4155d609ca164dc58b2f20c3c"
|
|
168
168
|
}
|