mattermost-community / mattermost-plugin-jitsi

Jitsi plugin for Mattermost :electric_plug:
Apache License 2.0
195 stars 90 forks source link

Manual Build part is broken #206

Open shurrman opened 2 years ago

shurrman commented 2 years ago
  1. Clone the repo.
  2. Read the Readme, "Manuals Builds" part
  3. run ./docker-make
  4. get full buch of outdated warnings and eventually errors that break the build Seems like totally outdated, at least what is Node-related
VincentSC commented 1 year ago

4 changes in Package.json are needed:

    "enzyme-adapter-react-16": "1.15.7",
    "eslint-import-resolver-webpack": "0.13.2",
    "eslint-plugin-import": "2.27.5",
    "html-webpack-plugin": "4.5.2",

The first three are to get the disappeared versions, and html-webpack-plugin was missing.

Dockerfile needs 2 changes:

FROM golang:latest

RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1

Just bump to the latest, because it's just for building.

Result:

plugin built at: dist/jitsi-2.0.0.tar.gz