Skip to content

Update pnpm to v7.4.0 #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Update pnpm to v7.4.0 #69

merged 1 commit into from
Jun 30, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 28, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pnpm (source) 7.3.0 -> 7.4.0 age adoption passing confidence

Release Notes

pnpm/pnpm

v7.4.0

Compare Source

Minor Changes

  • Dependencies patching is possible via the pnpm.patchedDependencies field of the package.json.
    To patch a package, the package name, exact version, and the relative path to the patch file should be specified. For instance:

    {
      "pnpm": {
        "patchedDependencies": {
          "[email protected]": "./patches/[email protected]"
        }
      }
    }
  • Two new commands added: pnpm patch and pnpm patch-commit.

    pnpm patch <pkg> prepares a package for patching. For instance, if you want to patch express v1, run:

    pnpm patch [email protected]
    

    pnpm will create a temporary directory with [email protected] that you can modify with your changes.
    Once you are read with your changes, run:

    pnpm patch-commit <path to temp folder>
    

    This will create a patch file and write it to <project>/patches/[email protected].
    Also, it will reference this new patch file from the patchedDependencies field in package.json:

    {
      "pnpm": {
        "patchedDependencies": {
          "[email protected]": "patches/[email protected]"
        }
      }
    }
  • A new experimental command added: pnpm deploy. The deploy command takes copies a project from a workspace and installs all of its production dependencies (even if some of those dependencies are other projects from the workspace).

    For example, the new command will deploy the project named foo to the dist directory in the root of the workspace:

    pnpm --filter=foo deploy dist
    
  • package-import-method supports a new option: clone-or-copy.

  • New setting added: include-workspace-root. When it is set to true, the run, exec, add, and test commands will include the root package, when executed recursively #​4906

Patch Changes

  • Don't crash when pnpm update --interactive is cancelled with Ctrl+c.

  • The use-node-version setting should work with prerelease Node.js versions. For instance:

    use-node-version=18.0.0-rc.3
    
  • Return early when the lockfile is up-to-date.

  • Resolve native workspace path for case-insensitive file systems #​4904.

  • Don't link local dev dependencies, when prod dependencies should only be installed.

  • pnpm audit --fix should not add an override for a vulnerable package that has no fixes released.

  • Update the compatibility database.

Our Gold Sponsors

#### Our Silver Sponsors
#### What's Changed * feat: patch package by @​zkochan in https://github.com/pnpm/pnpm/pull/4885 * feat: add `patch` and `patch-commit` commands by @​zkochan in https://github.com/pnpm/pnpm/pull/4900 * fix(env): `use-node-version` should work with prerelease versions by @​zkochan in https://github.com/pnpm/pnpm/pull/4903 * refactor: create @​pnpm/node.fetcher by @​zkochan in https://github.com/pnpm/pnpm/pull/4908 * feat(patch): update patched dependencies on install by @​zkochan in https://github.com/pnpm/pnpm/pull/4905 * fix: throw an error if not all patches were applied by @​zkochan in https://github.com/pnpm/pnpm/pull/4911 * fix: a modified patch should update the deps on install by @​zkochan in https://github.com/pnpm/pnpm/pull/4918 * fix: packages should be patched even when scripts are ignored by @​zkochan in https://github.com/pnpm/pnpm/pull/4922 * fix: patch package even if it is not in the onlyBuiltDependencies list by @​zkochan in https://github.com/pnpm/pnpm/pull/4925 * fix: respect include-workspace-root npmrc option by @​shirotech in https://github.com/pnpm/pnpm/pull/4928 * fix: install --lockfile-only should exit early by @​zkochan in https://github.com/pnpm/pnpm/pull/4932 * fix: resolve real path for case insensitive systems by @​mdogadailo in https://github.com/pnpm/pnpm/pull/4935 * feat: deploy command by @​zkochan in https://github.com/pnpm/pnpm/pull/4933 * fix: use recursive for deploy command directory creation by @​ragrag in https://github.com/pnpm/pnpm/pull/4943 * fix: don't fail when the patched pkg appears multiple times by @​zkochan in https://github.com/pnpm/pnpm/pull/4945 #### New Contributors * @​shirotech made their first contribution in https://github.com/pnpm/pnpm/pull/4928 * @​mdogadailo made their first contribution in https://github.com/pnpm/pnpm/pull/4935 * @​ragrag made their first contribution in https://github.com/pnpm/pnpm/pull/4943

Full Changelog: pnpm/pnpm@v7.3.0...v7.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 28, 2022
@renovate renovate bot force-pushed the renovate/pnpm-7.x branch from 5ecc103 to 1d1c26d Compare June 29, 2022 05:06
@Mogyuchi Mogyuchi merged commit 8403df6 into main Jun 30, 2022
@Mogyuchi Mogyuchi deleted the renovate/pnpm-7.x branch June 30, 2022 00:34
github-actions bot added a commit that referenced this pull request Apr 19, 2023
PR:
#404
#402
#403
#401
#400
#399
#398
#397
#396
#395
#394
#390
#393
#391
#389
#388
#386
#385
#384
#387
#383
#382
#380
#379
#378
#377
#376
#375
#374
#373
#372
#370
#371
#369
#368
#367
#366
#365
#364
#363
#362
#361
#360
#359
#358
#357
#356
#354
#355
#352
#353
#351
#350
#349
#348
#347
#346
#345
#342
#344
#343
#340
#339
#337
#338
#335
#336
#334
#332
#331
#330
#328
#326
#325
#324
#322
#323
#321
#320
#319
#318
#317
#316
#315
#314
#313
#312
#311
#309
#310
#308
#305
#307
#306
#304
#303
#302
#301
#300
#299
#298
#297
#296
#295
#294
#293
#292
#291
#287
#290
#288
#289
#286
#285
#284
#283
#282
#281
#280
#279
#278
#277
#275
#274
#273
#272
#271
#270
#268
#269
#266
#267
#265
#263
#262
#261
#260
#259
#258
#257
#256
#255
#254
#253
#252
#251
#250
#249
#248
#245
#244
#243
#242
#241
#240
#239
#238
#237
#236
#235
#234
#233
#232
#231
#230
#229
#228
#227
#226
#225
#224
#223
#222
#221
#220
#219
#218
#217
#215
#216
#214
#213
#212
#210
#211
#209
#208
#207
#205
#206
#204
#203
#202
#201
#200
#199
#198
#197
#196
#195
#194
#193
#192
#190
#189
#191
#188
#187
#186
#185
#184
#183
#181
#182
#180
#179
#178
#177
#176
#175
#174
#173
#172
#171
#170
#169
#168
#167
#166
#165
#164
#163
#162
#161
#160
#159
#158
#157
#156
#155
#154
#153
#152
#151
#150
#149
#148
#147
#145
#143
#146
#144
#142
#141
#140
#139
#138
#137
#136
#135
#134
#132
#131
#130
#129
#128
#127
#126
#125
#124
#123
#119
#118
#117
#116
#115
#112
#114
#113
#111
#109
#108
#107
#106
#104
#105
#102
#103
#100
#99
#101
#98
#97
#94
#96
#95
#85
#80
#83
#82
#81
#77
#78
#79
#76
#74
#75
#73
#72
#71
#70
#69
#67
#63
#62
#66
#65
#64
#61
#60
#59
#58
#57
#54
#50
#55
#53
#49
#52
#51
#48
#46
#47
#45
#44
#43
#42
#41
#40
#37
#38
#36
#31
#30
#32
#33
#35
#34
#29
#28
#27
#25
#23
#22
#17
#18
#16
#21
#15
#13
#8
#7
#6
#3
#2
@github-actions github-actions bot mentioned this pull request Apr 19, 2023
github-actions bot added a commit that referenced this pull request Apr 19, 2023
PR:
#404
#402
#403
#401
#400
#399
#398
#397
#396
#395
#394
#390
#393
#391
#389
#388
#386
#385
#384
#387
#383
#382
#380
#379
#378
#377
#376
#375
#374
#373
#372
#370
#371
#369
#368
#367
#366
#365
#364
#363
#362
#361
#360
#359
#358
#357
#356
#354
#355
#352
#353
#351
#350
#349
#348
#347
#346
#345
#342
#344
#343
#340
#339
#337
#338
#335
#336
#334
#332
#331
#330
#328
#326
#325
#324
#322
#323
#321
#320
#319
#318
#317
#316
#315
#314
#313
#312
#311
#309
#310
#308
#305
#307
#306
#304
#303
#302
#301
#300
#299
#298
#297
#296
#295
#294
#293
#292
#291
#287
#290
#288
#289
#286
#285
#284
#283
#282
#281
#280
#279
#278
#277
#275
#274
#273
#272
#271
#270
#268
#269
#266
#267
#265
#263
#262
#261
#260
#259
#258
#257
#256
#255
#254
#253
#252
#251
#250
#249
#248
#245
#244
#243
#242
#241
#240
#239
#238
#237
#236
#235
#234
#233
#232
#231
#230
#229
#228
#227
#226
#225
#224
#223
#222
#221
#220
#219
#218
#217
#215
#216
#214
#213
#212
#210
#211
#209
#208
#207
#205
#206
#204
#203
#202
#201
#200
#199
#198
#197
#196
#195
#194
#193
#192
#190
#189
#191
#188
#187
#186
#185
#184
#183
#181
#182
#180
#179
#178
#177
#176
#175
#174
#173
#172
#171
#170
#169
#168
#167
#166
#165
#164
#163
#162
#161
#160
#159
#158
#157
#156
#155
#154
#153
#152
#151
#150
#149
#148
#147
#145
#143
#146
#144
#142
#141
#140
#139
#138
#137
#136
#135
#134
#132
#131
#130
#129
#128
#127
#126
#125
#124
#123
#119
#118
#117
#116
#115
#112
#114
#113
#111
#109
#108
#107
#106
#104
#105
#102
#103
#100
#99
#101
#98
#97
#94
#96
#95
#85
#80
#83
#82
#81
#77
#78
#79
#76
#74
#75
#73
#72
#71
#70
#69
#67
#63
#62
#66
#65
#64
#61
#60
#59
#58
#57
#54
#50
#55
#53
#49
#52
#51
#48
#46
#47
#45
#44
#43
#42
#41
#40
#37
#38
#36
#31
#30
#32
#33
#35
#34
#29
#28
#27
#25
#23
#22
#17
#18
#16
#21
#15
#13
#8
#7
#6
#3
#2
@github-actions github-actions bot mentioned this pull request Apr 19, 2023
github-actions bot added a commit that referenced this pull request Apr 19, 2023
PR:
#410
#409
#408
#407
#405
#406
#404
#402
#403
#401
#400
#399
#398
#397
#396
#395
#394
#390
#393
#391
#389
#388
#386
#385
#384
#387
#383
#382
#380
#379
#378
#377
#376
#375
#374
#373
#372
#370
#371
#369
#368
#367
#366
#365
#364
#363
#362
#361
#360
#359
#358
#357
#356
#354
#355
#352
#353
#351
#350
#349
#348
#347
#346
#345
#342
#344
#343
#340
#339
#337
#338
#335
#336
#334
#332
#331
#330
#328
#326
#325
#324
#322
#323
#321
#320
#319
#318
#317
#316
#315
#314
#313
#312
#311
#309
#310
#308
#305
#307
#306
#304
#303
#302
#301
#300
#299
#298
#297
#296
#295
#294
#293
#292
#291
#287
#290
#288
#289
#286
#285
#284
#283
#282
#281
#280
#279
#278
#277
#275
#274
#273
#272
#271
#270
#268
#269
#266
#267
#265
#263
#262
#261
#260
#259
#258
#257
#256
#255
#254
#253
#252
#251
#250
#249
#248
#245
#244
#243
#242
#241
#240
#239
#238
#237
#236
#235
#234
#233
#232
#231
#230
#229
#228
#227
#226
#225
#224
#223
#222
#221
#220
#219
#218
#217
#215
#216
#214
#213
#212
#210
#211
#209
#208
#207
#205
#206
#204
#203
#202
#201
#200
#199
#198
#197
#196
#195
#194
#193
#192
#190
#189
#191
#188
#187
#186
#185
#184
#183
#181
#182
#180
#179
#178
#177
#176
#175
#174
#173
#172
#171
#170
#169
#168
#167
#166
#165
#164
#163
#162
#161
#160
#159
#158
#157
#156
#155
#154
#153
#152
#151
#150
#149
#148
#147
#145
#143
#146
#144
#142
#141
#140
#139
#138
#137
#136
#135
#134
#132
#131
#130
#129
#128
#127
#126
#125
#124
#123
#119
#118
#117
#116
#115
#112
#114
#113
#111
#109
#108
#107
#106
#104
#105
#102
#103
#100
#99
#101
#98
#97
#94
#96
#95
#85
#80
#83
#82
#81
#77
#78
#79
#76
#74
#75
#73
#72
#71
#70
#69
#67
#63
#62
#66
#65
#64
#61
#60
#59
#58
#57
#54
#50
#55
#53
#49
#52
#51
#48
#46
#47
#45
#44
#43
#42
#41
#40
#37
#38
#36
#31
#30
#32
#33
#35
#34
#29
#28
#27
#25
#23
#22
#17
#18
#16
#21
#15
#13
#8
#7
#6
#3
#2
@github-actions github-actions bot mentioned this pull request Apr 21, 2023
github-actions bot added a commit that referenced this pull request Apr 21, 2023
PR:
#418
#416
#417
#414
#415
#413
#411
#412
#410
#409
#408
#407
#405
#406
#404
#402
#403
#401
#400
#399
#398
#397
#396
#395
#394
#390
#393
#391
#389
#388
#386
#385
#384
#387
#383
#382
#380
#379
#378
#377
#376
#375
#374
#373
#372
#370
#371
#369
#368
#367
#366
#365
#364
#363
#362
#361
#360
#359
#358
#357
#356
#354
#355
#352
#353
#351
#350
#349
#348
#347
#346
#345
#342
#344
#343
#340
#339
#337
#338
#335
#336
#334
#332
#331
#330
#328
#326
#325
#324
#322
#323
#321
#320
#319
#318
#317
#316
#315
#314
#313
#312
#311
#309
#310
#308
#305
#307
#306
#304
#303
#302
#301
#300
#299
#298
#297
#296
#295
#294
#293
#292
#291
#287
#290
#288
#289
#286
#285
#284
#283
#282
#281
#280
#279
#278
#277
#275
#274
#273
#272
#271
#270
#268
#269
#266
#267
#265
#263
#262
#261
#260
#259
#258
#257
#256
#255
#254
#253
#252
#251
#250
#249
#248
#245
#244
#243
#242
#241
#240
#239
#238
#237
#236
#235
#234
#233
#232
#231
#230
#229
#228
#227
#226
#225
#224
#223
#222
#221
#220
#219
#218
#217
#215
#216
#214
#213
#212
#210
#211
#209
#208
#207
#205
#206
#204
#203
#202
#201
#200
#199
#198
#197
#196
#195
#194
#193
#192
#190
#189
#191
#188
#187
#186
#185
#184
#183
#181
#182
#180
#179
#178
#177
#176
#175
#174
#173
#172
#171
#170
#169
#168
#167
#166
#165
#164
#163
#162
#161
#160
#159
#158
#157
#156
#155
#154
#153
#152
#151
#150
#149
#148
#147
#145
#143
#146
#144
#142
#141
#140
#139
#138
#137
#136
#135
#134
#132
#131
#130
#129
#128
#127
#126
#125
#124
#123
#119
#118
#117
#116
#115
#112
#114
#113
#111
#109
#108
#107
#106
#104
#105
#102
#103
#100
#99
#101
#98
#97
#94
#96
#95
#85
#80
#83
#82
#81
#77
#78
#79
#76
#74
#75
#73
#72
#71
#70
#69
#67
#63
#62
#66
#65
#64
#61
#60
#59
#58
#57
#54
#50
#55
#53
#49
#52
#51
#48
#46
#47
#45
#44
#43
#42
#41
#40
#37
#38
#36
#31
#30
#32
#33
#35
#34
#29
#28
#27
#25
#23
#22
#17
#18
#16
#21
#15
#13
#8
#7
#6
#3
#2
@github-actions github-actions bot mentioned this pull request May 7, 2023
github-actions bot added a commit that referenced this pull request May 7, 2023
PR:
#503
#499
#502
#501
#500
#498
#497
#496
#495
#494
#493
#492
#491
#487
#490
#489
#488
#486
#485
#484
#483
#481
#480
#482
#478
#479
#477
#476
#475
#474
#473
#472
#471
#470
#467
#469
#468
#466
#465
#464
#463
#462
#461
#460
#459
#458
#457
#456
#454
#455
#453
#452
#451
#450
#449
#448
#447
#446
#445
#444
#441
#442
#443
#440
#439
#438
#437
#436
#435
#434
#433
#432
#431
#430
#429
#428
#421
#427
#426
#423
#424
#425
#422
#419
#420
#418
#416
#417
#414
#415
#413
#411
#412
#410
#409
#408
#407
#405
#406
#404
#402
#403
#401
#400
#399
#398
#397
#396
#395
#394
#390
#393
#391
#389
#388
#386
#385
#384
#387
#383
#382
#380
#379
#378
#377
#376
#375
#374
#373
#372
#370
#371
#369
#368
#367
#366
#365
#364
#363
#362
#361
#360
#359
#358
#357
#356
#354
#355
#352
#353
#351
#350
#349
#348
#347
#346
#345
#342
#344
#343
#340
#339
#337
#338
#335
#336
#334
#332
#331
#330
#328
#326
#325
#324
#322
#323
#321
#320
#319
#318
#317
#316
#315
#314
#313
#312
#311
#309
#310
#308
#305
#307
#306
#304
#303
#302
#301
#300
#299
#298
#297
#296
#295
#294
#293
#292
#291
#287
#290
#288
#289
#286
#285
#284
#283
#282
#281
#280
#279
#278
#277
#275
#274
#273
#272
#271
#270
#268
#269
#266
#267
#265
#263
#262
#261
#260
#259
#258
#257
#256
#255
#254
#253
#252
#251
#250
#249
#248
#245
#244
#243
#242
#241
#240
#239
#238
#237
#236
#235
#234
#233
#232
#231
#230
#229
#228
#227
#226
#225
#224
#223
#222
#221
#220
#219
#218
#217
#215
#216
#214
#213
#212
#210
#211
#209
#208
#207
#205
#206
#204
#203
#202
#201
#200
#199
#198
#197
#196
#195
#194
#193
#192
#190
#189
#191
#188
#187
#186
#185
#184
#183
#181
#182
#180
#179
#178
#177
#176
#175
#174
#173
#172
#171
#170
#169
#168
#167
#166
#165
#164
#163
#162
#161
#160
#159
#158
#157
#156
#155
#154
#153
#152
#151
#150
#149
#148
#147
#145
#143
#146
#144
#142
#141
#140
#139
#138
#137
#136
#135
#134
#132
#131
#130
#129
#128
#127
#126
#125
#124
#123
#119
#118
#117
#116
#115
#112
#114
#113
#111
#109
#108
#107
#106
#104
#105
#102
#103
#100
#99
#101
#98
#97
#94
#96
#95
#85
#80
#83
#82
#81
#77
#78
#79
#76
#74
#75
#73
#72
#71
#70
#69
#67
#63
#62
#66
#65
#64
#61
#60
#59
#58
#57
#54
#50
#55
#53
#49
#52
#51
#48
#46
#47
#45
#44
#43
#42
#41
#40
#37
#38
#36
#31
#30
#32
#33
#35
#34
#29
#28
#27
#25
#23
#22
#17
#18
#16
#21
#15
#13
#8
#7
#6
#3
#2
@github-actions github-actions bot mentioned this pull request May 19, 2023
github-actions bot added a commit that referenced this pull request May 19, 2023
PR:
#533
#535
#534
#530
#531
#529
#528
#527
#526
#525
#523
#524
#522
#521
#520
#519
#518
#517
#514
#515
#513
#510
#511
#509
#505
#508
#504
#506
#507
#503
#499
#502
#501
#500
#498
#497
#496
#495
#494
#493
#492
#491
#487
#490
#489
#488
#486
#485
#484
#483
#481
#480
#482
#478
#479
#477
#476
#475
#474
#473
#472
#471
#470
#467
#469
#468
#466
#465
#464
#463
#462
#461
#460
#459
#458
#457
#456
#454
#455
#453
#452
#451
#450
#449
#448
#447
#446
#445
#444
#441
#442
#443
#440
#439
#438
#437
#436
#435
#434
#433
#432
#431
#430
#429
#428
#421
#427
#426
#423
#424
#425
#422
#419
#420
#418
#416
#417
#414
#415
#413
#411
#412
#410
#409
#408
#407
#405
#406
#404
#402
#403
#401
#400
#399
#398
#397
#396
#395
#394
#390
#393
#391
#389
#388
#386
#385
#384
#387
#383
#382
#380
#379
#378
#377
#376
#375
#374
#373
#372
#370
#371
#369
#368
#367
#366
#365
#364
#363
#362
#361
#360
#359
#358
#357
#356
#354
#355
#352
#353
#351
#350
#349
#348
#347
#346
#345
#342
#344
#343
#340
#339
#337
#338
#335
#336
#334
#332
#331
#330
#328
#326
#325
#324
#322
#323
#321
#320
#319
#318
#317
#316
#315
#314
#313
#312
#311
#309
#310
#308
#305
#307
#306
#304
#303
#302
#301
#300
#299
#298
#297
#296
#295
#294
#293
#292
#291
#287
#290
#288
#289
#286
#285
#284
#283
#282
#281
#280
#279
#278
#277
#275
#274
#273
#272
#271
#270
#268
#269
#266
#267
#265
#263
#262
#261
#260
#259
#258
#257
#256
#255
#254
#253
#252
#251
#250
#249
#248
#245
#244
#243
#242
#241
#240
#239
#238
#237
#236
#235
#234
#233
#232
#231
#230
#229
#228
#227
#226
#225
#224
#223
#222
#221
#220
#219
#218
#217
#215
#216
#214
#213
#212
#210
#211
#209
#208
#207
#205
#206
#204
#203
#202
#201
#200
#199
#198
#197
#196
#195
#194
#193
#192
#190
#189
#191
#188
#187
#186
#185
#184
#183
#181
#182
#180
#179
#178
#177
#176
#175
#174
#173
#172
#171
#170
#169
#168
#167
#166
#165
#164
#163
#162
#161
#160
#159
#158
#157
#156
#155
#154
#153
#152
#151
#150
#149
#148
#147
#145
#143
#146
#144
#142
#141
#140
#139
#138
#137
#136
#135
#134
#132
#131
#130
#129
#128
#127
#126
#125
#124
#123
#119
#118
#117
#116
#115
#112
#114
#113
#111
#109
#108
#107
#106
#104
#105
#102
#103
#100
#99
#101
#98
#97
#94
#96
#95
#85
#80
#83
#82
#81
#77
#78
#79
#76
#74
#75
#73
#72
#71
#70
#69
#67
#63
#62
#66
#65
#64
#61
#60
#59
#58
#57
#54
#50
#55
#53
#49
#52
#51
#48
#46
#47
#45
#44
#43
#42
#41
#40
#37
#38
#36
#31
#30
#32
#33
#35
#34
#29
#28
#27
#25
#23
#22
#17
#18
#16
#21
#15
#13
#8
#7
#6
#3
#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant