Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5128

rimraf glob stopped working in build:dts script

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      We delete the individual .d.ts and .d.ts.map files after the typescript compiler generates them because api-extractor creates one bundled definition file.

      rimraf 'lib/*/.d.ts*'

      The rimraf major removed globbing but readded it in a feature version that we did pull in, but it seems it doesn't work the same as it use to. Perhaps it's the single quotes.

      AC

      • Ensure the .d.ts and .d.ts.map files are deleted before our next release.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: