yeoman / update-notifier

Update notifications for your CLI app
BSD 2-Clause "Simplified" License
1.76k stars 132 forks source link

Tilde folder name blocks backup #229

Open wbt opened 1 year ago

wbt commented 1 year ago

This package notes user settings available under the ~/.config/configstore directory.

If this package is used in an NPM project subsequently used by another project (incl. open-source for further contribution!) someone attempts to store in a Microsoft cloud system or use Microsoft backup for (e.g. OneDrive), the entire syncing process comes to a halting failure because it does not allow ~ in a valid filename.

While there are still other compatibility reasons to not use automated solutions like OneDrive to back up code directories, reducing the number of those would be a good thing and maybe help software developers as a community get to a place where code in development can be more easily backed up through common tools.

Thus, I would encourage changing the path to not have a ~ in it.

sindresorhus commented 10 months ago

It doesn't actually use the tilde character. The tilde is short for the user's home directory.