milkio 1.0.0-alpha.20 → 1.0.0-alpha.21

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/context/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { type MilkioHttpRequest, type MilkioHttpResponse, type $types, type Logger, type Steps, type Mixin, type ExecuteOptions, type Action } from "..";
2
2
 
3
3
  export interface $context {
4
+ develop: boolean;
4
5
  executeId: string;
5
6
  environment: string;
6
7
  path: string;
package/execute/index.ts CHANGED
@@ -65,6 +65,7 @@ export const __initExecuter = <MilkioRuntime extends MilkioRuntimeInit<MilkioRun
65
65
  if (options.mixinContext?.http?.params?.string) options.mixinContext.http.params.parsed = params; // listen でパースしたパラメータを渡す
66
66
  const context = {
67
67
  ...(options.mixinContext ? options.mixinContext : {}),
68
+ develop: runtime.develop,
68
69
  envMode,
69
70
  path: options.path,
70
71
  logger: options.createdLogger,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "milkio",
3
3
  "type": "module",
4
4
  "module": "index.ts",
5
- "version": "1.0.0-alpha.20",
5
+ "version": "1.0.0-alpha.21",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },