Skip to content

Commit

Permalink
[rmf-dashboard-framework] remove canvas (#1024)
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com>
  • Loading branch information
koonpeng authored Nov 13, 2024
1 parent 40eb156 commit 11dc8bb
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 21 deletions.
5 changes: 2 additions & 3 deletions .github/demo-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ RUN curl -fsSL https://get.pnpm.io/install.sh | bash -
# shell runs in non-interactive mode, which does not source .bashrc so we need to set the PATH manually
ENV PNPM_HOME /root/.local/share/pnpm
ENV PATH "$PNPM_HOME:$PATH"
# node-canvas does not have prebuilt binaries for latest lts (node 22)
RUN pnpm env use --global 20
RUN pnpm env use --global lts

# fetch sources
RUN mkdir -p /ws \
Expand All @@ -37,7 +36,7 @@ RUN curl -fsSL https://get.pnpm.io/install.sh | bash -
# shell runs in non-interactive mode, which does not source .bashrc so we need to set the PATH manually
ENV PNPM_HOME /root/.local/share/pnpm
ENV PATH "$PNPM_HOME:$PATH"
RUN pnpm env use --global 20
RUN pnpm env use --global lts

RUN pnpm add --global serve

Expand Down
1 change: 0 additions & 1 deletion packages/rmf-dashboard-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@types/three": "^0.166.0",
"api-client": "workspace:*",
"axios": "1.7.4",
"canvas": "^2.11.2",
"clsx": "^1.1.1",
"crc": "^3.8.0",
"date-fns": "^2.30.0",
Expand Down
58 changes: 41 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11dc8bb

Please sign in to comment.