Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

chore(deps): move variable to peerdep #1080

Merged
merged 6 commits into from
Dec 4, 2020
Merged

Conversation

kellyjosephprice
Copy link
Contributor

@kellyjosephprice kellyjosephprice commented Dec 3, 2020

🧰 What's being changed?

This sets @readme/variable as a peerDep. Variable is using a context to propagate user variables. So, it needs to be a singleton in the app, otherwise any imported consumers won't be matched the correct provider.

ticket

@erunion erunion added the scope:dependency Pull requests that update a dependency file label Dec 3, 2020
@erunion erunion requested review from erunion and Dashron December 3, 2020 23:47
@Dashron
Copy link
Contributor

Dashron commented Dec 4, 2020

code looks fine 👍 is this one of those "if the site loads it's fine" issues, or is there something else we should look for.

@erunion
Copy link
Member

erunion commented Dec 4, 2020

@Dashron Yeah if the site loads and tests pass it's fine.

@kellyjosephprice kellyjosephprice merged commit c9ebcee into next Dec 4, 2020
@kellyjosephprice kellyjosephprice deleted the chore/variable-peerdep branch December 4, 2020 20:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope:dependency Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants