ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... mongodb driver user
      I want... to not be prompted to allow the driver's prepare script
      So that... I can have one less item in the list of allowed scripts

      User Experience

      This prints when installing the driver:

      npm warn install-scripts 1 packages have install scripts not yet covered by allowScripts:
      npm warn install-scripts   mongodb@7.7.0 (prepare: node etc/prepare.js)
      

      The driver's prepare script is not meant for the released version, it compiles the TS if tsc if available. It shouldn't be recompiling upon install and its not necessary to run in order to use the package.

      Dependencies

      • None

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Make prepare into prepublishOnly
      • check other driver packages for this pattern

      Testing Requirements

      • Locally verify built code winds up in the released tar file

      Documentation Requirements

      • None

      Follow Up Requirements

      • Unrelated but related: Consider if shipping ts source is still the appropriate solution given code is not downleveled as much as it used to be.

            Assignee:
            Unassigned
            Reporter:
            Neal Beeken
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: