Merge pull request #34 from codetheweb/dependabot/npm_and_yarn/array-shuffle-2.0.0

This commit is contained in:
Max Isom 2020-12-03 16:10:34 -05:00 committed by GitHub
commit 430e432ae6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4002 deletions

View file

@ -8,20 +8,20 @@ WORKDIR /usr/app
COPY package* ./
# Install prod dependencies
RUN npm i --only=prod
RUN yarn install --prod
# Dependencies
FROM base AS dependencies
# Install dev dependencies
RUN npm install
RUN yarn install
# Build app
FROM dependencies AS builder
COPY . .
RUN npm run build
RUN yarn build
# Only copy essentials
FROM base AS prod
@ -30,4 +30,4 @@ COPY --from=builder /usr/app/dist dist
ENV DATA_DIR /data
CMD ["npm", "run", "start"]
CMD ["yarn", "start"]

3990
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -67,7 +67,7 @@
},
"dependencies": {
"@discordjs/opus": "^0.3.3",
"array-shuffle": "^1.0.1",
"array-shuffle": "^2.0.0",
"debug": "^4.3.1",
"delay": "^4.4.0",
"discord.js": "^12.5.1",

3
src/packages.d.ts vendored
View file

@ -1,3 +0,0 @@
declare module 'array-shuffle' {
export default function <T>(arr: T[]): T[];
}

View file

@ -405,10 +405,10 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"
array-shuffle@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/array-shuffle/-/array-shuffle-1.0.1.tgz#7ea4882a356b4bca5f545e0b6e52eaf6d971557a"
integrity sha1-fqSIKjVrS8pfVF4LblLq9tlxVXo=
array-shuffle@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/array-shuffle/-/array-shuffle-2.0.0.tgz#fd36437cd7997d557055283c946e46379a7cd343"
integrity sha512-rJTchCppiO6QsQnN51KDH1cgMYm13B+ybxFS5GgdBdTTHpZcrq3M7SOBgzp+L9fqqnjkFDiwdEVcX1wINgl9DQ==
array-union@^2.1.0:
version "2.1.0"