diff --git a/common/config/rush/command-line.json b/common/config/rush/command-line.json index 00261fe7b1..c4c7d80ac8 100644 --- a/common/config/rush/command-line.json +++ b/common/config/rush/command-line.json @@ -166,6 +166,16 @@ // */ // // "autoinstallerName": "my-task" // } + { + "commandKind": "bulk", + "name": "lint:fix", + "summary": "Lint&Fix", + "description": "Lint and autofix linting issues", + "enableParallelism": true, + "incremental": true, + "ignoreDependencyOrder": false, + "ignoreMissingScript": true + }, { "commandKind": "bulk", "name": "build:watch", @@ -183,6 +193,13 @@ * For example, you might define a "--production" parameter for the "rush build" command. */ "parameters": [ + { + "parameterKind": "flag", + "longName": "--lite", + "shortName": "-l", + "description": "Enable Heft lite building option, will skip some phases.", + "associatedCommands": ["build", "rebuild"] + }, // { // /** // * (Required) Determines the type of custom parameter. diff --git a/dev/prod/package.json b/dev/prod/package.json index 7e1d95111b..e9a748f720 100644 --- a/dev/prod/package.json +++ b/dev/prod/package.json @@ -3,7 +3,7 @@ "version": "1.0.1", "license": "EPL-2.0", "scripts": { - "build": "cross-env NODE_ENV=production webpack --stats-error-details", + "build": "cross-env NODE_ENV=production webpack --stats-error-details && echo 'done'", "analyze": "cross-env NODE_ENV=production webpack --json > stats.json", "show": "webpack-bundle-analyzer stats.json dist", "dev": "cross-env webpack serve --content-base public",