Skip to content

Commit

Permalink
chore: update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vittee committed Apr 21, 2024
1 parent d86d4f9 commit 6f7ba20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/node-medley/builder/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM node:18.16.0

RUN corepack enable
RUN corepack enable && corepack prepare [email protected]

RUN apt -y update \
&& apt -y install \
Expand Down
3 changes: 1 addition & 2 deletions packages/radio/docker/discord/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18.16.0 as builder

RUN corepack enable
RUN corepack enable && corepack prepare [email protected]

# install build dependencies
RUN apt update \
Expand Down Expand Up @@ -33,7 +33,6 @@ RUN apt update \
tzdata \
libasound2 \
libfreetype6 \
watchman \
-y \
&& rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion packages/radio/scripts/combine-discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function combine() {
].map(name => (require(`../../${name}/package.json`) as PackageJson).dependencies),
mainPackage.dependencies
)
.omitBy((_, name) => /^(socket\.io|react|express|@mantine|framer-motion|ffmpeg|reflect-metadata|notepack.io|opus-decoder|mediasoup|polished|@tanstack)/.test(name ?? ''))
.omitBy((_, name) => /^(socket\.io|react|express|@mantine|framer-motion|ffmpeg|reflect-metadata|notepack.io|opus-decoder|mediasoup|polished|@tanstack|@fontsource|@linaria|@tabler|@wyw|overlayscrollbars)/.test(name ?? ''))
.transform((o, value, key) => {
if (key.startsWith('@seamless-medley/') && value?.startsWith('..')) {
o[key] = value.substring(1);
Expand Down

0 comments on commit 6f7ba20

Please sign in to comment.