Skip to content

Conversation

juliusmarminge
Copy link
Member

@juliusmarminge juliusmarminge commented Feb 3, 2023

Closes #94

🎯 Changes

What changes are made in this PR? Is it a feature or a bug fix?

  • Runs installation with shared-workspace-lockfile=false
  • Commits this change (this commit is not visible on the parent repo (this one), only child)
  • Sync downstream using subtree

Tested here:

I guess the downside is that there will be a duplicate commit for the lockfile sync:
CleanShot 2023-02-03 at 17 13 02

✅ Checklist

  • I have followed the steps listed in the Contributing guide.
  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made.

@vercel
Copy link

vercel bot commented Feb 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
next-prisma-starter ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 4, 2023 at 3:32PM (UTC)
og-image ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 4, 2023 at 3:32PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
www ⬜️ Ignored (Inspect) Feb 4, 2023 at 3:32PM (UTC)

KATT
KATT previously requested changes Feb 4, 2023
Copy link
Member

@KATT KATT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliusmarminge
Copy link
Member Author

The trpc deps become relative so itdoesn't fully work, unfortunately, leading the CI to fail.

Uurgh... theres prob an option we can add here similar to the lockfile setting, https://pnpm.io/npmrc#link-workspace-packages

@juliusmarminge
Copy link
Member Author

juliusmarminge commented Feb 4, 2023

Made a solution that is slow and very hacky... it works... but I doubt it'll work in future versions of pnpm

Slow doesn't really matter here (activating the cache took it down to 3 mins so not that slow anymore), it's a job only done when pushes to main - not a CI job people have to sit and wait for every push they make and wanna see if CI passes.

What makes you think it won't work on future versions? tbh I'm a bit confused why it doesn't respect it just with the shared-lockfile option 🤔 Might be worth opening an issue to pnpm

@juliusmarminge juliusmarminge merged commit 2d02328 into main Feb 4, 2023
@juliusmarminge juliusmarminge deleted the subtree-lockfiles branch February 4, 2023 16:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding lockfiles to examples
3 participants