question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`linked` config setting not working as expected?

See original GitHub issue

Affected Packages

pkg:cli

Problem

I was assuming linked would help with enforcing packages to always use the same version amongst each other, similar to how Lerna does. However that appears to not be the case. Here’s the recent versioning pull request on Slate that shows the issue: https://github.com/ianstormtaylor/slate/pull/4198

Both slate and slate-react are bumped to 0.62.1 but the others are left at 0.62.0.

Proposed solution

Either change linked to keep things at the same version, or potentially add another setting called pinned or something that does it. The use case being keeping a set of packages always on the same version when one of them is bumped so that people can be guaranteed to have packages that work together really easily. (I believe this is what popular projects like Babel and React do?)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
glassercommented, Aug 3, 2021

Agreed that this would be useful — changesets looks awesome and I’d love to migrate Apollo Server from lerna to it, but we depend on being able to publish all of our “entry point” packages (apollo-server-express, apollo-server-lambda, etc) at the same version so we can talk about v3.1.2 of Apollo Server in a simple way.

0reactions
glassercommented, Dec 6, 2021

Very cool, though my project might just manage to migrate to a single-package release instead of a monorepo 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I troubleshoot AWS Config console error messages?
My AWS Config console returns an error or isn't working as expected. How can I troubleshoot issues with my AWS Config console? Short...
Read more >
[config] Trying to get arn for service linked role not working
The configuration recorder object requires a service linked role from what I can tell and service linked roles have ARNs. ex: arn:aws:iam::{aws ...
Read more >
NLog config settings renderer not working as expected
I have a configuration section in my appsettings to provide environment specific parameters. "LoggingContext": { .. "ApplicationName": "cool-app ...
Read more >
Configuration fails to load due to missing file or directory - AskF5
The BIG-IP system configuration may fail to load with the following error message while upgrading or experiencing a system reboot:.
Read more >
Fix site display issues with Compatibility View in Internet ...
Open Internet Explorer, select the Tools button , and then select Compatibility View settings. Under Add this website, enter the URL of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found