ReactFlow前端拖拽模型与参数配置功能MVP
This commit is contained in:
1 parent
70c91ed019
commit
d3b99304fb
2001 files changed
+349044
-548
No files matched your search
+27
@@ -0,0 +1,27 @@
|
||||
const ArboristWorkspaceCmd = require('../arborist-cmd.js')
|
||||
|
||||
class FindDupes extends ArboristWorkspaceCmd {
|
||||
static description = 'Find duplication in the package tree'
|
||||
static name = 'find-dupes'
|
||||
static params = [
|
||||
'install-strategy',
|
||||
'legacy-bundling',
|
||||
'global-style',
|
||||
'strict-peer-deps',
|
||||
'package-lock',
|
||||
'omit',
|
||||
'include',
|
||||
'ignore-scripts',
|
||||
'audit',
|
||||
'bin-links',
|
||||
'fund',
|
||||
...super.params,
|
||||
]
|
||||
|
||||
async exec () {
|
||||
this.npm.config.set('dry-run', true)
|
||||
return this.npm.exec('dedupe', [])
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = FindDupes
|
||||
Reference in new issue
Block a user