@logbrew/next 0.1.0 → 0.1.1

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.
@@ -0,0 +1,35 @@
1
+ export type LogBrewNextReleaseArtifactUploadOptions = {
2
+ endpoint: string;
3
+ allowHostedUpload?: boolean;
4
+ tokenEnv?: string;
5
+ dryRun?: boolean;
6
+ maxRetries?: number;
7
+ retryDelay?: number;
8
+ timeout?: number;
9
+ };
10
+
11
+ export type LogBrewNextReleaseArtifactsOptions = {
12
+ release: string;
13
+ environment: string;
14
+ service: string;
15
+ projectId?: string;
16
+ minifiedPathPrefix?: string;
17
+ root?: string;
18
+ buildDir?: string;
19
+ manifestPath?: string;
20
+ repositoryUrl?: string;
21
+ commitSha?: string;
22
+ stripSourcesContent?: boolean;
23
+ stripSourcePrefix?: string[];
24
+ enableSourceMaps?: boolean;
25
+ upload?: LogBrewNextReleaseArtifactUploadOptions;
26
+ };
27
+
28
+ export declare function withLogBrewNextReleaseArtifacts<TConfig>(
29
+ nextConfig: TConfig,
30
+ options: LogBrewNextReleaseArtifactsOptions
31
+ ): TConfig;
32
+
33
+ declare const defaultExport: typeof withLogBrewNextReleaseArtifacts;
34
+
35
+ export default defaultExport;
@@ -0,0 +1,6 @@
1
+ import releaseArtifacts from "./release-artifacts.cjs";
2
+
3
+ export const withLogBrewNextReleaseArtifacts =
4
+ releaseArtifacts.withLogBrewNextReleaseArtifacts;
5
+
6
+ export default withLogBrewNextReleaseArtifacts;