mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-07 14:09:06 +00:00
Use npmrc for standalone pnpm installs
Co-authored-by: Steven <styfle@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- name: Enable pnpm
|
- name: Enable pnpm
|
||||||
run: corepack enable pnpm && corepack install
|
run: corepack enable pnpm
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
1
basics/learn-starter/.npmrc
Normal file
1
basics/learn-starter/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore-workspace=true
|
||||||
5
basics/learn-starter/pnpm-workspace.yaml
Normal file
5
basics/learn-starter/pnpm-workspace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
packages:
|
||||||
|
- .
|
||||||
|
minimumReleaseAge: 2880
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- sharp
|
||||||
1
dashboard/final-example/.npmrc
Normal file
1
dashboard/final-example/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore-workspace=true
|
||||||
6
dashboard/final-example/pnpm-workspace.yaml
Normal file
6
dashboard/final-example/pnpm-workspace.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
packages:
|
||||||
|
- .
|
||||||
|
minimumReleaseAge: 2880
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- bcrypt
|
||||||
|
- sharp
|
||||||
1
dashboard/starter-example/.npmrc
Normal file
1
dashboard/starter-example/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore-workspace=true
|
||||||
6
dashboard/starter-example/pnpm-workspace.yaml
Normal file
6
dashboard/starter-example/pnpm-workspace.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
packages:
|
||||||
|
- .
|
||||||
|
minimumReleaseAge: 2880
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- bcrypt
|
||||||
|
- sharp
|
||||||
1
seo/demo/.npmrc
Normal file
1
seo/demo/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore-workspace=true
|
||||||
5
seo/demo/pnpm-workspace.yaml
Normal file
5
seo/demo/pnpm-workspace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
packages:
|
||||||
|
- .
|
||||||
|
minimumReleaseAge: 2880
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- sharp
|
||||||
@@ -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
5
seo/pnpm-workspace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
packages:
|
||||||
|
- .
|
||||||
|
minimumReleaseAge: 2880
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- sharp
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
||||||
"installCommand": "pnpm install --ignore-workspace --frozen-lockfile"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user