@astrale-os/adapter-cloudflare 0.4.8 → 0.4.10

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.
@@ -13,7 +13,7 @@
13
13
  */
14
14
  import { CLIENT_DIST_DIR } from '../client';
15
15
  import { deepMergeConfig } from './merge';
16
- const COMPATIBILITY_DATE = '2026-07-12';
16
+ const COMPATIBILITY_DATE = '2026-07-07';
17
17
  export function generateWranglerConfig(opts) {
18
18
  const config = {
19
19
  name: opts.workerName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/adapter-cloudflare",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "Deploy an Astrale domain as a standalone Cloudflare Worker",
5
5
  "keywords": [
6
6
  "adapter",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "jose": "^6.1.3",
36
- "@astrale-os/sdk": "^0.4.14"
36
+ "@astrale-os/sdk": "^0.4.19"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@astrale-os/ox": ">=0.1.0 <1.0.0",
@@ -42,7 +42,8 @@
42
42
  "oxfmt": "0.52.0",
43
43
  "oxlint": "latest",
44
44
  "typescript": "~6.0.1-rc",
45
- "vitest": "^3.0.0"
45
+ "vitest": "^3.0.0",
46
+ "wrangler": "4.106.0"
46
47
  },
47
48
  "engines": {
48
49
  "node": ">=22"
@@ -41,7 +41,7 @@ export interface WranglerCodegenOptions {
41
41
  wrangler?: Record<string, unknown>
42
42
  }
43
43
 
44
- const COMPATIBILITY_DATE = '2026-07-12'
44
+ const COMPATIBILITY_DATE = '2026-07-07'
45
45
 
46
46
  export function generateWranglerConfig(opts: WranglerCodegenOptions): string {
47
47
  const config: Record<string, unknown> = {
@@ -0,0 +1,16 @@
1
+ # Deps
2
+ node_modules/
3
+
4
+ # Generated plumbing (worker entry, wrangler config, identity, spec)
5
+ .astrale/
6
+ .domain-studio/.cache/
7
+
8
+ # Worker dev + build artifacts
9
+ .dev.vars
10
+ .wrangler/
11
+ .dist/
12
+
13
+ # Secrets — every .env.<env> is gitignored; .env.example is the only one tracked
14
+ .env
15
+ .env.*
16
+ !.env.example
@@ -0,0 +1,4 @@
1
+ node_modules/
2
+
3
+ # Vite build output goes to ../.dist (gitignored at the domain root)
4
+ dist/
@@ -44,11 +44,12 @@
44
44
  "oxlint": ">=1.72.0 <2.0.0",
45
45
  "typescript": "~6.0.1-rc",
46
46
  "vitest": "^3.2.4",
47
- "wrangler": "^4.0.0"
47
+ "wrangler": ">=4.106.0 <5.0.0"
48
48
  },
49
49
  "engines": {
50
- "node": ">=22"
50
+ "node": ">=22.13"
51
51
  },
52
+ "packageManager": "pnpm@11.13.1",
52
53
  "trustedDependencies": [
53
54
  "esbuild",
54
55
  "sharp",
@@ -5,12 +5,8 @@ packages:
5
5
 
6
6
  # pnpm blocks dependency build scripts by default; these need their postinstall
7
7
  # to run (workerd is wrangler's runtime — without it `pnpm dev`/`pnpm prod`
8
- # fail). Both spellings are set because pnpm renamed the key: v10 reads
9
- # `onlyBuiltDependencies`, v11+ reads `allowBuilds`; each ignores the other.
10
- onlyBuiltDependencies:
11
- - esbuild
12
- - sharp
13
- - workerd
8
+ # fail). Internal guarded preinstalls are explicitly denied because they are
9
+ # no-ops outside the umbrella workspace.
14
10
  allowBuilds:
15
11
  esbuild: true
16
12
  sharp: true
@@ -25,20 +21,11 @@ allowBuilds:
25
21
  '@astrale-os/sdk': false
26
22
  '@astrale-os/shell': false
27
23
  '@astrale-os/shell-react': false
24
+ # Optional native msgpack acceleration; the JS fallback is the portable
25
+ # scaffold baseline and does not require executing a transitive build script.
26
+ msgpackr-extract: false
28
27
 
29
- # @astrale-os packages ship a guarded no-op preinstall (a workspace-dev guard
30
- # that exits instantly outside the monorepo); declare them intentionally
31
- # ignored so pnpm's build gate stays quiet.
32
- ignoredBuiltDependencies:
33
- - '@astrale-os/kernel-api'
34
- - '@astrale-os/kernel-client'
35
- - '@astrale-os/kernel-core'
36
- - '@astrale-os/kernel-dsl'
37
- - '@astrale-os/kernel-server'
38
- - '@astrale-os/sdk'
39
- - '@astrale-os/shell'
40
- - '@astrale-os/shell-react'
41
-
42
- # pnpm v11 gates `pnpm run` on a deps-status check that misfires on the
43
- # ignored preinstalls above.
28
+ # Keep pnpm 11's one-day default non-strict and never install implicitly before
29
+ # `pnpm run` or `pnpm exec`.
30
+ minimumReleaseAgeStrict: false
44
31
  verifyDepsBeforeRun: false