Skip to content

Latest commit

 

History

History
87 lines (71 loc) · 4.51 KB

2021-07-21.md

File metadata and controls

87 lines (71 loc) · 4.51 KB

Meeting from: July 21st, 2021

Open RFC Meeting (npm)

Attendees

  • Darcy Clarke (@darcyclarke)
  • Gar (@wraithgar)
  • Jordan Harband (@ljharb)
  • Rebecca Turner (@iarna)
  • Ryan Sonshine (@ryansonshine)
  • Isaac Z. Schlueter (@isaacs)
  • Luke Karrys (@lukekarrys)
  • Nathan LaFreniere (@nlf)
  • zb (@naugtur)

Previously...

Agenda

  1. Housekeeping
    1. Introduction(s)
    2. Code of Conduct Acknowledgement
    3. Outline Intentions & Desired Outcomes
    4. Announcements
  2. Issue: #412 [RRFC] Include gitHead when publishing from subdirectories - @iarna
  3. Issue: #411 [RRFC] npm init should also initialise git repo if it git is installed or the folder is not a git repo already - @Rafi993
  4. PR: #403 RFC: Add `preunpack` life cycle script - @ryansonshine
  5. PR: #343 RFC: npm workspaces: auto switch context based on cwd - @ruyadorno
  6. PR: #273 RFC: npm workspaces - Config management - @ruyadorno
  7. PR: #182 RFC: npm audit licenses - @bnb

Notes

  • @iarna pretty minimal change & PR already exists to add gitHead (ref. npm/read-package-json#80)
  • @isaacs let's do it
  • Action: pull in PR / cut release
  • @ljharb personal workflows do not benefit from this but understands npm has favored git historically
  • @wraithgar seems like a feature request
  • Action: comment back w/ references to this call & ask for RFC to be created potentially outlining favoring interacting w/ git
  • @ryansonshine
    • synopsis of the RFC is to introduce a lifecycle event that runs before a package is unpacked
    • currently no way forward for folks that relied on v6 preinstall behaivour
  • @isaacs
    • .
  • @ljharb
    • there is often confusion with these lifecycle scripts as to what context you are setting these up for (ie. in a project consuming a package vs. the package that is being installed)
    • preinstall should happen before a dependency is installed
    • name should dictate how this lifecycle events run (ie. preinstall runs before install)
    • we need to make it clear between the use cases/contextxs & when those things run
  • @wraithgar we should introduce a net-new lifecycle object & leave scripts to be only used by npm run in a future major version but respect both in the interim
  • @naugtur if we intend to move away from this altogether should fix the behaivour of preinstall to mimic v6
  • Action: need an RFC for net-new lifecycle
  • Action: issue a patch to revert to v6 functionality
  • @isaacs
    • no updates, really
    • we're going to be implementing a workspace root identifier (ex. -w=.) to arborist
    • we have considered support a workspace root config that can be defined in workspaces .npmrc files (ex. workspace-root=../)
  • @darcyclarke
    • this RFC needs to get updated
    • removing agenda label for now
  • @isaac need a new champion
  • @bnb
    • draft PR is open & WIP
    • doesn't have much time to invest right now

-- Improvements to audit - @naugtur

Parking Lot

  • Action add backlogged item to have npm use git to determine if it's operating inside a git dir (ie. modify @npmcli/git)