@pnpm/workspace.project-manifest-reader 1100.0.14 → 1100.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,983 @@
1
+ # @pnpm/read-project-manifest
2
+
3
+ ## 1100.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/pkg-manifest.utils@1100.2.8
9
+
10
+ ## 1100.0.15
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies:
15
+ - @pnpm/pkg-manifest.utils@1100.2.7
16
+ - @pnpm/types@1101.4.0
17
+ - @pnpm/workspace.project-manifest-writer@1100.0.9
18
+
19
+ ## 1100.0.14
20
+
21
+ ### Patch Changes
22
+
23
+ - 0ec878d: Removing a runtime dependency now removes the matching `devEngines.runtime` or `engines.runtime` entry that was materialized from it. Blank runtime selectors are normalized to `latest`.
24
+ - Updated dependencies [0ec878d]
25
+ - Updated dependencies [852d537]
26
+ - @pnpm/pkg-manifest.utils@1100.2.6
27
+ - @pnpm/error@1100.0.1
28
+
29
+ ## 1100.0.13
30
+
31
+ ### Patch Changes
32
+
33
+ - a31faa7: Updated dependency ranges. Notably:
34
+
35
+ - `@pnpm/logger` peer dependency range moved to `^1100.0.0`.
36
+ - `msgpackr` 1.11.8 → 2.0.4 (store index files remain byte-compatible in both directions).
37
+ - `open` ^7.4.2 → ^11.0.0, `memoize` ^10 → ^11, `cli-truncate` ^5 → ^6, `pidtree` ^0.6 → ^1.
38
+ - `@yarnpkg/core` 4.5.0 → 4.8.0, `@rushstack/worker-pool` 0.7.7 → 0.7.18, `@cyclonedx/cyclonedx-library` 10.0.0 → 10.1.0, `@pnpm/config.nerf-dart` ^1 → ^2, `@pnpm/log.group` 3.0.2 → 4.0.1, `@pnpm/util.lex-comparator` ^3 → ^4.
39
+
40
+ - Updated dependencies [681b593]
41
+ - Updated dependencies [a31faa7]
42
+ - @pnpm/types@1101.3.2
43
+ - @pnpm/pkg-manifest.utils@1100.2.5
44
+ - @pnpm/workspace.project-manifest-writer@1100.0.8
45
+
46
+ ## 1100.0.12
47
+
48
+ ### Patch Changes
49
+
50
+ - @pnpm/pkg-manifest.utils@1100.2.4
51
+
52
+ ## 1100.0.11
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [bf1b731]
57
+ - @pnpm/types@1101.3.1
58
+ - @pnpm/pkg-manifest.utils@1100.2.3
59
+ - @pnpm/workspace.project-manifest-writer@1100.0.7
60
+
61
+ ## 1100.0.10
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [a017bf3]
66
+ - @pnpm/types@1101.3.0
67
+ - @pnpm/pkg-manifest.utils@1100.2.2
68
+ - @pnpm/workspace.project-manifest-writer@1100.0.6
69
+
70
+ ## 1100.0.9
71
+
72
+ ### Patch Changes
73
+
74
+ - a456dc7: Limit concurrent project manifest reads while listing large workspaces to avoid `EMFILE` errors.
75
+ - Updated dependencies [35d2355]
76
+ - @pnpm/types@1101.2.0
77
+ - @pnpm/pkg-manifest.utils@1100.2.1
78
+ - @pnpm/workspace.project-manifest-writer@1100.0.5
79
+
80
+ ## 1100.0.8
81
+
82
+ ### Patch Changes
83
+
84
+ - d7da112: Implement `pnpm pkg` command natively, following `npm pkg` standards.
85
+
86
+ ## 1100.0.7
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [1627943]
91
+ - Updated dependencies [64afc92]
92
+ - @pnpm/pkg-manifest.utils@1100.2.0
93
+ - @pnpm/types@1101.1.1
94
+ - @pnpm/workspace.project-manifest-writer@1100.0.4
95
+
96
+ ## 1100.0.6
97
+
98
+ ### Patch Changes
99
+
100
+ - @pnpm/pkg-manifest.utils@1100.1.4
101
+
102
+ ## 1100.0.5
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [9cad827]
107
+ - Updated dependencies [50b33c1]
108
+ - @pnpm/pkg-manifest.utils@1100.1.3
109
+
110
+ ## 1100.0.4
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies [b61e268]
115
+ - @pnpm/types@1101.1.0
116
+ - @pnpm/pkg-manifest.utils@1100.1.2
117
+ - @pnpm/workspace.project-manifest-writer@1100.0.3
118
+
119
+ ## 1100.0.3
120
+
121
+ ### Patch Changes
122
+
123
+ - 184ce26: Fix the package name in README.md.
124
+ - Updated dependencies [184ce26]
125
+ - Updated dependencies [5a901e7]
126
+ - @pnpm/workspace.project-manifest-writer@1100.0.2
127
+ - @pnpm/pkg-manifest.utils@1100.1.1
128
+ - @pnpm/fs.graceful-fs@1100.1.0
129
+
130
+ ## 1100.0.2
131
+
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies [ff7733c]
135
+ - @pnpm/pkg-manifest.utils@1100.1.0
136
+
137
+ ## 1100.0.1
138
+
139
+ ### Patch Changes
140
+
141
+ - Updated dependencies [ff28085]
142
+ - @pnpm/types@1101.0.0
143
+ - @pnpm/pkg-manifest.utils@1100.0.1
144
+ - @pnpm/workspace.project-manifest-writer@1100.0.1
145
+
146
+ ## 1002.0.0
147
+
148
+ ### Major Changes
149
+
150
+ - 491a84f: This package is now pure ESM.
151
+ - 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
152
+
153
+ ### Minor Changes
154
+
155
+ - efb48dc: **Node.js Runtime Installation for Dependencies.** Added support for automatic Node.js runtime installation for dependencies. pnpm will now install the Node.js version required by a dependency if that dependency declares a Node.js runtime in the "engines" field. For example:
156
+
157
+ ```json
158
+ {
159
+ "engines": {
160
+ "runtime": {
161
+ "name": "node",
162
+ "version": "^24.11.0",
163
+ "onFail": "download"
164
+ }
165
+ }
166
+ }
167
+ ```
168
+
169
+ If the package with the Node.js runtime dependency is a CLI app, pnpm will bind the CLI app to the required Node.js version. This ensures that, regardless of the globally installed Node.js instance, the CLI will use the compatible version of Node.js.
170
+
171
+ If the package has a `postinstall` script, that script will be executed using the specified Node.js version.
172
+
173
+ Related PR: [#10141](https://github.com/pnpm/pnpm/pull/10141)
174
+
175
+ ### Patch Changes
176
+
177
+ - 98a5f1c: Node.js runtime is not added to "dependencies" on `pnpm add`, if there's a `engines.runtime` setting declared in `package.json` [#10209](https://github.com/pnpm/pnpm/issues/10209).
178
+ - Updated dependencies [76718b3]
179
+ - Updated dependencies [a8f016c]
180
+ - Updated dependencies [cc1b8e3]
181
+ - Updated dependencies [efb48dc]
182
+ - Updated dependencies [491a84f]
183
+ - Updated dependencies [7d2fd48]
184
+ - Updated dependencies [efb48dc]
185
+ - Updated dependencies [cb367b9]
186
+ - Updated dependencies [7b1c189]
187
+ - Updated dependencies [8ffb1a7]
188
+ - Updated dependencies [cee1f58]
189
+ - Updated dependencies [05fb1ae]
190
+ - Updated dependencies [71de2b3]
191
+ - Updated dependencies [10bc391]
192
+ - Updated dependencies [831f574]
193
+ - Updated dependencies [2df8b71]
194
+ - Updated dependencies [15549a9]
195
+ - Updated dependencies [cc7c0d2]
196
+ - Updated dependencies [efb48dc]
197
+ - Updated dependencies [efb48dc]
198
+ - @pnpm/types@1001.0.0
199
+ - @pnpm/pkg-manifest.utils@1002.0.0
200
+ - @pnpm/workspace.project-manifest-writer@1001.0.0
201
+ - @pnpm/text.comments-parser@1001.0.0
202
+ - @pnpm/fs.graceful-fs@1001.0.0
203
+ - @pnpm/error@1001.0.0
204
+
205
+ ## 1001.1.4
206
+
207
+ ### Patch Changes
208
+
209
+ - Updated dependencies [7c1382f]
210
+ - Updated dependencies [dee39ec]
211
+ - @pnpm/types@1000.9.0
212
+ - @pnpm/write-project-manifest@1000.0.11
213
+
214
+ ## 1001.1.3
215
+
216
+ ### Patch Changes
217
+
218
+ - Updated dependencies [9b9faa5]
219
+ - @pnpm/graceful-fs@1000.0.1
220
+
221
+ ## 1001.1.2
222
+
223
+ ### Patch Changes
224
+
225
+ - @pnpm/error@1000.0.5
226
+
227
+ ## 1001.1.1
228
+
229
+ ### Patch Changes
230
+
231
+ - Updated dependencies [e792927]
232
+ - @pnpm/types@1000.8.0
233
+ - @pnpm/write-project-manifest@1000.0.10
234
+
235
+ ## 1001.1.0
236
+
237
+ ### Minor Changes
238
+
239
+ - d1edf73: Add support for installing deno runtime.
240
+ - 86b33e9: Added support for installing Bun runtime.
241
+
242
+ ### Patch Changes
243
+
244
+ - @pnpm/error@1000.0.4
245
+
246
+ ## 1001.0.0
247
+
248
+ ### Major Changes
249
+
250
+ - 1a07b8f: Added @pnpm/logger to peer deps.
251
+
252
+ ### Minor Changes
253
+
254
+ - 1a07b8f: Added support for resolving and downloading the Node.js runtime specified in the [devEngines](https://github.com/openjs-foundation/package-metadata-interoperability-collab-space/issues/15) field of `package.json`.
255
+
256
+ Usage example:
257
+
258
+ ```json
259
+ {
260
+ "devEngines": {
261
+ "runtime": {
262
+ "name": "node",
263
+ "version": "^24.4.0",
264
+ "onFail": "download"
265
+ }
266
+ }
267
+ }
268
+ ```
269
+
270
+ When running `pnpm install`, pnpm will resolve Node.js to the latest version that satisfies the specified range and install it as a dependency of the project. As a result, when running scripts, the locally installed Node.js version will be used.
271
+
272
+ Unlike the existing options, `useNodeVersion` and `executionEnv.nodeVersion`, this new field supports version ranges, which are locked to exact versions during installation. The resolved version is stored in the pnpm lockfile, along with an integrity checksum for future validation of the Node.js content's validity.
273
+
274
+ Related PR: [#9755](https://github.com/pnpm/pnpm/pull/9755).
275
+
276
+ ### Patch Changes
277
+
278
+ - Updated dependencies [1a07b8f]
279
+ - @pnpm/types@1000.7.0
280
+ - @pnpm/write-project-manifest@1000.0.9
281
+ - @pnpm/error@1000.0.3
282
+
283
+ ## 1000.0.11
284
+
285
+ ### Patch Changes
286
+
287
+ - Updated dependencies [5ec7255]
288
+ - @pnpm/types@1000.6.0
289
+ - @pnpm/write-project-manifest@1000.0.8
290
+
291
+ ## 1000.0.10
292
+
293
+ ### Patch Changes
294
+
295
+ - Updated dependencies [5b73df1]
296
+ - @pnpm/types@1000.5.0
297
+ - @pnpm/write-project-manifest@1000.0.7
298
+
299
+ ## 1000.0.9
300
+
301
+ ### Patch Changes
302
+
303
+ - Updated dependencies [750ae7d]
304
+ - @pnpm/types@1000.4.0
305
+ - @pnpm/write-project-manifest@1000.0.6
306
+
307
+ ## 1000.0.8
308
+
309
+ ### Patch Changes
310
+
311
+ - Updated dependencies [5f7be64]
312
+ - Updated dependencies [5f7be64]
313
+ - @pnpm/types@1000.3.0
314
+ - @pnpm/write-project-manifest@1000.0.5
315
+
316
+ ## 1000.0.7
317
+
318
+ ### Patch Changes
319
+
320
+ - Updated dependencies [a5e4965]
321
+ - @pnpm/types@1000.2.1
322
+ - @pnpm/write-project-manifest@1000.0.4
323
+
324
+ ## 1000.0.6
325
+
326
+ ### Patch Changes
327
+
328
+ - Updated dependencies [8fcc221]
329
+ - @pnpm/types@1000.2.0
330
+ - @pnpm/write-project-manifest@1000.0.3
331
+
332
+ ## 1000.0.5
333
+
334
+ ### Patch Changes
335
+
336
+ - 1e229d7: Replaced `lodash.clonedeep` with the built-in `structuredClone`.
337
+
338
+ ## 1000.0.4
339
+
340
+ ### Patch Changes
341
+
342
+ - Updated dependencies [b562deb]
343
+ - @pnpm/types@1000.1.1
344
+ - @pnpm/error@1000.0.2
345
+ - @pnpm/write-project-manifest@1000.0.2
346
+
347
+ ## 1000.0.3
348
+
349
+ ### Patch Changes
350
+
351
+ - e050221: Export `WriteProjectManifest`.
352
+
353
+ ## 1000.0.2
354
+
355
+ ### Patch Changes
356
+
357
+ - Updated dependencies [9591a18]
358
+ - @pnpm/types@1000.1.0
359
+ - @pnpm/write-project-manifest@1000.0.1
360
+
361
+ ## 1000.0.1
362
+
363
+ ### Patch Changes
364
+
365
+ - @pnpm/error@1000.0.1
366
+
367
+ ## 6.0.10
368
+
369
+ ### Patch Changes
370
+
371
+ - @pnpm/error@6.0.3
372
+
373
+ ## 6.0.9
374
+
375
+ ### Patch Changes
376
+
377
+ - @pnpm/error@6.0.2
378
+
379
+ ## 6.0.8
380
+
381
+ ### Patch Changes
382
+
383
+ - Updated dependencies [d500d9f]
384
+ - @pnpm/types@12.2.0
385
+ - @pnpm/write-project-manifest@6.0.7
386
+
387
+ ## 6.0.7
388
+
389
+ ### Patch Changes
390
+
391
+ - Updated dependencies [7ee59a1]
392
+ - @pnpm/types@12.1.0
393
+ - @pnpm/write-project-manifest@6.0.6
394
+
395
+ ## 6.0.6
396
+
397
+ ### Patch Changes
398
+
399
+ - Updated dependencies [cb006df]
400
+ - @pnpm/types@12.0.0
401
+ - @pnpm/write-project-manifest@6.0.5
402
+
403
+ ## 6.0.5
404
+
405
+ ### Patch Changes
406
+
407
+ - Updated dependencies [0ef168b]
408
+ - @pnpm/types@11.1.0
409
+ - @pnpm/write-project-manifest@6.0.4
410
+
411
+ ## 6.0.4
412
+
413
+ ### Patch Changes
414
+
415
+ - Updated dependencies [dd00eeb]
416
+ - Updated dependencies
417
+ - @pnpm/types@11.0.0
418
+ - @pnpm/write-project-manifest@6.0.3
419
+
420
+ ## 6.0.3
421
+
422
+ ### Patch Changes
423
+
424
+ - Updated dependencies [13e55b2]
425
+ - @pnpm/types@10.1.1
426
+ - @pnpm/write-project-manifest@6.0.2
427
+
428
+ ## 6.0.2
429
+
430
+ ### Patch Changes
431
+
432
+ - Updated dependencies [45f4262]
433
+ - @pnpm/types@10.1.0
434
+ - @pnpm/write-project-manifest@6.0.1
435
+
436
+ ## 6.0.1
437
+
438
+ ### Patch Changes
439
+
440
+ - Updated dependencies [a7aef51]
441
+ - @pnpm/error@6.0.1
442
+
443
+ ## 6.0.0
444
+
445
+ ### Major Changes
446
+
447
+ - 43cdd87: Node.js v16 support dropped. Use at least Node.js v18.12.
448
+
449
+ ### Patch Changes
450
+
451
+ - Updated dependencies [7733f3a]
452
+ - Updated dependencies [3ded840]
453
+ - Updated dependencies [43cdd87]
454
+ - Updated dependencies [730929e]
455
+ - @pnpm/types@10.0.0
456
+ - @pnpm/error@6.0.0
457
+ - @pnpm/write-project-manifest@6.0.0
458
+ - @pnpm/text.comments-parser@3.0.0
459
+ - @pnpm/graceful-fs@4.0.0
460
+
461
+ ## 5.0.10
462
+
463
+ ### Patch Changes
464
+
465
+ - Updated dependencies [4d34684f1]
466
+ - @pnpm/types@9.4.2
467
+ - @pnpm/write-project-manifest@5.0.6
468
+
469
+ ## 5.0.9
470
+
471
+ ### Patch Changes
472
+
473
+ - Updated dependencies
474
+ - @pnpm/types@9.4.1
475
+ - @pnpm/write-project-manifest@5.0.5
476
+
477
+ ## 5.0.8
478
+
479
+ ### Patch Changes
480
+
481
+ - Updated dependencies [43ce9e4a6]
482
+ - @pnpm/types@9.4.0
483
+ - @pnpm/write-project-manifest@5.0.4
484
+
485
+ ## 5.0.7
486
+
487
+ ### Patch Changes
488
+
489
+ - Updated dependencies [d774a3196]
490
+ - @pnpm/types@9.3.0
491
+ - @pnpm/write-project-manifest@5.0.3
492
+
493
+ ## 5.0.6
494
+
495
+ ### Patch Changes
496
+
497
+ - Updated dependencies [9caa33d53]
498
+ - @pnpm/graceful-fs@3.2.0
499
+
500
+ ## 5.0.5
501
+
502
+ ### Patch Changes
503
+
504
+ - Updated dependencies [083bbf590]
505
+ - @pnpm/graceful-fs@3.1.0
506
+
507
+ ## 5.0.4
508
+
509
+ ### Patch Changes
510
+
511
+ - Updated dependencies [aa2ae8fe2]
512
+ - @pnpm/types@9.2.0
513
+ - @pnpm/write-project-manifest@5.0.2
514
+
515
+ ## 5.0.3
516
+
517
+ ### Patch Changes
518
+
519
+ - b4892acc5: Optimizing project manifest normalization, reducing amoung of data copying
520
+
521
+ ## 5.0.2
522
+
523
+ ### Patch Changes
524
+
525
+ - @pnpm/error@5.0.2
526
+
527
+ ## 5.0.1
528
+
529
+ ### Patch Changes
530
+
531
+ - Updated dependencies [a9e0b7cbf]
532
+ - @pnpm/types@9.1.0
533
+ - @pnpm/write-project-manifest@5.0.1
534
+ - @pnpm/error@5.0.1
535
+
536
+ ## 5.0.0
537
+
538
+ ### Major Changes
539
+
540
+ - eceaa8b8b: Node.js 14 support dropped.
541
+
542
+ ### Patch Changes
543
+
544
+ - Updated dependencies [eceaa8b8b]
545
+ - @pnpm/write-project-manifest@5.0.0
546
+ - @pnpm/text.comments-parser@2.0.0
547
+ - @pnpm/graceful-fs@3.0.0
548
+ - @pnpm/error@5.0.0
549
+ - @pnpm/types@9.0.0
550
+
551
+ ## 4.1.4
552
+
553
+ ### Patch Changes
554
+
555
+ - Updated dependencies [955874422]
556
+ - @pnpm/graceful-fs@2.1.0
557
+
558
+ ## 4.1.3
559
+
560
+ ### Patch Changes
561
+
562
+ - @pnpm/error@4.0.1
563
+
564
+ ## 4.1.2
565
+
566
+ ### Patch Changes
567
+
568
+ - Updated dependencies [b77651d14]
569
+ - @pnpm/types@8.10.0
570
+ - @pnpm/write-project-manifest@4.1.2
571
+
572
+ ## 4.1.1
573
+
574
+ ### Patch Changes
575
+
576
+ - Updated dependencies [a9d59d8bc]
577
+ - @pnpm/write-project-manifest@4.1.1
578
+
579
+ ## 4.1.0
580
+
581
+ ### Minor Changes
582
+
583
+ - 0d12d38fd: Comments in `package.json5` are preserver [#2008](https://github.com/pnpm/pnpm/issues/2008).
584
+
585
+ ### Patch Changes
586
+
587
+ - fec9e3149: Update detect-intent with fork from @gwhitney.
588
+ - Updated dependencies [0d12d38fd]
589
+ - Updated dependencies [0d12d38fd]
590
+ - @pnpm/text.comments-parser@1.0.0
591
+ - @pnpm/write-project-manifest@4.1.0
592
+
593
+ ## 4.0.2
594
+
595
+ ### Patch Changes
596
+
597
+ - Updated dependencies [702e847c1]
598
+ - @pnpm/types@8.9.0
599
+ - @pnpm/write-project-manifest@4.0.2
600
+
601
+ ## 4.0.1
602
+
603
+ ### Patch Changes
604
+
605
+ - Updated dependencies [844e82f3a]
606
+ - @pnpm/types@8.8.0
607
+ - @pnpm/write-project-manifest@4.0.1
608
+
609
+ ## 4.0.0
610
+
611
+ ### Major Changes
612
+
613
+ - f884689e0: Require `@pnpm/logger` v5.
614
+
615
+ ### Patch Changes
616
+
617
+ - Updated dependencies [043d988fc]
618
+ - Updated dependencies [f884689e0]
619
+ - @pnpm/error@4.0.0
620
+ - @pnpm/write-project-manifest@4.0.0
621
+
622
+ ## 3.0.13
623
+
624
+ ### Patch Changes
625
+
626
+ - Updated dependencies [7c296fe9b]
627
+ - @pnpm/write-project-manifest@3.0.10
628
+
629
+ ## 3.0.12
630
+
631
+ ### Patch Changes
632
+
633
+ - Updated dependencies [e8a631bf0]
634
+ - @pnpm/error@3.1.0
635
+
636
+ ## 3.0.11
637
+
638
+ ### Patch Changes
639
+
640
+ - Updated dependencies [d665f3ff7]
641
+ - @pnpm/types@8.7.0
642
+ - @pnpm/write-project-manifest@3.0.9
643
+
644
+ ## 3.0.10
645
+
646
+ ### Patch Changes
647
+
648
+ - Updated dependencies [156cc1ef6]
649
+ - @pnpm/types@8.6.0
650
+ - @pnpm/write-project-manifest@3.0.8
651
+
652
+ ## 3.0.9
653
+
654
+ ### Patch Changes
655
+
656
+ - 39c040127: upgrade various dependencies
657
+ - Updated dependencies [39c040127]
658
+ - @pnpm/write-project-manifest@3.0.7
659
+
660
+ ## 3.0.8
661
+
662
+ ### Patch Changes
663
+
664
+ - Updated dependencies [c90798461]
665
+ - @pnpm/types@8.5.0
666
+ - @pnpm/write-project-manifest@3.0.6
667
+
668
+ ## 3.0.7
669
+
670
+ ### Patch Changes
671
+
672
+ - 01c5834bf: It should be possible to rewrite a manifest back to its initial content [#5061](https://github.com/pnpm/pnpm/issues/5061).
673
+
674
+ ## 3.0.6
675
+
676
+ ### Patch Changes
677
+
678
+ - Updated dependencies [8e5b77ef6]
679
+ - @pnpm/types@8.4.0
680
+ - @pnpm/write-project-manifest@3.0.5
681
+
682
+ ## 3.0.5
683
+
684
+ ### Patch Changes
685
+
686
+ - Updated dependencies [2a34b21ce]
687
+ - @pnpm/types@8.3.0
688
+ - @pnpm/write-project-manifest@3.0.4
689
+
690
+ ## 3.0.4
691
+
692
+ ### Patch Changes
693
+
694
+ - Updated dependencies [fb5bbfd7a]
695
+ - @pnpm/types@8.2.0
696
+ - @pnpm/write-project-manifest@3.0.3
697
+
698
+ ## 3.0.3
699
+
700
+ ### Patch Changes
701
+
702
+ - Updated dependencies [4d39e4a0c]
703
+ - @pnpm/types@8.1.0
704
+ - @pnpm/write-project-manifest@3.0.2
705
+
706
+ ## 3.0.2
707
+
708
+ ### Patch Changes
709
+
710
+ - Updated dependencies [18ba5e2c0]
711
+ - @pnpm/types@8.0.1
712
+ - @pnpm/write-project-manifest@3.0.1
713
+
714
+ ## 3.0.1
715
+
716
+ ### Patch Changes
717
+
718
+ - @pnpm/error@3.0.1
719
+
720
+ ## 3.0.0
721
+
722
+ ### Major Changes
723
+
724
+ - 542014839: Node.js 12 is not supported.
725
+
726
+ ### Patch Changes
727
+
728
+ - Updated dependencies [d504dc380]
729
+ - Updated dependencies [542014839]
730
+ - @pnpm/types@8.0.0
731
+ - @pnpm/error@3.0.0
732
+ - @pnpm/graceful-fs@2.0.0
733
+ - @pnpm/write-project-manifest@3.0.0
734
+
735
+ ## 2.0.13
736
+
737
+ ### Patch Changes
738
+
739
+ - Updated dependencies [70ba51da9]
740
+ - @pnpm/error@2.1.0
741
+
742
+ ## 2.0.12
743
+
744
+ ### Patch Changes
745
+
746
+ - Updated dependencies [b138d048c]
747
+ - @pnpm/types@7.10.0
748
+ - @pnpm/write-project-manifest@2.0.11
749
+
750
+ ## 2.0.11
751
+
752
+ ### Patch Changes
753
+
754
+ - Updated dependencies [26cd01b88]
755
+ - @pnpm/types@7.9.0
756
+ - @pnpm/write-project-manifest@2.0.10
757
+
758
+ ## 2.0.10
759
+
760
+ ### Patch Changes
761
+
762
+ - Updated dependencies [b5734a4a7]
763
+ - @pnpm/types@7.8.0
764
+ - @pnpm/write-project-manifest@2.0.9
765
+
766
+ ## 2.0.9
767
+
768
+ ### Patch Changes
769
+
770
+ - Updated dependencies [6493e0c93]
771
+ - @pnpm/types@7.7.1
772
+ - @pnpm/write-project-manifest@2.0.8
773
+
774
+ ## 2.0.8
775
+
776
+ ### Patch Changes
777
+
778
+ - Updated dependencies [ba9b2eba1]
779
+ - @pnpm/types@7.7.0
780
+ - @pnpm/write-project-manifest@2.0.7
781
+
782
+ ## 2.0.7
783
+
784
+ ### Patch Changes
785
+
786
+ - Updated dependencies [302ae4f6f]
787
+ - @pnpm/types@7.6.0
788
+ - @pnpm/write-project-manifest@2.0.6
789
+
790
+ ## 2.0.6
791
+
792
+ ### Patch Changes
793
+
794
+ - Updated dependencies [4ab87844a]
795
+ - @pnpm/types@7.5.0
796
+ - @pnpm/write-project-manifest@2.0.5
797
+
798
+ ## 2.0.5
799
+
800
+ ### Patch Changes
801
+
802
+ - Updated dependencies [b734b45ea]
803
+ - @pnpm/types@7.4.0
804
+ - @pnpm/write-project-manifest@2.0.4
805
+
806
+ ## 2.0.4
807
+
808
+ ### Patch Changes
809
+
810
+ - Updated dependencies [8e76690f4]
811
+ - @pnpm/types@7.3.0
812
+ - @pnpm/write-project-manifest@2.0.3
813
+
814
+ ## 2.0.3
815
+
816
+ ### Patch Changes
817
+
818
+ - Updated dependencies [724c5abd8]
819
+ - @pnpm/types@7.2.0
820
+ - @pnpm/write-project-manifest@2.0.2
821
+
822
+ ## 2.0.2
823
+
824
+ ### Patch Changes
825
+
826
+ - Updated dependencies [a2aeeef88]
827
+ - @pnpm/graceful-fs@1.0.0
828
+
829
+ ## 2.0.1
830
+
831
+ ### Patch Changes
832
+
833
+ - 6e9c112af: Use graceful-fs in order to avoid EMFILE errors.
834
+ - Updated dependencies [97c64bae4]
835
+ - @pnpm/types@7.1.0
836
+ - @pnpm/write-project-manifest@2.0.1
837
+
838
+ ## 2.0.0
839
+
840
+ ### Major Changes
841
+
842
+ - 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
843
+
844
+ ### Patch Changes
845
+
846
+ - Updated dependencies [97b986fbc]
847
+ - @pnpm/error@2.0.0
848
+ - @pnpm/types@7.0.0
849
+ - @pnpm/write-project-manifest@2.0.0
850
+
851
+ ## 1.1.7
852
+
853
+ ### Patch Changes
854
+
855
+ - ad113645b: pin graceful-fs to v4.2.4
856
+ - Updated dependencies [ad113645b]
857
+ - @pnpm/write-project-manifest@1.1.7
858
+
859
+ ## 1.1.6
860
+
861
+ ### Patch Changes
862
+
863
+ - Updated dependencies [9ad8c27bf]
864
+ - @pnpm/types@6.4.0
865
+ - @pnpm/write-project-manifest@1.1.6
866
+
867
+ ## 1.1.5
868
+
869
+ ### Patch Changes
870
+
871
+ - Updated dependencies [0c5f1bcc9]
872
+ - @pnpm/error@1.4.0
873
+
874
+ ## 1.1.4
875
+
876
+ ### Patch Changes
877
+
878
+ - Updated dependencies [09492b7b4]
879
+ - @pnpm/write-project-manifest@1.1.5
880
+
881
+ ## 1.1.3
882
+
883
+ ### Patch Changes
884
+
885
+ - Updated dependencies [cb6e6fc8a]
886
+ - @pnpm/write-project-manifest@1.1.4
887
+
888
+ ## 1.1.2
889
+
890
+ ### Patch Changes
891
+
892
+ - Updated dependencies [b5d694e7f]
893
+ - @pnpm/types@6.3.1
894
+ - @pnpm/write-project-manifest@1.1.3
895
+
896
+ ## 1.1.1
897
+
898
+ ### Patch Changes
899
+
900
+ - Updated dependencies [d54043ee4]
901
+ - @pnpm/types@6.3.0
902
+ - @pnpm/write-project-manifest@1.1.2
903
+
904
+ ## 1.1.0
905
+
906
+ ### Minor Changes
907
+
908
+ - 2762781cc: safeReadProjectManifestOnly() added.
909
+
910
+ ## 1.0.13
911
+
912
+ ### Patch Changes
913
+
914
+ - Updated dependencies [75a36deba]
915
+ - @pnpm/error@1.3.1
916
+
917
+ ## 1.0.12
918
+
919
+ ### Patch Changes
920
+
921
+ - Updated dependencies [6d480dd7a]
922
+ - @pnpm/error@1.3.0
923
+
924
+ ## 1.0.11
925
+
926
+ ### Patch Changes
927
+
928
+ - Updated dependencies [2de5e1bec]
929
+ - @pnpm/write-project-manifest@1.1.1
930
+
931
+ ## 1.0.10
932
+
933
+ ### Patch Changes
934
+
935
+ - 3bd3253e3: Trailing new lines are preserved, when updating the read manifests.
936
+ - Updated dependencies [3bd3253e3]
937
+ - @pnpm/write-project-manifest@1.1.0
938
+
939
+ ## 1.0.9
940
+
941
+ ### Patch Changes
942
+
943
+ - Updated dependencies [db17f6f7b]
944
+ - @pnpm/types@6.2.0
945
+ - @pnpm/write-project-manifest@1.0.5
946
+
947
+ ## 1.0.8
948
+
949
+ ### Patch Changes
950
+
951
+ - Updated dependencies [71a8c8ce3]
952
+ - @pnpm/types@6.1.0
953
+ - @pnpm/write-project-manifest@1.0.4
954
+
955
+ ## 1.0.7
956
+
957
+ ### Patch Changes
958
+
959
+ - 57c510f00: Update fast-deep-equal to v3.1.3.
960
+
961
+ ## 1.0.6
962
+
963
+ ### Patch Changes
964
+
965
+ - Updated dependencies [da091c711]
966
+ - @pnpm/types@6.0.0
967
+ - @pnpm/error@1.2.1
968
+ - @pnpm/write-project-manifest@1.0.3
969
+
970
+ ## 1.0.6-alpha.0
971
+
972
+ ### Patch Changes
973
+
974
+ - Updated dependencies [da091c71]
975
+ - @pnpm/types@6.0.0-alpha.0
976
+ - @pnpm/write-project-manifest@1.0.3-alpha.0
977
+
978
+ ## 1.0.5
979
+
980
+ ### Patch Changes
981
+
982
+ - Updated dependencies [907c63a48]
983
+ - @pnpm/write-project-manifest@1.0.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/workspace.project-manifest-reader",
3
- "version": "1100.0.14",
3
+ "version": "1100.0.16",
4
4
  "description": "Read a project manifest (called package.json in most cases)",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -27,6 +27,12 @@
27
27
  "!*.map"
28
28
  ],
29
29
  "dependencies": {
30
+ "@pnpm/error": "1100.0.1",
31
+ "@pnpm/fs.graceful-fs": "1100.1.0",
32
+ "@pnpm/pkg-manifest.utils": "1100.2.8",
33
+ "@pnpm/text.comments-parser": "1100.0.0",
34
+ "@pnpm/types": "1101.4.0",
35
+ "@pnpm/workspace.project-manifest-writer": "1100.0.9",
30
36
  "detect-indent": "7.0.2",
31
37
  "fast-deep-equal": "^3.1.3",
32
38
  "is-windows": "^1.0.2",
@@ -34,24 +40,18 @@
34
40
  "p-limit": "^7.3.0",
35
41
  "parse-json": "^8.3.0",
36
42
  "read-yaml-file": "^3.0.0",
37
- "strip-bom": "^5.0.0",
38
- "@pnpm/error": "1100.0.1",
39
- "@pnpm/fs.graceful-fs": "1100.1.0",
40
- "@pnpm/text.comments-parser": "1100.0.0",
41
- "@pnpm/types": "1101.3.2",
42
- "@pnpm/workspace.project-manifest-writer": "1100.0.8",
43
- "@pnpm/pkg-manifest.utils": "1100.2.6"
43
+ "strip-bom": "^5.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@pnpm/logger": "^1100.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@jest/globals": "30.4.1",
50
+ "@pnpm/test-fixtures": "1100.0.0",
51
+ "@pnpm/workspace.project-manifest-reader": "1100.0.16",
50
52
  "@types/is-windows": "^1.0.2",
51
53
  "@types/parse-json": "^7.0.0",
52
- "tempy": "3.0.0",
53
- "@pnpm/test-fixtures": "1100.0.0",
54
- "@pnpm/workspace.project-manifest-reader": "1100.0.14"
54
+ "tempy": "3.0.0"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=22.13"
package/lib/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import type { ProjectManifest } from '@pnpm/types';
2
- export type WriteProjectManifest = (manifest: ProjectManifest, force?: boolean) => Promise<void>;
3
- export declare function safeReadProjectManifestOnly(projectDir: string): Promise<ProjectManifest | null>;
4
- export declare function readProjectManifest(projectDir: string): Promise<{
5
- fileName: string;
6
- manifest: ProjectManifest;
7
- writeProjectManifest: WriteProjectManifest;
8
- }>;
9
- export declare function readProjectManifestOnly(projectDir: string): Promise<ProjectManifest>;
10
- export declare function tryReadProjectManifest(projectDir: string): Promise<{
11
- fileName: string;
12
- manifest: ProjectManifest | null;
13
- writeProjectManifest: WriteProjectManifest;
14
- }>;
15
- interface ReadExactProjectManifestResult {
16
- manifest: ProjectManifest;
17
- writeProjectManifest: WriteProjectManifest;
18
- }
19
- export declare function readExactProjectManifest(manifestPath: string): Promise<ReadExactProjectManifestResult>;
20
- export {};
package/lib/readFile.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import type { ProjectManifest } from '@pnpm/types';
2
- export declare function readJson5File(filePath: string): Promise<{
3
- data: ProjectManifest;
4
- text: string;
5
- }>;
6
- export declare function readJsonFile(filePath: string): Promise<{
7
- data: ProjectManifest;
8
- text: string;
9
- }>;
package/lib/readFile.js DELETED
@@ -1,35 +0,0 @@
1
- import gfs from '@pnpm/fs.graceful-fs';
2
- import JSON5 from 'json5';
3
- import parseJson from 'parse-json';
4
- import stripBom from 'strip-bom';
5
- export async function readJson5File(filePath) {
6
- const text = await readFileWithoutBom(filePath);
7
- try {
8
- return {
9
- data: JSON5.parse(text),
10
- text,
11
- };
12
- }
13
- catch (err) { // eslint-disable-line
14
- err.message = `${err.message} in ${filePath}`;
15
- err['code'] = 'ERR_PNPM_JSON5_PARSE';
16
- throw err;
17
- }
18
- }
19
- export async function readJsonFile(filePath) {
20
- const text = await readFileWithoutBom(filePath);
21
- try {
22
- return {
23
- data: parseJson(text, filePath),
24
- text,
25
- };
26
- }
27
- catch (err) { // eslint-disable-line
28
- err['code'] = 'ERR_PNPM_JSON_PARSE';
29
- throw err;
30
- }
31
- }
32
- async function readFileWithoutBom(path) {
33
- return stripBom(await gfs.readFile(path, 'utf8'));
34
- }
35
- //# sourceMappingURL=readFile.js.map