feat: use yarn v3 (#136)

* feat: use yarn v3

* chore: bump yarn to 3.2.1
This commit is contained in:
Jonathan 2022-06-06 19:38:15 -04:00 committed by GitHub
parent 74f3b3f13d
commit 73eff05180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8821 additions and 5593 deletions

View file

@ -2,3 +2,6 @@ node_modules/
.next/
uploads/
.git/
.yarn/*
!.yarn/releases
!.yarn/plugins

5
.gitignore vendored
View file

@ -5,6 +5,11 @@
/.pnp
.pnp.js
# yarn
.yarn/*
!.yarn/releases
!.yarn/plugins
# testing
/coverage

786
.yarn/releases/yarn-3.2.1.cjs vendored Normal file

File diff suppressed because one or more lines are too long

3
.yarnrc.yml Normal file
View file

@ -0,0 +1,3 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.2.1.cjs

View file

@ -1,10 +1,11 @@
FROM node:16-alpine AS deps
WORKDIR /build
COPY package.json yarn.lock ./
COPY .yarn .yarn
COPY package.json yarn.lock .yarnrc.yml ./
RUN apk add --no-cache libc6-compat
RUN yarn install --frozen-lockfile
RUN yarn install --immutable
FROM node:16-alpine AS builder
WORKDIR /build
@ -13,7 +14,8 @@ COPY --from=deps /build/node_modules ./node_modules
COPY src ./src
COPY scripts ./scripts
COPY prisma ./prisma
COPY package.json yarn.lock esbuild.config.js next.config.js next-env.d.ts zip-env.d.ts tsconfig.json ./
COPY .yarn .yarn
COPY package.json yarn.lock .yarnrc.yml esbuild.config.js next.config.js next-env.d.ts zip-env.d.ts tsconfig.json ./
ENV ZIPLINE_DOCKER_BUILD 1
ENV NEXT_TELEMETRY_DISABLED 1

View file

@ -1,9 +1,10 @@
FROM node:16 AS deps
WORKDIR /build
COPY package.json yarn.lock ./
COPY .yarn .yarn
COPY package.json yarn.lock .yarnrc.yml ./
RUN yarn install --frozen-lockfile
RUN yarn install --immutable
FROM node:16 AS builder
WORKDIR /build
@ -12,7 +13,8 @@ COPY --from=deps /build/node_modules ./node_modules
COPY src ./src
COPY scripts ./scripts
COPY prisma ./prisma
COPY package.json yarn.lock esbuild.config.js next.config.js next-env.d.ts zip-env.d.ts tsconfig.json ./
COPY .yarn .yarn
COPY package.json yarn.lock .yarnrc.yml esbuild.config.js next.config.js next-env.d.ts zip-env.d.ts tsconfig.json ./
ENV ZIPLINE_DOCKER_BUILD 1
ENV NEXT_TELEMETRY_DISABLED 1

View file

@ -64,5 +64,6 @@
"repository": {
"type": "git",
"url": "https://github.com/diced/zipline.git"
}
},
"packageManager": "yarn@3.2.1"
}

13596
yarn.lock

File diff suppressed because it is too large Load diff