-
Notifications
You must be signed in to change notification settings - Fork 4
Chore/20250811 #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Chore/20250811 #235
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
499a992
chore: update root dependencies
SvenVw 8f4d62c
chore: update pnpm
SvenVw 198efca
chore: update fdm-core dependencies
SvenVw 2e179b8
chore: update fdm-app dependencies
SvenVw e4540af
chore: update fdm-docs dependencies
SvenVw 99c93a8
Merge branch 'development' into chore/20250811
SvenVw 5405471
feat: include sourcemaps
SvenVw 0610a8e
chore: update fdm-app dependency
SvenVw 50caaab
fix: lockfile
SvenVw f34943f
refactor: remove duplicate import of css file
SvenVw c246926
refactor: Switch to `@sentry/react-router` from `@sentry/react` for b…
SvenVw 8c45b37
fix: upload sourcemap when sentry auth token is provided
SvenVw 4bf62d3
refactor: remove logging
SvenVw 034c5f4
refactor: improve upload
SvenVw b7067fd
nitpicks
SvenVw c6e166a
fix: set async for function
SvenVw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@svenvw/fdm-app": patch | ||
| --- | ||
|
|
||
| Migrate Sentry to `@sentry/react-router` (RRv7 integration with improved routing-aware tracing and profiling) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
fdm-app/app/routes/farm.$b_id_farm.$calendar.field.$b_id.atlas.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,24 @@ | ||
| import type { Config } from "@react-router/dev/config" | ||
| import { sentryOnBuildEnd } from "@sentry/react-router" | ||
| export default { | ||
| ssr: true, | ||
| buildEnd: async ({ viteConfig, reactRouterConfig, buildManifest }) => { | ||
| if ( | ||
| process.env.SENTRY_AUTH_TOKEN !== undefined && | ||
| process.env.NODE_ENV === "production" | ||
| ) { | ||
| try { | ||
| await sentryOnBuildEnd({ | ||
| viteConfig, | ||
| reactRouterConfig, | ||
| buildManifest, | ||
| }) | ||
| } catch (err) { | ||
| console.warn( | ||
| "Sentry buildEnd hook failed; continuing without blocking the build.", | ||
| err, | ||
| ) | ||
| } | ||
| } | ||
| }, | ||
| } satisfies Config |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Mapbox GL 3.14 and proj4 2.19.x — verify worker/css import and ESM import style
Run:
If require("proj4") is found, replace with:
Also applies to: 58-58
🏁 Script executed:
Length of output: 476
🏁 Script executed:
Length of output: 144
Consolidate Mapbox GL CSS import and confirm ESM proj4 usage
Confirmed that Mapbox CSS is imported in:
• fdm-app/app/root.tsx (line 2)
• fdm-app/app/routes/farm.$b_id_farm.$calendar.field.$b_id.atlas.tsx (line 2)
• fdm-app/app/routes/farm.$b_id_farm.$calendar.atlas.fields._index.tsx (line 8)
To avoid duplicate styling, remove the CSS imports from the two route files and keep the single import in
app/root.tsx.No CommonJS
require("proj4")calls were found in the codebase—ESM imports are already in use, so no changes needed for proj4.Files to update:
import "mapbox-gl/dist/mapbox-gl.css"from• fdm-app/app/routes/farm.$b_id_farm.$calendar.field.$b_id.atlas.tsx
• fdm-app/app/routes/farm.$b_id_farm.$calendar.atlas.fields._index.tsx
🤖 Prompt for AI Agents