Yarn
yarnA package manager that doubles down as project manager.
A package manager that doubles down as project manager.
npmAuthTokennpmAuthIdentnpmRegistries.*.npmAuthTokennpmRegistries.*.npmAuthIdentnpmScopes.*.npmAuthTokennpmScopes.*.npmAuthIdentThe rest of the file syncs. Only these values are lifted out and kept in your secret store.
cacheFolderglobalFolderOtty splits these out before upload and puts each machine’s own back on the way down — no templates to write.
yarn-path, --cache-folderregistry "https://registry.yarnpkg.com"yarn-path "/Users/octocat/.yarn/releases/yarn-1.22.22.cjs"machine-localdisable-self-update-check true--cache-folder "/Users/octocat/Library/Caches/Yarn"machine-local--install.check-files trueOtty splits these out before upload and puts each machine’s own back on the way down — no templates to write. The lines above come from this tool’s test fixture in the catalog.
Not a subtraction from the paths above: this is everything else Yarn writes in your home directory that is state, not configuration. It keeps a whole-home manager like chezmoi from sweeping those up, and it still holds if the synced paths are ever widened.
cacheFolderglobalFolderenableGlobalCache: truenpmRegistryServer: "https://registry.yarnpkg.com" cacheFolder: /Users/octocat/Library/Caches/Yarnmachine-localglobalFolder: /Users/octocat/.yarn/berrymachine-local npmAuthToken: npm_FAKE00000000000000000000000000000000npmAuthIdent: octocat:FAKEpassword0000Each machine keeps its own copy of these.
npmAuthTokennpmAuthIdentnpmRegistries.*.npmAuthTokennpmRegistries.*.npmAuthIdentnpmScopes.*.npmAuthTokennpmScopes.*.npmAuthIdentLifted into your secret store; the rest of the file syncs.
yarn-path--cache-folderregistry "https://registry.yarnpkg.com"yarn-path "/Users/octocat/.yarn/releases/yarn-1.22.22.cjs"machine-localdisable-self-update-check true--cache-folder "/Users/octocat/Library/Caches/Yarn"machine-local--install.check-files trueEach machine keeps its own copy of these.
Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.
Opens otty://sync/add/yarn. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.
Every one of these is generated from the same rules as this page. None of them splits cacheFolder and globalFolder for you — that part is Otty’s own sync, or a template you write by hand.