@fabrika/provider-cloudflare 0.8.1 → 0.9.0-dev.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.
Files changed (2) hide show
  1. package/package.json +10 -10
  2. package/src/control.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/provider-cloudflare",
3
- "version": "0.8.1",
3
+ "version": "0.9.0-dev.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,15 +42,15 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "zod": "^3.25.76",
45
- "@fabrika/app": "0.8.1",
46
- "@fabrika/auth": "0.8.1",
47
- "@fabrika/auth-core": "0.8.1",
48
- "@fabrika/check": "0.8.1",
49
- "@fabrika/email": "0.8.1",
50
- "@fabrika/iam-contract": "0.8.1",
51
- "@fabrika/installation-init": "0.8.1",
52
- "@fabrika/proxy-core": "0.8.1",
53
- "@fabrika/provider-contract": "0.8.1",
45
+ "@fabrika/app": "0.9.0-dev.1",
46
+ "@fabrika/auth": "0.9.0-dev.1",
47
+ "@fabrika/auth-core": "0.9.0-dev.1",
48
+ "@fabrika/check": "0.9.0-dev.1",
49
+ "@fabrika/email": "0.9.0-dev.1",
50
+ "@fabrika/iam-contract": "0.9.0-dev.1",
51
+ "@fabrika/installation-init": "0.9.0-dev.1",
52
+ "@fabrika/proxy-core": "0.9.0-dev.1",
53
+ "@fabrika/provider-contract": "0.9.0-dev.1",
54
54
  "oblaka-iac": "^0.0.18"
55
55
  }
56
56
  }
package/src/control.ts CHANGED
@@ -286,6 +286,7 @@ const runnerApprovedAccess = (environment: ProviderEnvironment): RunnerApprovedA
286
286
 
287
287
  const buildJob = async (options: CloudflareControlOptions, input: ProviderDeployInput): Promise<CloudflareRunnerJob> => {
288
288
  input.signal.throwIfAborted()
289
+ if (input.environment.kind === 'dev') throw new Error('Cloudflare runs no dev environment (ADR-0049); a dev environment runs on Zerops only')
289
290
  assertRegistrationApp(input)
290
291
  const storedTarget = decodeEnvelope('target', 'cloudflare', input.environment.target, cloudflareStoredTargetCodec)
291
292
  const artifact = decodeEnvelope('artifact', 'cloudflare', input.environment.artifact, cloudflareArtifactCodec)