naro-cli 0.6.0 → 0.7.0

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/dist/deploy.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import { type CacheTransport } from "@next-deploy/build";
1
2
  import { type CliGitConnection } from "@next-deploy/sdk";
2
- import type { BuildObserver, DeploymentArtifact, DeploymentStatus } from "./artifact-types";
3
+ import type { BuildObserver, DeploymentArtifact, DeploymentStatus, DeploymentStrategyRecord } from "./artifact-types";
3
4
  import { type GitInfo } from "./git-info";
4
5
  /** The slice of LocalBuildExecutor the deploy flow needs — injectable in tests. */
5
6
  export interface DeployBuildExecutor {
@@ -10,7 +11,9 @@ export interface DeployBuildExecutor {
10
11
  branch: string;
11
12
  rootDirectory: string | null;
12
13
  env: Record<string, string>;
13
- }, observer: BuildObserver): Promise<{
14
+ strategy?: DeploymentStrategyRecord | null;
15
+ vinextEnabled?: boolean;
16
+ }, observer: BuildObserver, cache?: CacheTransport): Promise<{
14
17
  artifact: DeploymentArtifact;
15
18
  }>;
16
19
  }
@@ -18,7 +21,7 @@ export interface DeployBuildExecutor {
18
21
  export declare function parseDotenv(text: string): Record<string, string>;
19
22
  /** Reads the first of .env.local / .env.production / .env in a directory. */
20
23
  export declare function readProjectEnv(dir: string): Record<string, string>;
21
- export declare function eventsObserver(cp: string, deploymentId: string, token: string, fetchImpl?: typeof fetch): BuildObserver;
24
+ export declare function eventsObserver(cp: string, deploymentId: string, token: string, fetchImpl?: typeof fetch, logIngestUrl?: string): BuildObserver;
22
25
  export declare function slugify(value: string): string;
23
26
  export interface DeployOptions {
24
27
  name?: string | undefined;
package/dist/deploy.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  parseDotenv,
6
6
  readProjectEnv,
7
7
  slugify
8
- } from "./chunk-TYBC3YSK.js";
8
+ } from "./chunk-E2M6CQL7.js";
9
9
  export {
10
10
  deployDirectory,
11
11
  eventsObserver,