Skip to content
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

feat: add turborepo for improved monorepo development experience #1195

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

abretonc7s
Copy link
Collaborator

Description

This PR introduces Turborepo to optimize our monorepo's development workflow, particularly focusing on the core SDK packages.

🔍 Key Changes

  • Added Turborepo configuration with optimized task definitions for build, dev, lint, and type checking
  • Introduced parallel development command dev:core to simultaneously work on core SDK packages
  • Updated package scripts for consistent watch/dev modes across packages
  • Added concurrently for improved development experience in SDK packages

💡 Implementation Details

  • Configured turbo.json with:
    • Task dependencies and caching rules
    • Global env variable handling
    • Persistent dev mode for better DX
  • Added dev scripts in core packages to support concurrent typescript compilation and rollup bundling
  • Standardized build outputs and cache management

@abretonc7s abretonc7s requested a review from a team as a code owner January 15, 2025 00:53
Copy link

socket-security bot commented Jan 15, 2025

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] environment, filesystem, shell +1 413 kB gustavohenke
npm/[email protected] None 0 30 MB turbobot
npm/[email protected] None 0 26.2 MB turbobot
npm/[email protected] None 0 32.6 MB turbobot
npm/[email protected] None 0 27.6 MB turbobot
npm/[email protected] None 0 40.2 MB turbobot
npm/[email protected] None 0 40.2 MB turbobot
npm/[email protected] None 0 14.9 kB turbobot
npm/[email protected] None 0 138 B jaredpalmer

View full report↗︎

Copy link

socket-security bot commented Jan 15, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/[email protected]

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@abretonc7s
Copy link
Collaborator Author

@SocketSecurity ignore npm/[email protected]

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.02%. Comparing base (1e40815) to head (e943b9c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1195   +/-   ##
=======================================
  Coverage   74.02%   74.02%           
=======================================
  Files         182      182           
  Lines        4343     4343           
  Branches     1064     1064           
=======================================
  Hits         3215     3215           
  Misses       1128     1128           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abretonc7s abretonc7s enabled auto-merge (squash) January 15, 2025 09:59
@abretonc7s abretonc7s merged commit 53af746 into main Jan 15, 2025
34 checks passed
@abretonc7s abretonc7s deleted the turborepo branch January 15, 2025 10:14
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.

2 participants