@cloudflare/deploy-helpers 0.1.0 → 0.1.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.
- package/dist/index.d.mts +10 -2
- package/dist/metafile-esm.json +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { ContainerNormalizedConfig } from '@cloudflare/containers-shared';
|
|
2
|
-
import { Config, Entry, AssetsOptions, CfPlacement, EphemeralDirectory, LegacyAssetPaths, Route } from '@cloudflare/workers-utils';
|
|
2
|
+
import { FetchResultFetcher, Logger, Config, Entry, AssetsOptions, CfPlacement, EphemeralDirectory, LegacyAssetPaths, Route } from '@cloudflare/workers-utils';
|
|
3
3
|
import { NodeJSCompatMode } from 'miniflare';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* client needs to handle logger and fetch/auth implementation
|
|
7
|
+
* these are passed into this package to handle any API requests/logs
|
|
8
|
+
*/
|
|
9
|
+
type DeployHelpersContext = {
|
|
10
|
+
fetchResult: FetchResultFetcher;
|
|
11
|
+
logger: Logger;
|
|
12
|
+
};
|
|
5
13
|
/**
|
|
6
14
|
* Shared fields produced by merging CLI args with wrangler config.
|
|
7
15
|
* After this point, no raw config/arg merging should happen.
|
|
@@ -102,4 +110,4 @@ type VersionsUploadProps = SharedDeployVersionsProps & {
|
|
|
102
110
|
previewAlias: string | undefined;
|
|
103
111
|
};
|
|
104
112
|
|
|
105
|
-
export type { DeployProps, SharedDeployVersionsProps, VersionsUploadProps };
|
|
113
|
+
export type { DeployHelpersContext, DeployProps, SharedDeployVersionsProps, VersionsUploadProps };
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/shared/types.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/shared/types.ts":{"bytes":4698,"imports":[],"format":"esm"},"src/index.ts":{"bytes":32,"imports":[{"path":"src/shared/types.ts","kind":"import-statement","original":"./shared/types"}],"format":"esm"}},"outputs":{"dist/index.mjs":{"imports":[],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":0}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/deploy-helpers",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Internal deploy helpers for workers-sdk. Not intended for external use — APIs may change without notice.",
|
|
5
5
|
"homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/deploy-helpers#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@types/node": "
|
|
27
|
+
"@types/node": "22.15.17",
|
|
28
28
|
"concurrently": "^8.2.2",
|
|
29
29
|
"tsup": "8.3.0",
|
|
30
|
-
"typescript": "
|
|
30
|
+
"typescript": "5.8.3",
|
|
31
31
|
"vitest": "4.1.0",
|
|
32
32
|
"@cloudflare/containers-shared": "0.15.1",
|
|
33
|
-
"
|
|
34
|
-
"@cloudflare/workers-utils": "0.
|
|
35
|
-
"
|
|
33
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
34
|
+
"@cloudflare/workers-utils": "0.22.1",
|
|
35
|
+
"miniflare": "4.20260601.0"
|
|
36
36
|
},
|
|
37
37
|
"volta": {
|
|
38
38
|
"extends": "../../package.json"
|