diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ee577c0e8..5639629e67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ on: concurrency: ${{ github.workflow }} jobs: release: - uses: matrix-org/matrix-js-sdk/.github/workflows/release-action.yml@develop + uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop secrets: ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/build_config.sample.yaml b/build_config.sample.yaml index a41e991a59..da3ebb34ad 100644 --- a/build_config.sample.yaml +++ b/build_config.sample.yaml @@ -21,5 +21,5 @@ modules: # An example of pulling a module from NPM - "@vector-im/element-web-ilag-module@^0.0.1" - # An example of pulling a module from github - - "github:vector-im/element-web-ilag-module#main" + # An example of pulling a module from local filesystem during development + - "file:/home/user/development/element-web-ilag-module" diff --git a/docs/modules.md b/docs/modules.md index 86dae10e5a..aeaf04f47c 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -40,6 +40,8 @@ The following requirements are key for any module: which takes a single parameter: a `ModuleApi` instance. This instance is passed to `super()`. 3. The module must be deployed in a way where `yarn add` can access it, as that is how the build system will try to install it. Note that while this is often NPM, it can also be a GitHub/GitLab repo or private NPM registry. + Be careful when using git dependencies in yarn classic, many lifecycle scripts will not be executed which may mean + that your module is not built and thus may fail to be imported. ... and that's pretty much it. As with any code, please be responsible and call things in line with the documentation. Both `RuntimeModule` and `ModuleApi` have extensive documentation to describe what is proper usage and how to set things diff --git a/element.io/develop/config.json b/element.io/develop/config.json index 9dde7eccdc..5ddc7458b8 100644 --- a/element.io/develop/config.json +++ b/element.io/develop/config.json @@ -49,7 +49,8 @@ "privacy_policy_url": "https://element.io/cookie-policy", "features": { "feature_video_rooms": true, - "feature_rust_crypto": true + "feature_rust_crypto": true, + "feature_new_room_decoration_ui": true }, "element_call": { "url": "https://call.element.dev"