File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
packages/cli-v3/src/utilities Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -123,15 +123,10 @@ export class JavascriptProject {
123
123
) ;
124
124
}
125
125
126
- async resolveAll (
127
- packageNames : string [ ] ,
128
- options ?: ResolveOptions
129
- ) : Promise < Record < string , string > > {
126
+ async resolveAll ( packageNames : string [ ] ) : Promise < Record < string , string > > {
130
127
return tracer . startActiveSpan ( "JavascriptProject.resolveAll" , async ( span ) => {
131
128
const externalPackages = packageNames . filter ( ( packageName ) => ! isBuiltInModule ( packageName ) ) ;
132
129
133
- const opts = { allowDev : false , ...options } ;
134
-
135
130
const command = await this . #getCommand( ) ;
136
131
137
132
span . setAttributes ( {
@@ -168,18 +163,6 @@ export class JavascriptProject {
168
163
169
164
missingPackageVersions [ packageName ] = packageJsonVersion ;
170
165
}
171
-
172
- if ( opts . allowDev ) {
173
- const devPackageJsonVersion = this . packageJson . devDependencies ?. [ packageName ] ;
174
-
175
- if ( typeof devPackageJsonVersion === "string" ) {
176
- logger . debug ( `Resolved ${ packageName } version using devDependencies` , {
177
- devPackageJsonVersion,
178
- } ) ;
179
-
180
- missingPackageVersions [ packageName ] = devPackageJsonVersion ;
181
- }
182
- }
183
166
}
184
167
185
168
span . setAttributes ( {
You can’t perform that action at this time.
0 commit comments