Skip to content

Commit 1bb68ba

Browse files
committed
fix(@angular/build): move lmdb to optionalDependencies
A warning mechanism has been implemented to notify users when lmdb is unavailable. On Windows ARM64 systems, however, installing this package with pnpm appears to cause installation failures. See: #27882 (comment) Closes #27882
1 parent 549c20a commit 1bb68ba

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/angular/build/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"https-proxy-agent": "7.0.5",
3434
"istanbul-lib-instrument": "6.0.3",
3535
"listr2": "8.2.5",
36-
"lmdb": "3.1.3",
3736
"magic-string": "0.30.11",
3837
"mrmime": "2.0.0",
3938
"parse5-html-rewriting-stream": "7.0.0",
@@ -45,6 +44,9 @@
4544
"vite": "5.4.8",
4645
"watchpack": "2.4.2"
4746
},
47+
"optionalDependencies": {
48+
"lmdb": "3.1.3"
49+
},
4850
"peerDependencies": {
4951
"@angular/compiler": "^19.0.0-next.0",
5052
"@angular/compiler-cli": "^19.0.0-next.0",

yarn.lock

+3
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,9 @@ __metadata:
418418
postcss: ^8.4.0
419419
tailwindcss: ^2.0.0 || ^3.0.0
420420
typescript: ">=5.5 <5.7"
421+
dependenciesMeta:
422+
lmdb:
423+
optional: true
421424
peerDependenciesMeta:
422425
"@angular/localize":
423426
optional: true

0 commit comments

Comments
 (0)