Skip to content

Commit 6e0b9f5

Browse files
feat: error tracking source map upload examples (#1685)
1 parent f80bb43 commit 6e0b9f5

71 files changed

Lines changed: 29323 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Minimal Android marker so source-maps platform detection picks "android".
2+
// Intentionally just this one file — no Gradle project, no sources — to
3+
// exercise the wizard's "unsupported-platform" intro screen. See the wizard's
4+
// detect.ts (hasGradle -> variant "android").
5+
plugins {
6+
id "com.android.application"
7+
}
8+
9+
android {
10+
namespace "com.example.app"
11+
compileSdk 34
12+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Minimal Flutter marker so source-maps platform detection picks "flutter".
2+
# Intentionally just this one file — no lib/, no real project — to exercise the
3+
# wizard's "unsupported-platform" intro screen. See the wizard's detect.ts
4+
# (hasPubspec -> variant "flutter").
5+
name: flutter_app
6+
description: Source-maps platform-detection fixture.
7+
publish_to: "none"
8+
version: 1.0.0+1
9+
10+
environment:
11+
sdk: ">=3.0.0 <4.0.0"
12+
13+
dependencies:
14+
flutter:
15+
sdk: flutter
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Minimal iOS marker so source-maps platform detection picks "ios".
2+
# Intentionally just this one file — no .xcodeproj, no real project — to
3+
# exercise the wizard's "unsupported-platform" intro screen. See the wizard's
4+
# detect.ts (hasPodfile -> variant "ios").
5+
platform :ios, "13.0"
6+
7+
target "App" do
8+
use_frameworks!
9+
end
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
.next
3+
out
4+
.env*.local
5+
*.log
6+
.DS_Store
7+
next-env.d.ts
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import type { Metadata } from "next";
2+
3+
export const metadata: Metadata = {
4+
title: "Next App",
5+
description: "Test fixture without PostHog installed",
6+
};
7+
8+
export default function RootLayout({
9+
children,
10+
}: {
11+
children: React.ReactNode;
12+
}) {
13+
return (
14+
<html lang="en">
15+
<body>{children}</body>
16+
</html>
17+
);
18+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default function Home() {
2+
return (
3+
<main style={{ padding: "2rem", fontFamily: "system-ui" }}>
4+
<h1>Next.js test fixture</h1>
5+
<p>This page exists to give the bundler something to ship.</p>
6+
</main>
7+
);
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
reactStrictMode: true,
5+
};
6+
7+
export default nextConfig;

0 commit comments

Comments
 (0)