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.

A workflow without subtree split

See original GitHub issue

What if we used a config JSON at the root of the repository that contained the path to the package.json file, so that we no longer need it to be at the root of the repository?

Then after cloning, we can simply use the folder containing the package.json as the UPM package.

This way we wouldn’t need to maintain a separate branch just for UPM releases.

What do you think? Is this feasible, or even possible?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mob-sakaicommented, Oct 29, 2019

Sorry my late reply.

git-upm-publisher is a good idea. 😃 I am delighted to be able to release it on the command line. Currently, I am working on automatic release support via semantic-release. It generates a changelog, publishes it to any npm registry (option), and updates the upm branch.

Aside from that, I came up with a way to install subdirectory packages. It is not yet ready for release, but it may fulfill your wishes. 😃

1reaction
mob-sakaicommented, Aug 16, 2019

@starikcetin I use this: https://www.npmjs.com/package/git-snapshot

I want a simpler release workflow…

Read more comments on GitHub >

github_iconTop Results From Across the Web

git - Are subtrees the workflow I am looking for?
Just sharing my experience from a very small team perspective. Our production and test environment are on the same main branch but separate...
Read more >
Mastering Git subtrees
With subtrees, there are no nested repos: there's only one repo, the container, just like a regular codebase. That means just one lifecycle,...
Read more >
Git workflows and subtrees
How can subtrees effectively be used to share code between repositories, without having to delete and recreate them every time you merge ...
Read more >
Add GitHub workflows for subtree splits to make ...
Problem/Motivation We have subtree splits of Drupal core on GitHub for Packagist while development happens in a monorepo on Drupal.org.
Read more >
Git Subtree: Alternative to Git Submodule
Git Subtree is an extension to Git that allows you to split up large projects into smaller ones. It's like a virtual repository...
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