Use npmrc for standalone pnpm installs

Co-authored-by: Steven <styfle@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-21 22:36:20 +00:00
parent c3c8c1984f
commit c8a4e0179a
12 changed files with 32 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ jobs:
with:
node-version: '20'
- name: Enable pnpm
run: corepack enable pnpm && corepack install
run: corepack enable pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests

View File

@@ -0,0 +1 @@
ignore-workspace=true

View File

@@ -0,0 +1,5 @@
packages:
- .
minimumReleaseAge: 2880
onlyBuiltDependencies:
- sharp

View File

@@ -0,0 +1 @@
ignore-workspace=true

View File

@@ -0,0 +1,6 @@
packages:
- .
minimumReleaseAge: 2880
onlyBuiltDependencies:
- bcrypt
- sharp

View File

@@ -0,0 +1 @@
ignore-workspace=true

View File

@@ -0,0 +1,6 @@
packages:
- .
minimumReleaseAge: 2880
onlyBuiltDependencies:
- bcrypt
- sharp

1
seo/demo/.npmrc Normal file
View File

@@ -0,0 +1 @@
ignore-workspace=true

View File

@@ -0,0 +1,5 @@
packages:
- .
minimumReleaseAge: 2880
onlyBuiltDependencies:
- sharp

View File

@@ -1,4 +0,0 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "pnpm install --ignore-workspace --frozen-lockfile"
}

5
seo/pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,5 @@
packages:
- .
minimumReleaseAge: 2880
onlyBuiltDependencies:
- sharp

View File

@@ -1,4 +0,0 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "pnpm install --ignore-workspace --frozen-lockfile"
}