mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
chore: update transmission-web package (#7003)
* chore: update minor versions * chore: bump to `style-loader@4` major version change * refactor: combine `#mainwin-toolbar:nth-last-child(2)` rule * refactor: cleanup scss definitions Notes: `.single-file` is no longer used in code * chore: bump `esbuild-sass-plugin@3` `esbuild@0.25` * chore: uninstall unused `stylelint-config-standard` In fact, it was never used since added to `package.json`. * chore: bump `stylelint@16` `stylelint-config-sass-guidelines@12` * chore: bump `eslint@9` `eslint-plugin-sonarjs@1` `eslint-plugin-unicorn@61` * chore: enable prettier for whole `transmission-web` package * chore: bump `@primer/stylelint-config@13` * chore: update minor versions * build: remove lint config files from CMake dependency * chore: bump minor versions * chore: bump `eslint-plugin-sonarjs@3` * ci: use `actions/setup-node@v4` to install Node.js So that there's no risk of the OS package manager's Node.js version being too low. Except in Alpine, which does not work with `actions/setup-node@v4`. Ref: https://github.com/actions/setup-node/issues/387 * chore: replace `lodash.isEqual` with `fast-deep-equal` * chore: bump minor versions * chore: re-generate package-lock.json * chore: fix lint errors
This commit is contained in:
36
.github/workflows/actions.yml
vendored
36
.github/workflows/actions.yml
vendored
@@ -76,8 +76,6 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [ what-to-make ]
|
||||
if: ${{ needs.what-to-make.outputs.test-style == 'true' }}
|
||||
env:
|
||||
NODE_PATH: /usr/lib/nodejs:/usr/share/nodejs
|
||||
steps:
|
||||
- name: Show Configuration
|
||||
run: |
|
||||
@@ -93,7 +91,11 @@ jobs:
|
||||
set -ex
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
|
||||
sudo apt-get install -y clang-format-17 npm
|
||||
sudo apt-get install -y clang-format-17
|
||||
- name: Get NPM
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Check for style diffs
|
||||
id: check-for-diffs
|
||||
working-directory: .
|
||||
@@ -122,8 +124,6 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [ what-to-make ]
|
||||
if: ${{ needs.what-to-make.outputs.make-tests == 'true' }}
|
||||
env:
|
||||
NODE_PATH: /usr/lib/nodejs:/usr/share/nodejs
|
||||
steps:
|
||||
- name: Show Configuration
|
||||
run: |
|
||||
@@ -147,8 +147,7 @@ jobs:
|
||||
libnatpmp-dev \
|
||||
libpsl-dev \
|
||||
libssl-dev \
|
||||
ninja-build \
|
||||
npm
|
||||
ninja-build
|
||||
- name: Get Source
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -249,8 +248,11 @@ jobs:
|
||||
libnatpmp-dev \
|
||||
libpsl-dev \
|
||||
libssl-dev \
|
||||
ninja-build \
|
||||
npm
|
||||
ninja-build
|
||||
- name: Get NPM
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Get Source
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -769,8 +771,6 @@ jobs:
|
||||
needs: [ make-source-tarball, what-to-make ]
|
||||
if: ${{ needs.what-to-make.outputs.make-cli == 'true' || needs.what-to-make.outputs.make-daemon == 'true' || needs.what-to-make.outputs.make-gtk == 'true' || needs.what-to-make.outputs.make-qt == 'true' || needs.what-to-make.outputs.make-tests == 'true' || needs.what-to-make.outputs.make-utils == 'true' }}
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
NODE_PATH: /usr/lib/nodejs:/usr/share/nodejs
|
||||
container:
|
||||
image: debian:11-slim
|
||||
steps:
|
||||
@@ -849,8 +849,6 @@ jobs:
|
||||
needs: [ make-source-tarball, what-to-make ]
|
||||
if: ${{ needs.what-to-make.outputs.make-cli == 'true' || needs.what-to-make.outputs.make-daemon == 'true' || needs.what-to-make.outputs.make-gtk == 'true' || needs.what-to-make.outputs.make-qt == 'true' || needs.what-to-make.outputs.make-tests == 'true' || needs.what-to-make.outputs.make-utils == 'true' }}
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
NODE_PATH: /usr/lib/nodejs:/usr/share/nodejs
|
||||
container:
|
||||
image: fedora:39
|
||||
steps:
|
||||
@@ -876,10 +874,13 @@ jobs:
|
||||
libpsl-devel \
|
||||
miniupnpc-devel \
|
||||
ninja-build \
|
||||
npm \
|
||||
openssl-devel \
|
||||
pkgconf-pkg-config \
|
||||
xz
|
||||
- name: Get NPM
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Get Dependencies (GTK)
|
||||
if: ${{ needs.what-to-make.outputs.make-gtk == 'true' }}
|
||||
run: dnf install -y glibmm2.68-devel gtkmm4.0-devel
|
||||
@@ -952,8 +953,11 @@ jobs:
|
||||
libnatpmp-dev \
|
||||
libpsl-dev \
|
||||
libssl-dev \
|
||||
ninja-build \
|
||||
npm
|
||||
ninja-build
|
||||
- name: Get NPM
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Get Dependencies (GTK)
|
||||
if: ${{ needs.what-to-make.outputs.make-gtk == 'true' }}
|
||||
run: sudo apt-get install -y --no-install-recommends libglibmm-2.4-dev libgtkmm-3.0-dev
|
||||
|
||||
17
.github/workflows/webapp.yml
vendored
17
.github/workflows/webapp.yml
vendored
@@ -59,11 +59,10 @@ jobs:
|
||||
steps:
|
||||
- name: Get source
|
||||
uses: actions/checkout@v4
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
set -e # abort if any command fails
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y npm
|
||||
- name: Get NPM
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Check for style diffs
|
||||
id: check-for-diffs
|
||||
run: |
|
||||
@@ -127,10 +126,10 @@ jobs:
|
||||
- name: Show env
|
||||
run: |
|
||||
env | sort
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
set -e # abort if any command fails
|
||||
sudo apt-get install -y npm
|
||||
- name: Get NPM
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Get source
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user