@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.
- package/README.md +103 -21
- package/client.cjs +340 -0
- package/client.d.cts +95 -0
- package/client.d.ts +95 -0
- package/client.js +339 -0
- package/examples/client-route-spans.mjs +38 -0
- package/examples/index.mjs +4 -0
- package/examples/package.json +1 -0
- package/index.cjs +209 -59
- package/index.d.cts +45 -2
- package/index.d.ts +45 -2
- package/index.js +209 -59
- package/package.json +32 -2
- package/release-artifacts.cjs +199 -0
- package/release-artifacts.d.cts +35 -0
- package/release-artifacts.d.ts +35 -0
- package/release-artifacts.js +6 -0
|
@@ -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;
|