Upgrade to Yarn 2.

This commit is contained in:
evazion
2021-02-28 17:43:00 -06:00
parent 340eeec023
commit 3be72bdb3b
5 changed files with 10212 additions and 7169 deletions

8
.gitignore vendored
View File

@@ -15,3 +15,11 @@ public/data/
public/packs-test/ public/packs-test/
public/packs/ public/packs/
test/reports/ test/reports/
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

55
.yarn/releases/yarn-berry.cjs vendored Executable file

File diff suppressed because one or more lines are too long

2
.yarnrc.yml Normal file
View File

@@ -0,0 +1,2 @@
yarnPath: ".yarn/releases/yarn-berry.cjs"
nodeLinker: node-modules

View File

@@ -38,7 +38,7 @@ ARG DATABASE_URL=postgresql://0.0.0.0
ARG DANBOORU_SECRET_KEY_BASE=1234 ARG DANBOORU_SECRET_KEY_BASE=1234
ARG RAILS_ENV=production ARG RAILS_ENV=production
RUN bin/rails assets:precompile && ln -sf packs public/packs-test RUN bin/rails assets:precompile && ln -sf packs public/packs-test
RUN rm -rf node_modules log tmp && mkdir log tmp RUN rm -rf node_modules log tmp .yarn/cache && mkdir log tmp
FROM ubuntu:20.10 FROM ubuntu:20.10

17314
yarn.lock

File diff suppressed because it is too large Load Diff