1
0
element-desktop/hak-remove-devdependencies.patch
Dominik Heidler b0a831af09 - Version 1.11.82
##  Features
  * Deduplicate more icons using Compound Design Tokens (https://github.com/element-hq/matrix-react-sdk/pull/132). Contributed by @t3chguy.
  * Always show link new device flow even if unsupported (https://github.com/element-hq/matrix-react-sdk/pull/147). Contributed by @t3chguy.
  * Update design of files list in right panel (https://github.com/element-hq/matrix-react-sdk/pull/144). Contributed by @t3chguy.
  * Remove feature\_dehydration (https://github.com/element-hq/matrix-react-sdk/pull/138). Contributed by @florianduros.
  * Upgrade emojibase-bindings and remove local handling of emoticon variations (https://github.com/element-hq/matrix-react-sdk/pull/127). Contributed by @langleyd.
  * Add support for rendering media captions (https://github.com/element-hq/matrix-react-sdk/pull/43). Contributed by @tulir.
  * Replace composer icons with Compound variants (https://github.com/element-hq/matrix-react-sdk/pull/123). Contributed by @t3chguy.
  * Tweak default right panel size to be 320px except for maximised widgets at 420px (https://github.com/element-hq/matrix-react-sdk/pull/110). Contributed by @t3chguy.
  * Add a pinned message badge under a pinned message (https://github.com/element-hq/matrix-react-sdk/pull/118). Contributed by @florianduros.
  * Ditch right panel tabs and re-add close button (https://github.com/element-hq/matrix-react-sdk/pull/99). Contributed by @t3chguy.
  * Force verification even for refreshed clients (https://github.com/element-hq/matrix-react-sdk/pull/44). Contributed by @dbkr.
  * Update emoji text, border and background colour in timeline (https://github.com/element-hq/matrix-react-sdk/pull/119). Contributed by @florianduros.
  * Disable ICE fallback based on well-known configuration (https://github.com/element-hq/matrix-react-sdk/pull/111). Contributed by @t3chguy.
  * Remove legacy room header and promote beta room header (https://github.com/element-hq/matrix-react-sdk/pull/105). Contributed by @t3chguy.
  * Respect `io.element.jitsi` `useFor1To1Calls` in well-known (https://github.com/element-hq/matrix-react-sdk/pull/112). Contributed by @t3chguy.
  * Use Compound close icon in favour of mishmash of x/close icons (https://github.com/element-hq/matrix-react-sdk/pull/108). Contributed by @t3chguy.
  ## 🐛 Bug Fixes
  * Correct typo in option documentation (https://github.com/element-hq/element-web/pull/28148). Contributed by @AndrewKvalheim.
  * Revert #124 and #135 (https://github.com/element-hq/matrix-react-sdk/pull/139). Contributed by @dbkr.
  * Add aria-label to e2e icon (https://github.com/element-hq/matrix-react-sdk/pull/136). Contributed by @florianduros.
  * Fix bell icons on room list hover being black squares (https://github.com/element-hq/matrix-react-sdk/pull/135). Contributed by @dbkr.
  * Fix vertical overflow on the mobile register screen (https://github.com/element-hq/matrix-react-sdk/pull/137). Contributed by @langleyd.
  * Allow to unpin redacted event (https://github.com/element-hq/matrix-react-sdk/pull/98). Contributed by @florianduros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=83
2024-10-22 13:58:16 +00:00

30 lines
1.5 KiB
Diff

hak fetch tries to download devDependencies for two modules. Unfortunately it does so in a very non-deterministic manner (no shrinkwrap file)
Remove that step since the devDependencies are not actually needed for any of these two modules.
--- element-desktop-1.11.65/scripts/hak/fetch.ts.orig 2024-04-23 15:14:00.000000000 +0200
+++ element-desktop-1.11.65/scripts/hak/fetch.ts 2024-05-15 19:40:21.779432272 +0200
@@ -35,23 +35,6 @@ export default async function fetch(hakE
console.log("Fetching " + moduleInfo.name + "@" + moduleInfo.version);
const packumentCache = new Map();
- await pacote.extract(`${moduleInfo.name}@${moduleInfo.version}`, moduleInfo.moduleBuildDir, {
- packumentCache,
- });
-
- console.log("Running yarn install in " + moduleInfo.moduleBuildDir);
- await new Promise<void>((resolve, reject) => {
- const proc = childProcess.spawn(hakEnv.isWin() ? "yarn.cmd" : "yarn", ["install", "--ignore-scripts"], {
- stdio: "inherit",
- cwd: moduleInfo.moduleBuildDir,
- // We need shell mode on Windows to be able to launch `.cmd` executables
- // See https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
- shell: hakEnv.isWin(),
- });
- proc.on("exit", (code) => {
- code ? reject(code) : resolve();
- });
- });
// also extract another copy to the output directory at this point
// nb. we do not yarn install in the output copy: we could install in