Docs preview - #12837
Conversation
…into docs-preview
| Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder. | ||
|
|
||
| Uses the Webpack build tool, with environment and build options specified in the CLI configuration file. | ||
| For further details, see Workspace Configuration. |
There was a problem hiding this comment.
Maybe we should add a link?
There was a problem hiding this comment.
The new page just landed - adding link here, and another one in config.
| A library is a type of project that does not run independently. | ||
| The library skeleton created by this command is placed by default in the `/projects` folder, and has `type` of "library". | ||
|
|
||
| You can build a new library using the `ng build` command, and unit-test it and lint it using the `ng test` and `ng lint` commands. No newline at end of file |
There was a problem hiding this comment.
Note quite sure about the grammar here, and unit-test it and lint it
Maybe something like;
You can build the library, unit-test and lint it using the ng build, ng test and ng lint commands respectively.
jenniferfell
left a comment
There was a problem hiding this comment.
No show stoppers. Mostly just impressions from a first-time reader and a few typos.
| @@ -1,3 +1,14 @@ | |||
| Uses the Webpack build tool, with default configuration options specified in the workspace configuration file, `angular.json`, or with a named alternative configuration. | |||
There was a problem hiding this comment.
Edit: Looks like "webpack" uses lowercase for themselves: https://webpack.js.org/concepts/
| @@ -1,3 +1,14 @@ | |||
| Uses the Webpack build tool, with default configuration options specified in the workspace configuration file, `angular.json`, or with a named alternative configuration. | |||
There was a problem hiding this comment.
Edit: Comma thing. Could be misread as 3 things. Maybe this: "Uses the Webpack build tool, with default configuration options specified in the workspace configuration file (angular.json) or with a named alternative configuration.
| }, | ||
| "prod": { | ||
| "description": "When true, sets the build configuration to the production environment.\nAll builds make use of bundling and limited tree-shaking, A production build also runs limited dead code elimination using UglifyJS.", | ||
| "description": "When true, sets the build configuration to the production target.\nAll builds make use of bundling and limited tree-shaking, A production build also runs limited dead code elimination.", |
There was a problem hiding this comment.
Minor edit period instead of comma: When true, sets the build configuration to the production target.\nAll builds make use of bundling and limited tree-shaking. A production build also runs limited dead code elimination."
| @@ -0,0 +1,16 @@ | |||
| Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations. | |||
| The CLI commands run Architect targets such as `build`, `serve`, `test` and `lint`. | |||
| "$id": "ng-cli://commands/run.json", | ||
| "description": "Runs a custom target defined in your project.", | ||
| "$longDescription": "", | ||
| "description": "Runs an architect target with an optional custom builder configuration defined in your project.", |
There was a problem hiding this comment.
Edit: Architect in caps everywhere? (I don't have a pref. This is the only lowercase i noticed so far)
| }, | ||
| "minimal": { | ||
| "description": "Create a barebones project without any testing frameworks", | ||
| "description": "When true, creates a barebones project without any testing frameworks.", |
There was a problem hiding this comment.
Same comment...maybe remove "barebones"
| "type": "boolean", | ||
| "default": true, | ||
| "description": "Flag to indicate if a directory is created." | ||
| "description": "When true (the default) creates files at the top level of the project." |
| }, | ||
| "experimentalAngularNext": { | ||
| "description": "Use the next version of Angular (@next dist-tag).", | ||
| "description": "True to use the next version of Angular (@next dist-tag).", |
There was a problem hiding this comment.
Maybe: When true, uses the next version...
| }, | ||
| "linkCli": { | ||
| "description": "Link CLI to global version (internal development only).", | ||
| "description": "When true, link CLI to global version (internal development only).", |
| }, | ||
| "minimal": { | ||
| "description": "Create a barebones project without any testing frameworks", | ||
| "description": "When true, creates a bare-bones project without any testing frameworks", |
|
Hi @jbogarthyde! This PR has merge conflicts due to recent upstream merges. |
|
@jenniferfell @hansl All comments have been addressed. I think this can be merged, I don't know why it is blocked. |
|
@hansl @alan-agius4 the Is it supposed to receive cherry picks from master? Either way for this PR to go in |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Closes angular#12837. Closes angular#12898.
new and edited doc for commands and subcommands (from PRs #12741 and #12743)
Closes: #12898