#monorepo
I'm #streaming some #godot #gameDev today - focusing on refactoring parts of Dino (my games/addons #monorepo: https://github.com/russmatney/dino) to use Pandora, a new db-like addon.
Check out the stream (or later on, the vod): https://www.twitch.tv/russmatney
Be sure to check out Pandora, from @bitbraindev: https://github.com/bitbrain/pandora - still in alpha, but pretty useful already :)
What is the best way to share dependencies between packages in #turborepo
I've got a bunch of #NextJS apps in `/apps/` folder and some component libs in `/packages`. I want all the packages to share the same version of material UI as a dependency. What is the recommended way?
Does anybody have any suggestions about how to make a #monorepo perform well given what I have said? Any good tools to use or should I just not do it? #Lerna #NX #Turborepo etc.? Stack currently Jekyll, but will be moving to something Node/Deno flavoured.
Currently at work we have a large site that is made from ~75 smaller sites, each generated from it's own repo and synced to a different "folder" in S3.
Each of these smaller sites shares a common theme amongst other things - this ensures the site looks cohesive as a larger site.
Each repo has a totally separate team of writers/developers working on it.
It works well, has some excellent pros, but also some significant cons too. The alternative is a #monorepo with some serious CODEOWNERS use.
People, please, please, please: don't use #monorepo if you are not an expert on tooling and have many years of experience.
You'll fuck it up. It will be horrible, and the worst part: you won't know. You won't understand how horrible it is due to lack of experience with better systems, and you won't see a path forward for how to improve it, except burning it all and start again from scratch.
This advice is even more relevant when using #TypeScript
I'm looking for a #monorepo solution at work. We are a small team (6 people) and mostly use #TypeScript so I'm looking for something that is not overkill. #npm workspaces seemed interesting, is it good enough or should I dive into something more serious?
Anyone doing #github #actions - does anyone know a way to do dynamic environment variables, at the job level - based on a folder in a #monorepo?
I need to build container images and frontend apps, and pass to them different API paths and keys. At the moment every time an app is added, the secrets and vars need to get added to be passed down into the actions.
For anyone looking into #nx or #turborepo for their #monorepo, a huge difference is that Turborepo has somewhat better support for Yarn Plug'n'Play.
A short code example to extract the dependency graph of _all_ packages within a #JavaScript (or #TypeScript, npm/yarn-style) #MonoRepo and produce its visualization via #GraphViz (the viz shown uses the neato layout engine).
The 2nd code example produces textual output of the same source data... In both cases all done via just a few select https://thi.ng/umbrella packages...
cc @nkint
Last week, at our first in person meetup after 2019, Dominik from Textbroker livecoded us through the Nx build system for a mono repo setup — supported by pizza, drinks, fun conversations and a raffle for the EnterJS conf 😎 Take a look:
https://www.frontend-rheinmain.de/events/full-stack-monorepo-development-with-nx/
It's 35k lines long!!! We *just* started moving old packages into the monorepo a few months ago, it's going to get MUCH BIGGER.
#monorepo is an #AntiPattern
Somehow, every #packageManager that tries to replace #NPM is worse than the last.
I can't even open #PNPM's package_lock.json in my company's #monorepo because #VSCode runs out of memory trying to display a changeset.
I don't even WANT a fucking package_lock!!!
I'm becoming more and more convinced that monorepos for open-source projects are terrible for casual contributors.
I’ve just released attempt 2 at a workaround for monorepos with :github: Advanced Security Code Scanning results, to let you filter by project 🚀
My last try didn’t work out, but I’ve taken a new tack ⛵️ and come back with a new ✨ way…
https://github.com/advanced-security/monorepo-filtering-workaround
The sample Actions workflow I’ve shown works for CodeQL, but you can apply the same idea to any Code Scanning integration.
#GitHub #SAST #GitHubAdvancedSecurity #MonoRepo #DevSecOps #SecureCoding
People who are working with #npm #monorepo's, if I have a package (eslint config) in the monorepo that is used as `devDependency` in other package from the same repo, and that other package is going to be published. Does this `devDependency` has to be published too? Or can it stay private? I really don't see sense publishing it, but also couldn't find information whether npm cares about devDeps...
Also tagging #nx #lerna #turborepo #pnpm #javascript, in case you guys maybe know the answer.
3 - Repetição de código, você vai ter o mesmo arquivo, com o mesmo conteúdo em um ou mais projetos, se você tiver um #monorepo ainda, pior.
I've opensourced Actions/scripts to enhance #GitHub Code Scanning
🔖 tag-sarif: for filtering results in a #monorepo
🧭 remap-sarif: for scanning code that transpiles to #JavaScript
tag-sarif attaches custom tags to results to allow filtering in the Code Scanning UI
remap-sarif lets you scan languages/frameworks, such as Dart/Next.is, using Source Maps
Source:
https://lnkd.in/dZerNsGs
https://lnkd.in/dvmruWDJ
We found a way to combine turborepo's great builds with overmind's great process management.
https://gist.github.com/canadaduane/8b3da949fc106dfd9416f2ae21e9fd08
Maintaining a #monorepo already has enough challenges. Keeping its #CODEOWNERS up to date can be difficult. I started on a new #GitHubCLI extension: `gh ext install heaths/gh-codeowners`
It does only simple linting for now but will have a fix mode for supported error types.
See https://github.com/heaths/gh-codeowners/releases/tag/v0.1.0 for more information. #GitHub
Quite happy that I started splitting a larger #React app a while ago into a #monorepo with each workspace containing everything related to a feature.
Plus a core package with shared code, a package that wires everything together and two packages for the two build targets.
Can focus on a few folders when doing my work and it’s easier to show contributors where to work and they can mostly ignore the rest.
It’s also obvious in PRs when code leaks out of its workspace.
Monorepos Lead To Bad Developer Culture.
This might seem like somewhat of a stretch, but hear me out.
What does your team dev workflow look like?
Please tick which apply, or comment for more info.
For those who use a monorepo with trunk-based workflow, can you teach me how code review, linting and security testing (e.g. SAST) fit into your workflow?
Since the hashtag is totally empty for me on here, I'll start it:
Anyone on the #fediverse want to talk to #turborepo, let me know :D.
#vercel #monorepo #nextjs #frontend #programming #nx #moon #bazel #etc #etc
For those of you interested in the SCM and monorepo space, check out https://sapling-scm.com/ if you haven't already.
My favorite feature after using this for a bit is using a VFS for your local working copy so that files from the current revision are lazily loaded
🎉Part 4: Building a Fullstack App with #dart_frog and u/FlutterDev in a Monorepo is now LIVE🚀!
🛠 Implement r/PostgreSQL db, added r/laravel -inspired HTTPController, fully implement CRUD, datasource, repository.
https://saileshdahal.com.np/building-a-fullstack-app-with-dartfrog-and-flutter-in-a-monorepo-part-3
#fullstack #monorepo #todoapp #flutter
submitted by /u/saileshbro
[link] [comment…
https://www.reddit.com/r/FlutterDev/comments/1016smg/part_4_building_a_fullstack_app_with_dart_frog/
🚀 Building a Fullstack App with #dart_frog and r/FlutterDev in a Monorepo - Part 3 is live! 🚀🥳
🚀 Building a Fullstack App with #dart_frog and r/FlutterDev in a Monorepo - Part 3 is live! 🚀🥳
✂️ Had to split Part 3 into two parts because it was getting too big!
🗓️ Will be posting part 4 tomorrow😎!
#flutter #dart_frog #fullstack #monorepo
https://saileshdahal.com.np/building-a-fullstack-app-with…
https://www.reddit.com/r/FlutterDev/comments/100iwjo/building_a_fullstack_app_with_dart_frog_and/
I have so many #chaostoolkit extensions, each on their own repository. I do wonder if I shouldn't collate them into a single repository. #monorepo
And this link: https://turbo.build/repo/docs/handbook/tools/prisma
was super helpful in setting up #prisma in a #monorepo with #pnpm.
Making a quick shout out to my favorite developer tool in the whole wide world! ❤️❤️❤️
Nx: Smart, Fast and Extensible Build System
https://nx.dev/
Explain me how a #monorepo is not the symptom of what Team Topologies calls “Monolitic (Coupled) Releases”
My newest article breaks down my #monorepo structure for #tootahead, as well as how I'm automating deployment with Netlify and Azure DevOps.
https://brianmorrison.me/blog/building-a-mastodon-scheduler-project-structure-deployments
How a #monorepo looks like with GitHub's Visualizing a Codebase 🤩
Docs: https://githubnext.com/projects/repo-visualization/
Example: https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=ngrx%2Fplatform

I've just asked my first question on #StackOverflow in what feels like forever! If you're a #nrwl #nx pro, could you help me here? I have a workaround which is running 2 separate commands but feels like nx should know what to do here properly
https://stackoverflow.com/questions/74612520/passing-targets-name-to-other-targets
I want to contribute a new #eInk display to https://github.com/samsonmking/epaper.js #NodeJS but the #pnpm workspaces flow has me baffled.
#MonoRepo blues!
I made the mistake of breaking out my app into a few repositories thinking it would help me make changes more quickly.
Spoiler alert: it slowed me down.
Going back to team #monorepo soon...
Lerna Reborn [25-min. video]
https://www.youtube.com/watch?v=CNdDv2MsBuw
#EsNextNews #EcmaScript #JavaScript #Lerna #MonoRepo
Congrats to the Nrwl and the Nx team: https://blog.nrwl.io/from-bootstrapped-to-venture-backed-nx-raises-8-6m-2ae2228eff76
Announcement on #GitHub about a new #DotNet Virtual Monolithic Repository
I'm a big fan of the #Nx build system - the tooling for #Angular is lovely but the .net support (or certainly how I want to use it) is limited.
Hoping this might take my #AzureDevOps CI/CD pipelines in an interesting direction.
Definitely something to keep an eye on.
Announcement here: https://github.com/dotnet/announcements/issues/241
#DevOps #MonoRepo #TrunkBasedDevelopment #ContinuousIntegration #ContinuousDeployment #ContinuousDelivery
Getting used to VS Code after years of PyCharm, plus working in a #monorepo with multiple languages (#JavaScript and #Python). Wondering if the “⌘ + T” shortcut (search by symbol) can be made to only work with *.py files?
Very excited to see where this goes https://engineering.fb.com/2022/11/15/open-source/sapling-source-control-scalable/