Skip to content

Commit edbc5f9

Browse files
KuShdanielbayley
andauthored
feat: add preferOffline property to pnpm-workspace.yaml schema (SchemaStore#5012)
Co-authored-by: danielbayley <[email protected]>
1 parent 528268f commit edbc5f9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/schemas/json/pnpm-workspace.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,10 @@
787787
"items": {
788788
"type": "string"
789789
}
790+
},
791+
"preferOffline": {
792+
"description": "Bypass staleness checks for cached data. Missing data will still be requested from the server.",
793+
"type": "boolean"
790794
}
791795
},
792796
"additionalProperties": false

src/test/pnpm-workspace/pnpm-workspace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ catalogs:
2121

2222
# https://pnpm.io/cli/add#--save-exact--e
2323
saveExact: true
24+
25+
# https://pnpm.io/cli/install#--prefer-offline
26+
preferOffline: true

0 commit comments

Comments
 (0)