mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
chore(dev): migration to Yarn berry
This commit is contained in:
@@ -34,3 +34,7 @@ yarn-error.log*
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
|
||||
# yarn
|
||||
.pnp.*
|
||||
.yarn
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
logFilters:
|
||||
- level: discard
|
||||
pattern: "react is listed by your project with version * (*), which doesn't satisfy what @fluentui/react-icons and other dependencies request*"
|
||||
+5
-2
@@ -7,8 +7,9 @@ RUN apk add --no-cache libc6-compat
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn --frozen-lockfile
|
||||
COPY package.json yarn.lock .yarnrc.yml ./
|
||||
RUN corepack enable
|
||||
RUN yarn install
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
FROM base AS builder
|
||||
@@ -16,6 +17,8 @@ WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
# Next.js collects completely anonymous telemetry data about general usage.
|
||||
# Learn more here: https://nextjs.org/telemetry
|
||||
# Uncomment the following line in case you want to disable telemetry during the build.
|
||||
|
||||
+1
-3
@@ -44,7 +44,5 @@
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.35.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"react": "^19.0.0"
|
||||
}
|
||||
"packageManager": "yarn@4.9.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user