Skip to content

Commit 0a3001e

Browse files
authored
test: Rollup integration tests (#897)
1 parent ef7d97f commit 0a3001e

File tree

157 files changed

+1667
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+1667
-191
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
"packages/vite-plugin",
2020
"packages/webpack-plugin",
2121
"packages/integration-tests-next",
22-
"packages/integration-tests-next/fixtures/rolldown"
22+
"packages/integration-tests-next/fixtures/rolldown",
23+
"packages/integration-tests-next/fixtures/rollup3",
24+
"packages/integration-tests-next/fixtures/rollup4"
2325
],
2426
"scripts": {
2527
"postinstall": "patch-package",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import type { SentryRollupPluginOptions } from "@sentry/rollup-plugin";
2+
export declare const sentryConfig: SentryRollupPluginOptions;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export const sentryConfig = {
2+
telemetry: false,
3+
sourcemaps: {
4+
filesToDeleteAfterUpload: ["out/after-upload-deletion/basic.js.map"],
5+
},
6+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import type { SentryRollupPluginOptions } from "@sentry/rollup-plugin";
2+
export declare const sentryConfig: SentryRollupPluginOptions;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const sentryConfig = {
2+
telemetry: false,
3+
applicationKey: "1234567890abcdef",
4+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import type { SentryRollupPluginOptions } from "@sentry/rollup-plugin";
2+
export declare const sentryConfig: SentryRollupPluginOptions;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const sentryConfig = {
2+
telemetry: false,
3+
release: { create: false, inject: false },
4+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import type { SentryRollupPluginOptions } from "@sentry/rollup-plugin";
2+
export declare const sentryConfig: SentryRollupPluginOptions;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export const sentryConfig = {
2+
telemetry: false,
3+
authToken: "fake-auth",
4+
org: "fake-org",
5+
project: "fake-project",
6+
};

0 commit comments

Comments
 (0)