hardlounge/src/command-line
Jérémie Astori 432023fc7e
Make sure existing packages (and themes) are not deleted when installing a new one on Node.js v8
- When installing a package on Node v8 (or whatever npm version ships with it - v5), all packages not listed in `package.json` are removed. Since we explicitly added `--no-save`, installing a theme would delete the previous one. I am now checking that the file already exists or not. This means that it will still happen to people the next time they run `thelounge install`, because the previous install did not save into `package.json` :/
- Adding `--save` to make sure that the same, correct behavior is done on Node v6 as well (npm v3)
- Adding `--save-exact` for good measure.
2018-01-16 20:25:35 -05:00
..
users Do not load user commands or display them on --help if public mode or using LDAP 2017-12-09 01:51:08 -05:00
config.js Only use helpers and not shared variables around path helpers 2017-12-07 23:02:32 -05:00
index.js Add a thelounge uninstall command to remove themes and packages 2018-01-06 12:12:09 -05:00
install.js Make sure existing packages (and themes) are not deleted when installing a new one on Node.js v8 2018-01-16 20:25:35 -05:00
start.js Deprecate existing options of thelounge start in favor or -c, --config 2017-12-11 23:48:52 -05:00
uninstall.js Fix thelounge uninstall command 2018-01-13 02:00:37 -05:00
utils.js Color all references to deprecations in bold red 2017-12-11 23:48:52 -05:00