thelounge/src
Reto Brunner c5fcc5d72f install: allow installation of local packages
It may not be desirable to host all plugins on npm, allow for local packages to
be installed given a package name with a `file:` prefix.

This is still more restrictive than what yarn would support but allows us to still
verify the thelounge compatibility by reading the package.json file.

`yarn add` messes up with local filepaths and generates a lockfile that is
"outdated" as far as any other yarn commands go, which makes them error out.

For some reason `yarn install` fixes that and hence we run that after an install.
Here's the diff of yarn.lock between the broken state after `yarn add file:$path`
and `yarn install`
	--- yarn.lock.2.afterAdd	2021-06-02 00:10:52.365134018 +0200
	+++ yarn.lock.3.afterinstall	2021-06-02 00:13:27.122760442 +0200
	@@ -2194,7 +2194,7 @@
	     safe-buffer "^5.1.2"
	     yallist "^3.0.3"

	-thelounge-plugin-shortcuts@/home/reto/sourcecode/thelounge-plugin-shortcuts:
	+"thelounge-plugin-shortcuts@file:../../sourcecode/thelounge-plugin-shortcuts":
	   version "1.0.12"
	   dependencies:
	     thelounge "4.2.0"

The only thing it does is switch an absolute path to a relative one for whatever
reason.
2021-06-05 13:01:55 +02:00
..
command-line install: allow installation of local packages 2021-06-05 13:01:55 +02:00
models Disable search if we have no message provider 2021-04-12 23:12:11 +02:00
plugins Merge pull request #4219 from TheDecryptor/jpegxl_support 2021-05-25 21:36:37 -07:00
client.js Merge pull request #4197 from Nachtalb/richrd/message-search 2021-05-03 16:18:15 -07:00
clientManager.js Fixing thelounge username case-sensitivity - issue#2943 2020-06-23 13:01:06 +01:00
helper.js Add version support for packages. 2020-08-21 15:03:12 +01:00
identification.js Run format after updating to prettier 2.0 2020-03-21 22:55:36 +02:00
log.js Run format after updating to prettier 2.0 2020-03-21 22:55:36 +02:00
server.js Merge remote-tracking branch 'origin/master' into richrd/message-search 2021-04-12 22:00:49 +02:00