- Update yarn to latest - Update yarn config to align with upstream (e.g., disableScripts except for cypress)
@@ -1,3 +1,21 @@
+enableInlineBuilds: true
+
+enableScripts: false
+enableTelemetry: false
+httpTimeout: 600000
nodeLinker: node-modules
-yarnPath: .yarn/releases/yarn-4.13.0.cjs
+supportedArchitectures:
+ cpu:
+ - x64
+ - arm64
+ - s390x
+ - ppc64
+ os:
+ - linux
+ - darwin
+yarnPath: .yarn/releases/yarn-4.14.1.cjs
@@ -1,11 +1,13 @@
FROM registry.access.redhat.com/ubi9/nodejs-22:latest AS build
USER root
-ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
-RUN npm i -g corepack && corepack enable
+ENV CYPRESS_INSTALL_BINARY=0
ADD . /usr/src/app
WORKDIR /usr/src/app
-RUN yarn install --immutable && yarn build
+RUN LOCAL_YARN="node $(awk '/yarnPath:/{print $2}' .yarnrc.yml)" && \
+ $LOCAL_YARN install --immutable && $LOCAL_YARN build
FROM registry.access.redhat.com/ubi9/nginx-120:latest
@@ -73,6 +73,11 @@
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.3"
},
+ "dependenciesMeta": {
+ "cypress": {
+ "built": true
+ }
+ },
"consolePlugin": {
"name": "console-plugin-template",
"version": "0.0.1",
@@ -85,5 +90,5 @@
"@console/pluginAPI": "^4.21.0"
}
- "packageManager": "yarn@4.13.0"
+ "packageManager": "yarn@4.14.1"
@@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!
__metadata:
- version: 8
+ version: 9
cacheKey: 10c0
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.28.6, @babel/code-frame@npm:^7.29.0":
@@ -4706,6 +4706,9 @@ __metadata:
webpack: "npm:^5.100.0"
webpack-cli: "npm:^6.0.1"
webpack-dev-server: "npm:^5.2.3"
+ dependenciesMeta:
+ cypress:
+ built: true
languageName: unknown
linkType: soft