build(deps-dev): bump the esbuild group across 1 directory with 2 updates
Bumps the esbuild group with 2 updates in the / directory: [esbuild](https://github.com/evanw/esbuild) and [esbuild-wasm](https://github.com/evanw/esbuild). Updates `esbuild` from 0.21.5 to 0.23.0 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.23.0) Updates `esbuild-wasm` from 0.21.3 to 0.23.0 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.21.3...v0.23.0) --- updated-dependencies: - dependency-name: esbuild dependency-type: direct:development update-type: version-update:semver-minor dependency-group: esbuild - dependency-name: esbuild-wasm dependency-type: direct:development update-type: version-update:semver-minor dependency-group: esbuild ... Signed-off-by: dependabot[bot] <support@github.com> Changed by Martin Pitt <mpitt@redhat.com>: The new esbuild version requires at least node.js 18. Bump the BuildRequires accordingly. As RHEL 9 has nodejs.16 (at least by default, we don't have access to streams here), stop rebuilding the bundle there.
This commit is contained in:
parent
28d83373f8
commit
99287db35e
2 changed files with 7 additions and 5 deletions
|
|
@ -20,11 +20,11 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"argparse": "2.0.1",
|
"argparse": "2.0.1",
|
||||||
"chrome-remote-interface": "0.33.2",
|
"chrome-remote-interface": "0.33.2",
|
||||||
"esbuild": "0.21.5",
|
"esbuild": "0.23.0",
|
||||||
"esbuild-plugin-copy": "2.1.1",
|
"esbuild-plugin-copy": "2.1.1",
|
||||||
"esbuild-plugin-replace": "1.4.0",
|
"esbuild-plugin-replace": "1.4.0",
|
||||||
"esbuild-sass-plugin": "3.3.1",
|
"esbuild-sass-plugin": "3.3.1",
|
||||||
"esbuild-wasm": "0.21.3",
|
"esbuild-wasm": "0.23.0",
|
||||||
"eslint": "8.57.0",
|
"eslint": "8.57.0",
|
||||||
"eslint-config-standard": "17.1.0",
|
"eslint-config-standard": "17.1.0",
|
||||||
"eslint-config-standard-jsx": "11.0.0",
|
"eslint-config-standard-jsx": "11.0.0",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,9 @@ BuildArch: noarch
|
||||||
%if ! 0%{?suse_version}
|
%if ! 0%{?suse_version}
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: nodejs
|
%if ! 0%{?rhel} || 0%{?rhel} >= 10
|
||||||
|
BuildRequires: nodejs >= 18
|
||||||
|
%endif
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
# Suse's package has a different name
|
# Suse's package has a different name
|
||||||
|
|
@ -33,8 +35,8 @@ Cockpit Starter Kit Example Module
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name} -a 1
|
%autosetup -n %{name} -a 1
|
||||||
# ignore pre-built bundle in release tarball and rebuild it
|
# ignore pre-built bundle in release tarball and rebuild it
|
||||||
# but keep it in RHEL/CentOS-8, as that has a too old nodejs
|
# but keep it in RHEL/CentOS-8/9, as that has a too old nodejs
|
||||||
%if ! 0%{?rhel} || 0%{?rhel} >= 9
|
%if ! 0%{?rhel} || 0%{?rhel} >= 10
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue