You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam 17836f2a3a
Re-introduce lodash into src/package-install.js (#10315)
* test: add failing test for if package.json is non-existant, fix tests' beforeEach method

* Revert "fix: #10289, remove lodash dependency in src/cli/package-install.js"

This reverts commit 81fa2e22bc.

* fix: regression caused by 94b79ce402

`./nodebb setup` was no longer able to be called without arguments or env vars

* fix: .updatePackageFile() throwing if no package.json

* fix: removing unneeded code in src/cli/index.js that seemed to be used to handle cases where package.json was missing (initial install)

... However, as .updatePackageFile() now handled cases where there is no package.json, it should be ok to remove this code

* fix: handle missing package.json or node_modules/
3 years ago
..
colors.js feat: remove colors in favour of chalk (#10142) 3 years ago
index.js Re-introduce lodash into src/package-install.js (#10315) 3 years ago
manage.js feat: remove colors in favour of chalk (#10142) 3 years ago
package-install.js Re-introduce lodash into src/package-install.js (#10315) 3 years ago
reset.js feat: remove colors in favour of chalk (#10142) 3 years ago
running.js feat: remove colors in favour of chalk (#10142) 3 years ago
setup.js fix: regression from 27c05448e1 4 years ago
upgrade-plugins.js chore: add missing quote 3 years ago
upgrade.js feat: remove colors in favour of chalk (#10142) 3 years ago
user.js fix: cli password reset 4 years ago