From 69961cb6e303552d4d28df2c468990f856d71dc7 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Mon, 17 Dec 2018 09:03:53 -0800 Subject: [PATCH 1/3] docs: edit ng serve option doc --- packages/angular/cli/lib/config/schema.json | 44 ++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/angular/cli/lib/config/schema.json b/packages/angular/cli/lib/config/schema.json index 81a110fa73c0..1156fc23713c 100644 --- a/packages/angular/cli/lib/config/schema.json +++ b/packages/angular/cli/lib/config/schema.json @@ -1063,18 +1063,18 @@ }, "open": { "type": "boolean", - "description": "Opens the url in default browser.", + "description": "When true, open the live-reload URL in default browser.", "default": false, "alias": "o" }, "liveReload": { "type": "boolean", - "description": "Whether to reload the page on change, using live-reload.", + "description": "When true, reload the page on change using live-reload.", "default": true }, "publicHost": { "type": "string", - "description": "Specify the URL that the browser client will use." + "description": "The URL that the browser client will use for live reload." }, "servePath": { "type": "string", @@ -1082,43 +1082,43 @@ }, "disableHostCheck": { "type": "boolean", - "description": "Don't verify connected clients are part of allowed hosts.", + "description": "When true, don't verify that connected clients are part of allowed hosts.", "default": false }, "hmr": { "type": "boolean", - "description": "Enable hot module replacement.", + "description": "When true, enable hot module replacement.", "default": false }, "watch": { "type": "boolean", - "description": "Rebuild on change.", + "description": "When true, rebuild on change.", "default": true }, "hmrWarning": { "type": "boolean", - "description": "Show a warning when the --hmr option is enabled.", + "description": "When true, show a warning when the --hmr option is enabled.", "default": true }, "servePathDefaultWarning": { "type": "boolean", - "description": "Show a warning when deploy-url/base-href use unsupported serve path values.", + "description": "When true, show a warning when deploy-url/base-href use unsupported serve path values.", "default": true }, "optimization": { - "description": "Enables optimization of the build output.", + "description": "Enable optimization of the build output.", "oneOf": [ { "type": "object", "properties": { "scripts": { "type": "boolean", - "description": "Enables optimization of the scripts output.", + "description": "When true, enable optimization of the scripts output.", "default": true }, "styles": { "type": "boolean", - "description": "Enables optimization of the styles output.", + "description": "When true, enable optimization of the styles output.", "default": true } }, @@ -1131,10 +1131,10 @@ }, "aot": { "type": "boolean", - "description": "Build using Ahead of Time compilation." + "description": "Build using ahead-of-time compilation." }, "sourceMap": { - "description": "Output sourcemaps.", + "description": "When true, output sourcemaps.", "default": true, "oneOf": [ { @@ -1142,17 +1142,17 @@ "properties": { "scripts": { "type": "boolean", - "description": "Output sourcemaps for all scripts.", + "description": "When true, output sourcemaps for all scripts.", "default": true }, "styles": { "type": "boolean", - "description": "Output sourcemaps for all styles.", + "description": "When true, output sourcemaps for all styles.", "default": true }, "vendor": { "type": "boolean", - "description": "Resolve vendor packages sourcemaps.", + "description": "When true, resolve vendor packages sourcemaps.", "default": false } }, @@ -1165,20 +1165,20 @@ }, "vendorSourceMap": { "type": "boolean", - "description": "Resolve vendor packages sourcemaps.", + "description": "When true, resolve vendor packages sourcemaps.", "default": false }, "evalSourceMap": { "type": "boolean", - "description": "Output in-file eval sourcemaps." + "description": "When true, output in-file eval sourcemaps." }, "vendorChunk": { "type": "boolean", - "description": "Use a separate bundle containing only vendor libraries." + "description": "When true, use a separate bundle containing only vendor libraries." }, "commonChunk": { "type": "boolean", - "description": "Use a separate bundle containing code used across multiple bundles." + "description": "When true, use a separate bundle containing code used across multiple bundles." }, "baseHref": { "type": "string", @@ -1190,11 +1190,11 @@ }, "verbose": { "type": "boolean", - "description": "Adds more details to output logging." + "description": "When true, add more details to output logging." }, "progress": { "type": "boolean", - "description": "Log progress to the console while building." + "description": "When true, log progress to the console while building." } }, "additionalProperties": false From b5ae48222b220f2e1ba1d646634670ca6c6e8563 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Thu, 20 Dec 2018 10:45:42 -0800 Subject: [PATCH 2/3] docs: clarify public-host option --- packages/angular/cli/lib/config/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular/cli/lib/config/schema.json b/packages/angular/cli/lib/config/schema.json index 1156fc23713c..120220201b35 100644 --- a/packages/angular/cli/lib/config/schema.json +++ b/packages/angular/cli/lib/config/schema.json @@ -1074,7 +1074,7 @@ }, "publicHost": { "type": "string", - "description": "The URL that the browser client will use for live reload." + "description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex server setup, such as one with reverse proxies." }, "servePath": { "type": "string", From 10cdee356d2d0518e49a246e5215d25a81cb1d86 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Fri, 21 Dec 2018 14:39:38 -0800 Subject: [PATCH 3/3] docs: dev server --- packages/angular/cli/lib/config/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular/cli/lib/config/schema.json b/packages/angular/cli/lib/config/schema.json index 120220201b35..7006c36b84ca 100644 --- a/packages/angular/cli/lib/config/schema.json +++ b/packages/angular/cli/lib/config/schema.json @@ -1074,7 +1074,7 @@ }, "publicHost": { "type": "string", - "description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex server setup, such as one with reverse proxies." + "description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies." }, "servePath": { "type": "string",