File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 149
149
"globalthis" : " npm:@socketregistry/globalthis@^1" ,
150
150
"hasown" : " npm:@socketregistry/hasown@^1" ,
151
151
"is-core-module" : " npm:@socketregistry/is-core-module@^1" ,
152
+ "isarray" : " npm:@socketregistry/isarray@^1" ,
152
153
"object.assign" : " npm:@socketregistry/object.assign@^1" ,
153
154
"object.entries" : " npm:@socketregistry/object.entries@^1" ,
154
155
"object.fromentries" : " npm:@socketregistry/object.fromentries@^1" ,
155
156
"object.groupby" : " npm:@socketregistry/object.groupby@^1" ,
156
157
"object.values" : " npm:@socketregistry/object.values@^1" ,
158
+ "safe-buffer" : " npm:@socketregistry/safe-buffer@^1" ,
159
+ "safer-buffer" : " npm:@socketregistry/safer-buffer@^1" ,
157
160
"side-channel" : " npm:@socketregistry/side-channel@^1" ,
158
161
"string.prototype.matchall" : " npm:@socketregistry/string.prototype.matchall@^1" ,
159
162
"string.prototype.repeat" : " npm:@socketregistry/string.prototype.repeat@^1"
Original file line number Diff line number Diff line change 1
1
export * from './cdxgen'
2
- export * from './cleanup'
3
2
export * from './info'
4
3
export * from './login'
5
4
export * from './logout'
6
5
export * from './npm'
7
6
export * from './npx'
7
+ export * from './optimize'
8
8
export * from './organization'
9
9
export * from './raw-npm'
10
10
export * from './raw-npx'
Original file line number Diff line number Diff line change @@ -403,13 +403,13 @@ async function addOverrides(
403
403
return aoState
404
404
}
405
405
406
- export const cleanup : CliSubcommand = {
406
+ export const optimize : CliSubcommand = {
407
407
description :
408
- 'Cleanup the dependency graph by removing dependencies or swapping them out for simpler alternatives ' ,
408
+ 'Optimize dependencies with @socketregistry overrides ' ,
409
409
async run ( argv , importMeta , { parentName } ) {
410
410
const commandContext = setupCommand (
411
- `${ parentName } dependency cleanup ` ,
412
- cleanup . description ,
411
+ `${ parentName } dependency optimize ` ,
412
+ optimize . description ,
413
413
argv ,
414
414
importMeta
415
415
)
@@ -481,7 +481,7 @@ export const cleanup: CliSubcommand = {
481
481
if ( count ) {
482
482
console . log ( `Added ${ count } overrides!` )
483
483
} else {
484
- console . log ( 'Congratulations! No cleanup needed 🚀' )
484
+ console . log ( 'Congratulations! No override optimizations needed 🚀' )
485
485
}
486
486
}
487
487
}
You can’t perform that action at this time.
0 commit comments