Skip to content
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

fix(deps): upgrading pacote & npm-packlist to v7 requires arborist tree #367

Merged
merged 8 commits into from Oct 14, 2022

Conversation

ghiscoding
Copy link
Member

@ghiscoding ghiscoding commented Oct 6, 2022

Description

upgrade a few dependencies in the same PR since they are all related to each other

  • pacote to v15
  • npm-packlist v7 has a breaking change, it now requires tree has the first parameter
  • npm-registry-fetch to v14

Motivation and Context

npm-packlist, npm-registry-fetch and pacote have breaking changes that required code change in order to upgrade to their latest major version.

  • the arborist tree must now be provided in the options and will not be generated for you. the npm-packlist bin has also been removed (see their changelog
  • also update Pacote to v14 which has a peerDep on npm-packlist v7 (see their changelog)

How Has This Been Tested?

Types of changes

  • Chore (change that has absolutely no effect on users)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- `npm-packlist` has a breaking change, it now requires `tree` has the first parameter (see their [changelog](https://github.com/npm/npm-packlist/blob/main/CHANGELOG.md)
- the arborist tree must now be provided in the options and will not be generated for you. the npm-packlist bin has also been removed.
- also update Pacote to v14 which has a peerDep on npm-packlist v7 (see their [changelog](https://github.com/npm/pacote/blob/main/CHANGELOG.md))
@ghiscoding ghiscoding changed the title fix(deps): upgrading pacote & npm-packlist to v7 requires arborist tree WIP - fix(deps): upgrading pacote & npm-packlist to v7 requires arborist tree Oct 6, 2022
@codecov
Copy link

codecov bot commented Oct 6, 2022

Codecov Report

Merging #367 (37b1c98) into main (6f373fd) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #367      +/-   ##
==========================================
+ Coverage   97.22%   97.25%   +0.03%     
==========================================
  Files         145      145              
  Lines        4278     4277       -1     
  Branches      980      980              
==========================================
  Hits         4159     4159              
+ Misses        119      118       -1     
Impacted Files Coverage Δ
packages/core/src/utils/pulse-till-done.ts 91.67% <100.00%> (ø)
packages/publish/src/lib/pack-directory.ts 100.00% <100.00%> (+2.71%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ghiscoding ghiscoding changed the title WIP - fix(deps): upgrading pacote & npm-packlist to v7 requires arborist tree fix(deps): upgrading pacote & npm-packlist to v7 requires arborist tree Oct 13, 2022
@ghiscoding ghiscoding merged commit 8c34a3b into main Oct 14, 2022
@ghiscoding ghiscoding deleted the chore/npm-packlist7 branch October 14, 2022 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant