mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-23 09:15:29 +01:00
Merge pull request #34 from codetheweb/dependabot/npm_and_yarn/array-shuffle-2.0.0
This commit is contained in:
commit
430e432ae6
|
@ -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
3990
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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
3
src/packages.d.ts
vendored
|
@ -1,3 +0,0 @@
|
|||
declare module 'array-shuffle' {
|
||||
export default function <T>(arr: T[]): T[];
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue