Skip to content

Commit e498f82

Browse files
committed
1 parent 13aa7b7 commit e498f82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+771
-8121
lines changed

lib/workspaces/get-workspaces.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { resolve, relative } = require('path')
22
const mapWorkspaces = require('@npmcli/map-workspaces')
3-
const minimatch = require('minimatch')
3+
const { minimatch } = require('minimatch')
44
const rpj = require('read-package-json-fast')
55

66
// minimatch wants forward slashes only for glob patterns

node_modules/.gitignore

+3-9
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
!/@npmcli/git
2929
!/@npmcli/installed-package-contents
3030
!/@npmcli/map-workspaces
31-
!/@npmcli/map-workspaces/node_modules/
32-
/@npmcli/map-workspaces/node_modules/*
33-
!/@npmcli/map-workspaces/node_modules/minimatch
3431
!/@npmcli/metavuln-calculator
3532
!/@npmcli/move-file
3633
!/@npmcli/name-from-folder
@@ -52,6 +49,9 @@
5249
/@tufjs/*
5350
!/@tufjs/canonical-json
5451
!/@tufjs/models
52+
!/@tufjs/models/node_modules/
53+
/@tufjs/models/node_modules/*
54+
!/@tufjs/models/node_modules/minimatch
5555
!/abbrev
5656
!/abort-controller
5757
!/agent-base
@@ -113,9 +113,6 @@
113113
!/function-bind
114114
!/gauge
115115
!/glob
116-
!/glob/node_modules/
117-
/glob/node_modules/*
118-
!/glob/node_modules/minimatch
119116
!/graceful-fs
120117
!/has-flag
121118
!/has-unicode
@@ -128,9 +125,6 @@
128125
!/iconv-lite
129126
!/ieee754
130127
!/ignore-walk
131-
!/ignore-walk/node_modules/
132-
/ignore-walk/node_modules/*
133-
!/ignore-walk/node_modules/minimatch
134128
!/imurmurhash
135129
!/indent-string
136130
!/infer-owner

0 commit comments

Comments
 (0)