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
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
next-env.d.ts
|
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
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock .yarnrc.yml ./
|
||||||
RUN yarn --frozen-lockfile
|
RUN corepack enable
|
||||||
|
RUN yarn install
|
||||||
|
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
@@ -16,6 +17,8 @@ WORKDIR /app
|
|||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN corepack enable
|
||||||
|
|
||||||
# Next.js collects completely anonymous telemetry data about general usage.
|
# Next.js collects completely anonymous telemetry data about general usage.
|
||||||
# Learn more here: https://nextjs.org/telemetry
|
# Learn more here: https://nextjs.org/telemetry
|
||||||
# Uncomment the following line in case you want to disable telemetry during the build.
|
# 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": "^5.8.3",
|
||||||
"typescript-eslint": "^8.35.1"
|
"typescript-eslint": "^8.35.1"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"packageManager": "yarn@4.9.2"
|
||||||
"react": "^19.0.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user