@tokamakdev/tok 0.1.1-beta.102 → 0.1.1-beta.103

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/index.d.mts +9 -5
  2. package/package.json +13 -13
package/dist/index.d.mts CHANGED
@@ -11,14 +11,18 @@ export interface PlatformConfig {
11
11
  /** A setting the platform pack declares; `tok` validates it. */
12
12
  [key: string]: Value | undefined;
13
13
  }
14
+ /** A plugin setting's value: one value, a list, or a map, of the kind the plugin declares. */
15
+ export type PluginValue = Value | Value[] | {
16
+ [key: string]: Value;
17
+ };
14
18
  /** One plugin's settings: values for every platform, and each platform's own. */
15
19
  export interface PluginConfig {
16
- android?: Record<string, Value | undefined>;
17
- ios?: Record<string, Value | undefined>;
18
- macos?: Record<string, Value | undefined>;
19
- windows?: Record<string, Value | undefined>;
20
+ android?: Record<string, PluginValue | undefined>;
21
+ ios?: Record<string, PluginValue | undefined>;
22
+ macos?: Record<string, PluginValue | undefined>;
23
+ windows?: Record<string, PluginValue | undefined>;
20
24
  /** A setting the plugin declares; `tok` validates it. */
21
- [key: string]: Value | Record<string, Value | undefined> | undefined;
25
+ [key: string]: PluginValue | Record<string, PluginValue | undefined> | undefined;
22
26
  }
23
27
  /**
24
28
  * The app's tokamak configuration: the tokamak Vite plugin's options other than `module`. Other
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokamakdev/tok",
3
- "version": "0.1.1-beta.102",
3
+ "version": "0.1.1-beta.103",
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",
@@ -39,7 +39,7 @@
39
39
  "node": ">=18"
40
40
  },
41
41
  "dependencies": {
42
- "@tokamakdev/plugin": "0.1.0-beta.102",
42
+ "@tokamakdev/plugin": "0.1.0-beta.103",
43
43
  "ws": "^8.22.0"
44
44
  },
45
45
  "peerDependencies": {
@@ -64,17 +64,17 @@
64
64
  "wrangler": "4.147.0"
65
65
  },
66
66
  "optionalDependencies": {
67
- "@tokamakdev/platform-android-arm64": "0.1.1-beta.102",
68
- "@tokamakdev/platform-ios-arm64": "0.1.1-beta.102",
69
- "@tokamakdev/platform-ios-simulator-arm64": "0.1.1-beta.102",
70
- "@tokamakdev/platform-ios-simulator-x64": "0.1.1-beta.102",
71
- "@tokamakdev/platform-macos-arm64": "0.1.1-beta.102",
72
- "@tokamakdev/platform-macos-x64": "0.1.1-beta.102",
73
- "@tokamakdev/platform-windows-x64": "0.1.1-beta.102",
74
- "@tokamakdev/tok-darwin-arm64": "0.1.1-beta.102",
75
- "@tokamakdev/tok-darwin-x64": "0.1.1-beta.102",
76
- "@tokamakdev/tok-linux-x64": "0.1.1-beta.102",
77
- "@tokamakdev/tok-win32-x64": "0.1.1-beta.102"
67
+ "@tokamakdev/platform-android-arm64": "0.1.1-beta.103",
68
+ "@tokamakdev/platform-ios-arm64": "0.1.1-beta.103",
69
+ "@tokamakdev/platform-ios-simulator-arm64": "0.1.1-beta.103",
70
+ "@tokamakdev/platform-ios-simulator-x64": "0.1.1-beta.103",
71
+ "@tokamakdev/platform-macos-arm64": "0.1.1-beta.103",
72
+ "@tokamakdev/platform-macos-x64": "0.1.1-beta.103",
73
+ "@tokamakdev/platform-windows-x64": "0.1.1-beta.103",
74
+ "@tokamakdev/tok-darwin-arm64": "0.1.1-beta.103",
75
+ "@tokamakdev/tok-darwin-x64": "0.1.1-beta.103",
76
+ "@tokamakdev/tok-linux-x64": "0.1.1-beta.103",
77
+ "@tokamakdev/tok-win32-x64": "0.1.1-beta.103"
78
78
  },
79
79
  "publishConfig": {
80
80
  "access": "public"