File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11// Build
22
33const baseMiddleware = require ( "../middlewares/base.js" ) ;
4- const buildHelper = require ( "../../utils/buildHelper" ) ;
54
65const build = {
76 command : "build" ,
@@ -40,7 +39,7 @@ build.builder = function(cli) {
4039 default : false ,
4140 type : "boolean"
4241 } )
43- . deprecateOption ( "all" , "Use --include-dependencies" )
42+ . deprecateOption ( "all" , "Use --include-all- dependencies" )
4443 . option ( "include-all-dependencies" , {
4544 describe : "Include all dependencies in the build result" ,
4645 alias : [ "d" , "deps" ] ,
@@ -135,8 +134,9 @@ async function handleBuild(argv) {
135134 logger . setShowProgress ( true ) ;
136135
137136 if ( argv . all ) {
138- logger . warn (
139- "CLI option --all is deprecated. Dependencies are now built automatically in case they are required" ) ;
137+ console . warn (
138+ "Warning: CLI option --all is deprecated. " +
139+ "Dependencies are now built automatically in case they are required" ) ;
140140 }
141141
142142 let graph ;
@@ -156,7 +156,7 @@ async function handleBuild(argv) {
156156 graph,
157157 destPath : argv . dest ,
158158 cleanDest : argv [ "clean-dest" ] ,
159- composeProjectList : {
159+ complexDependencyIncludes : {
160160 includeAllDependencies : argv [ "include-all-dependencies" ] ,
161161 includeDependency : argv [ "include-dependency" ] ,
162162 includeDependencyRegExp : argv [ "include-dependency-regexp" ] ,
You can’t perform that action at this time.
0 commit comments