-
Notifications
You must be signed in to change notification settings - Fork 333
Migrate from previous repositories
This guide aims to ease up the transition between working with the old repositories and this mono-repository.
yarn
has been replaced with pnpm
for performance (and other) reasons.
Be weary that pnpm
is stricter and will prevent accessing transitive dependencies unless declared as regular dependencies.
A lot of third party packages and our own code had to be patched in order to work properly.
Check out the .pnpmfile.cjs
file for more details.
As the mono-repository is a pnpm workspace it will use the locally compiled version of packages instead of downloading them from the npm registry.
It means that we should not use yalc
anymore.
Just make sure to build the package before running the dependent (ex: build common before running lld).
Scripts relying on turborepo
should do that automatically.
With the introduction of the mono-repository, it will be up to the developers to write changelogs and to classify their change using semantic versioning.
This means that when releasing new versions of packages, the version bump will be determined by what developers declared when committing their changes.
Check out this wiki page for more details.
If you opened issues or pull requests before the archiving of the old repositories and you feel that they are still relevant feel free to re-open them in the ledger-live
repo.
You can import your old PR branch using the migrate-branch
tool as explained below.
A tool has been developed to easily pick up a branch that has been started on the old repositories and port it over to the mono-repo.
Place yourself on the target branch, and use the pnpm migrate-branch
script to migrate any branch from an old repository.
Ex:
# My old branch was initiated from develop.
git checkout develop
# Migrate my old branch.
pnpm migrate-branch ledger-live-desktop my-branch
# Eventually resolve conflicts and:
# git merge --continue
- Ledger Live Desktop
- Ledger Live Mobile
-
Ledger Live Common
- Introduction
- Currency Models
- Currency Bridge
- Account
- Account Bridge
- apps
- appsCheckAllAppVersions
- ledger-live bot
- Canonical Ways to Investigate Bugs
- Coin Integration Introduction
- Countervalues
- Packages Duplicates
- Derivation
- Developing with CLI
- Developing
- Gist Firmware Update
- Gist Transaction
- Hardware Wallet Logic
- Socket
- Assorted tips
- Integration Tests
- Process
- Monorepository Migration Guide
- Issues, Workaround and Tricks
- Common CI Troubleshooting
- Create staging builds using the CI
- Deprecated