Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! chore: remove Lerna
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Orel <[email protected]>
  • Loading branch information
olexii4 committed Oct 18, 2024
1 parent a517299 commit cba297f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN if ! [ type "yarn" &> /dev/null ]; then \
COPY package.json /dashboard/
COPY yarn.lock /dashboard/
COPY tsconfig.json /dashboard/
COPY run/wrksps.sh /dashboard/run/

ENV COMMON=packages/common
COPY ${COMMON}/package.json /dashboard/${COMMON}/
Expand All @@ -37,9 +38,7 @@ COPY .yarnrc.yml /dashboard/
WORKDIR /dashboard
RUN yarn install --network-timeout 3600000
COPY packages/ /dashboard/packages
RUN yarn workspace @eclipse-che/common build && \
yarn workspace @eclipse-che/dashboard-frontend build && \
yarn workspace @eclipse-che/dashboard-backend build
RUN yarn build

# Prepare air-gapped resources
COPY scripts/airgap.sh /dashboard/airgap.sh
Expand Down
5 changes: 4 additions & 1 deletion run/wrksps.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# Copyright (c) 2021-2024 Red Hat, Inc.
# This program and the accompanying materials are made
Expand All @@ -8,6 +8,9 @@
# SPDX-License-Identifier: EPL-2.0
#

# The script is used to backward compatibility between yarn3 and yarn1 package managers.
# It will be removed with yarn1 support.

set -e

yarn workspace @eclipse-che/common "$@"
Expand Down

0 comments on commit cba297f

Please sign in to comment.