@tokamakdev/tok 0.1.1-beta.134 → 0.1.1-beta.136

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/dist/astro.mjs +1 -1
  2. package/package.json +17 -17
package/dist/astro.mjs CHANGED
@@ -42,7 +42,7 @@ export function tokamak(options = {}, cloudflareOptions = {}) {
42
42
  },
43
43
  async "astro:config:done"(context) {
44
44
  await adapter.hooks["astro:config:done"]?.(context);
45
- const driver = context.config.session?.driver;
45
+ const driver = context.config.session ? context.config.session.driver : undefined;
46
46
  const entry = typeof driver === "string" ? driver : driver?.entrypoint.toString();
47
47
  if (entry === "cloudflareKVBinding" || entry?.endsWith("cloudflare-kv-binding") ||
48
48
  entry === sessionDrivers.cloudflareKVBinding().entrypoint) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokamakdev/tok",
3
- "version": "0.1.1-beta.134",
3
+ "version": "0.1.1-beta.136",
4
4
  "description": "The tokamak CLI, Vite plugin and app API: build native apps from a Cloudflare Workers codebase",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,14 +43,14 @@
43
43
  "node": ">=18"
44
44
  },
45
45
  "dependencies": {
46
- "@tokamakdev/plugin": "0.1.0-beta.134",
46
+ "@tokamakdev/plugin": "0.1.0-beta.136",
47
47
  "typescript": "5.9.3",
48
48
  "ws": "^8.22.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@astrojs/cloudflare": "^13.1.8",
51
+ "@astrojs/cloudflare": ">=13.1.8",
52
52
  "@cloudflare/vite-plugin": "^1.54.0",
53
- "astro": "^6.1.5",
53
+ "astro": ">=6.1.5",
54
54
  "vite": "^7.0.0 || ^8.0.0",
55
55
  "wrangler": "^4.126.0"
56
56
  },
@@ -66,26 +66,26 @@
66
66
  }
67
67
  },
68
68
  "devDependencies": {
69
- "@astrojs/cloudflare": "13.1.8",
69
+ "@astrojs/cloudflare": "14.4.2",
70
70
  "@cloudflare/vite-plugin": "1.62.5",
71
71
  "@types/node": "22.19.15",
72
72
  "@types/ws": "8.18.2",
73
- "astro": "6.1.5",
73
+ "astro": "7.4.2",
74
74
  "vite": "7.3.7",
75
75
  "wrangler": "4.147.0"
76
76
  },
77
77
  "optionalDependencies": {
78
- "@tokamakdev/platform-android-arm64": "0.1.1-beta.134",
79
- "@tokamakdev/platform-ios-arm64": "0.1.1-beta.134",
80
- "@tokamakdev/platform-ios-simulator-arm64": "0.1.1-beta.134",
81
- "@tokamakdev/platform-ios-simulator-x64": "0.1.1-beta.134",
82
- "@tokamakdev/platform-macos-arm64": "0.1.1-beta.134",
83
- "@tokamakdev/platform-macos-x64": "0.1.1-beta.134",
84
- "@tokamakdev/platform-windows-x64": "0.1.1-beta.134",
85
- "@tokamakdev/tok-darwin-arm64": "0.1.1-beta.134",
86
- "@tokamakdev/tok-darwin-x64": "0.1.1-beta.134",
87
- "@tokamakdev/tok-linux-x64": "0.1.1-beta.134",
88
- "@tokamakdev/tok-win32-x64": "0.1.1-beta.134"
78
+ "@tokamakdev/platform-android-arm64": "0.1.1-beta.136",
79
+ "@tokamakdev/platform-ios-arm64": "0.1.1-beta.136",
80
+ "@tokamakdev/platform-ios-simulator-arm64": "0.1.1-beta.136",
81
+ "@tokamakdev/platform-ios-simulator-x64": "0.1.1-beta.136",
82
+ "@tokamakdev/platform-macos-arm64": "0.1.1-beta.136",
83
+ "@tokamakdev/platform-macos-x64": "0.1.1-beta.136",
84
+ "@tokamakdev/platform-windows-x64": "0.1.1-beta.136",
85
+ "@tokamakdev/tok-darwin-arm64": "0.1.1-beta.136",
86
+ "@tokamakdev/tok-darwin-x64": "0.1.1-beta.136",
87
+ "@tokamakdev/tok-linux-x64": "0.1.1-beta.136",
88
+ "@tokamakdev/tok-win32-x64": "0.1.1-beta.136"
89
89
  },
90
90
  "publishConfig": {
91
91
  "access": "public"