Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Jul 24, 2023

Instead of looking up folders in package, fetch the packages from the root package.json. This way, if you e.g. have empty folders or similar in your package/ dir, it will not fail.

I notice this sometimes when working with new packages or similar, and switching branches, you may have leftover empty directories in packages/, which leads to integration tests failing unless you make sure to delete the directories.

Instead of looking up folders in `package`, fetch the packages from the root package.json. This way, if you e.g. have empty folders or similar in your `package/` dir, it will not fail.
@mydea mydea requested review from Lms24 and lforst July 24, 2023 09:25
@mydea mydea self-assigned this Jul 24, 2023
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.99 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 69.25 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 20.33 KB (-0.02% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 60.48 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 21.95 KB (-0.01% 🔽)
@sentry/browser - Webpack (minified) 71.63 KB (0%)
@sentry/react - Webpack (gzipped + minified) 21.96 KB (-0.01% 🔽)
@sentry/nextjs Client - Webpack (gzipped + minified) 50.83 KB (-0.01% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 30.37 KB (+0.01% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 28.24 KB (0%)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 49.56 KB (0%)
@sentry/replay - Webpack (gzipped + minified) 43.33 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 69.73 KB (-0.01% 🔽)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 62 KB (-0.01% 🔽)

@mydea mydea merged commit 511ba83 into develop Jul 24, 2023
@mydea mydea deleted the fn/integration-test-dirs branch July 24, 2023 11:25
Sign up for free to 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.

3 participants