Skip to content

deps(dev): Add missing peer dependencies of dev dependencies - #16751

Merged
mydea merged 2 commits into
developfrom
fn/add-peer-dependencies
Jul 10, 2025
Merged

deps(dev): Add missing peer dependencies of dev dependencies#16751
mydea merged 2 commits into
developfrom
fn/add-peer-dependencies

Conversation

@mydea

@mydeamydea commented Jun 27, 2025

Copy link
Copy Markdown
Member

This adds missing peer dependencies that yarn complains about. Nothing should change, fundamentally.

Extracted this out of #16744

@mydeamydea self-assigned this Jun 27, 2025
@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch from 485df2e to d477e77CompareJune 27, 2025 08:16
@github-actions

github-actionsBot commented Jun 27, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.81 kB-0.73%-174 B 🔽
@sentry/browser - with treeshaking flags22.53 kB-5.15%-1.22 kB 🔽
@sentry/browser (incl. Tracing)39.42 kB-0.51%-200 B 🔽
@sentry/browser (incl. Tracing, Replay)77.53 kB-0.37%-287 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags67.51 kB-4.79%-3.39 kB 🔽
@sentry/browser (incl. Tracing, Replay with Canvas)82.23 kB-0.38%-308 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback)94.34 kB-0.4%-371 B 🔽
@sentry/browser (incl. Feedback)40.48 kB-0.67%-272 B 🔽
@sentry/browser (incl. sendFeedback)28.49 kB-0.74%-210 B 🔽
@sentry/browser (incl. FeedbackAsync)33.38 kB-0.62%-206 B 🔽
@sentry/react25.58 kB-0.69%-176 B 🔽
@sentry/react (incl. Tracing)41.38 kB-0.55%-225 B 🔽
@sentry/vue28.26 kB-0.4%-111 B 🔽
@sentry/vue (incl. Tracing)41.2 kB-0.52%-212 B 🔽
@sentry/svelte23.83 kB-0.75%-178 B 🔽
CDN Bundle25.36 kB-0.55%-139 B 🔽
CDN Bundle (incl. Tracing)39.43 kB-0.52%-205 B 🔽
CDN Bundle (incl. Tracing, Replay)75.36 kB-0.34%-251 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback)80.81 kB-0.34%-273 B 🔽
CDN Bundle - uncompressed74.08 kB-0.56%-415 B 🔽
CDN Bundle (incl. Tracing) - uncompressed117.11 kB-0.56%-652 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed231.04 kB-0.45%-1.03 kB 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed243.85 kB-0.43%-1.05 kB 🔽
@sentry/nextjs (client)43.02 kB-0.55%-237 B 🔽
@sentry/sveltekit (client)39.85 kB-0.58%-229 B 🔽
@sentry/node167.85 kB+3.72%+6.02 kB 🔺
@sentry/node - without tracing100.59 kB+1.83%+1.8 kB 🔺
@sentry/aws-serverless128.69 kB+3.29%+4.09 kB 🔺

View base workflow run

@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch 2 times, most recently from c752ad0 to 25687c2CompareJune 27, 2025 09:02
@codecov

codecovBot commented Jun 27, 2025

Copy link
Copy Markdown

❌ Unsupported file format

Upload processing failed due to unsupported file format. Please review the parser error message:
Error deserializing json

Caused by:
expected value at line 1 column 1

For more help, visit our troubleshooting guide.

@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch from f66c60e to 8e4e86bCompareJune 27, 2025 10:42

const expectedScripts = [
'/init.bundle.js',
'/subject.bundle.js',

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this (subject) is not defined for this test, apparently some changed webpack version emits or does not emit the empty file anymore, but this should be OK.

"@nestjs/common": "11.0.16",
"@nestjs/core": "10.4.6",
"@nestjs/platform-express": "10.4.6",
"@nestjs/common": "11.1.3",

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bumping & aligning to latest as that fixes some transitive dependency security issue.

"ember-template-lint": "~4.16.1",
"eslint-plugin-ember": "11.9.0",
"eslint-plugin-n": "16.0.1",
"eslint-plugin-n": "15.0.0",

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

downgrading because this actually requires eslint 8

import { captureException, getClient, getTraceMetaTags, logger } from '@sentry/core';
import type { VueOptions } from '@sentry/vue/src/types';
import type { CapturedErrorContext } from 'nitropack';
import type { CapturedErrorContext } from 'nitropack/types';

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this apparently changed in a newer nitropack version 😭

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we extract this change out? Might be easier debug/rollback if we need to.

};

export type SolidStartInlineConfig = Parameters<typeof defineConfig>[0];
export type SolidStartInlineConfig = NonNullable<Parameters<typeof defineConfig>[0]>;

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type is now possible undefined, which leads to problems.

@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch from 8e4e86b to 4ee837dCompareJuly 8, 2025 07:55
@mydea
mydea marked this pull request as ready for review July 8, 2025 08:30
@mydea
mydea requested a review from a team as a code ownerJuly 8, 2025 08:30
@mydea
mydea requested review from AbhiPrasad, Lms24 and s1gr1dJuly 8, 2025 08:31
@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch from 2785d43 to 1e7a6d4CompareJuly 8, 2025 11:33

@AbhiPrasadAbhiPrasad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be nice to split out the nuxt and solidstart changes given they change application code, git blame/rollback will be easier.

import { captureException, getClient, getTraceMetaTags, logger } from '@sentry/core';
import type { VueOptions } from '@sentry/vue/src/types';
import type { CapturedErrorContext } from 'nitropack';
import type { CapturedErrorContext } from 'nitropack/types';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we extract this change out? Might be easier debug/rollback if we need to.

@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch 2 times, most recently from 14cd14c to 519054dCompareJuly 9, 2025 11:29
mydea added a commit that referenced this pull request Jul 9, 2025
This just bumps the underlying transitive dependency on nitropack, which apparently changes some type imports.
Extracted out of #16751
mydea added a commit that referenced this pull request Jul 9, 2025
This just bumps the underlying transitive dependency on nitropack, which
apparently changes some type imports.
Extracted out of
#16751

@Lms24Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah these are peer dependencies specified by other dependencies. Took me a minute to grasp. But makes sense 👍

mydea added a commit that referenced this pull request Jul 10, 2025
This adds explicit peer dependecies in the solidstart package. Those are
dev dependencies only. Importantly, that seems to bump some things that
result in slightly different types we need to adjust to.
Extracted out of
#16751
This adds missing peer dependencies that yarn complains about. Nothing should change, fundamentally.
some more refs
@mydea
mydeaforce-pushed the fn/add-peer-dependencies branch from 519054d to 74c5fccCompareJuly 10, 2025 07:25
@mydeamydea changed the title deps: Add missing peer dependenciesdeps(dev): Add missing peer dependenciesJul 10, 2025
@mydea

Copy link
Copy Markdown
MemberAuthor

Extracted more user-facing changes out, now this should be more straightforward than before!

@mydeamydea changed the title deps(dev): Add missing peer dependenciesdeps(dev): Add missing peer dependencies of dependenciesJul 10, 2025
@mydeamydea changed the title deps(dev): Add missing peer dependencies of dependenciesdeps(dev): Add missing peer dependencies of dev dependenciesJul 10, 2025

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Sucrase Resolution Change Affects Transitive Dependencies

The sucrase resolution pattern in package.json was changed from **/sucrase to sucrase. This narrows the scope from all sucrase dependencies (including transitive) to only direct ones. Consequently, transitive dependencies requiring the getsentry/sucrase#es2020-polyfills custom fork will no longer receive it, potentially causing breakage if they rely on its ES2020 polyfills.

package.json#L151-L152

"cliui/wrap-ansi": "7.0.0",
"sucrase": "getsentry/sucrase#es2020-polyfills"

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

@mydea
mydea merged commit 2a7a74b into developJul 10, 2025
@mydea
mydea deleted the fn/add-peer-dependencies branch July 10, 2025 07:49
Lms24 added a commit that referenced this pull request Mar 19, 2026
…ncy (#19824)
It seems like we added `file-type` as a dependency in #16751 with the
reason that yarn was complaining about a missing peer dependency.
However, `file-type` is not a peer dependency but a dependency of
`@nestjs/common`. So it should be installed anyway. Given CI passes, I'd
rather remove it for now.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@mydea@Lms24@AbhiPrasad@chargome