Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 5b6dfd1

Browse files
committed
docs: removes advice to use @next version numbers, README for --no-build
1 parent 286aadd commit 5b6dfd1

2 files changed

Lines changed: 25 additions & 7 deletions

File tree

docs/README_contributors.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ Follow the instructions for [checking and updating the Angular CLI version](#ang
2525
1. Install the next version of the Angular CLI.
2626

2727
```sh
28-
npm install -g @angular/cli@next
28+
npm install -g @angular/cli
2929
```
3030

31-
2. Run `ng version`, make sure you have installed Angular CLI v8.3.0-next.0 or greater.
31+
2. Run `ng version`, make sure you have installed Angular CLI v8.3.0 or greater.
3232

3333
3. Update your existing project using the command:
3434

3535
```sh
36-
ng update @angular/cli @angular/core --next=true
36+
ng update @angular/cli @angular/core
3737
```
3838

3939

@@ -99,8 +99,9 @@ Once you have completed the previous steps to `npm link` the local copy of `@ang
9999
ng deploy
100100
```
101101

102-
Which is the same as:
103-
```
102+
Or with the old builder syntax:
103+
104+
```sh
104105
ng run your-angular-project:deploy
105106
```
106107

src/README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,31 @@ The following options are also available.
3333
* __optional__
3434
* Default: `production` (string)
3535
* Example:
36-
* `ng deploy` -- Angular project is build in production mode
37-
* `ng deploy --configuration=qs` -- Angular project is using the configuration `qs` (this configuration must exist in the `angular.json` file)
36+
* `ng deploy` Angular project is build in production mode
37+
* `ng deploy --configuration=test` Angular project is using the configuration `test` (this configuration must exist in the `angular.json` file)
3838

3939
A named build target, as specified in the `configurations` section of `angular.json`.
4040
Each named target is accompanied by a configuration of option defaults for that target.
4141
Same as `ng build --configuration=XXX`.
42+
This command has no effect if the option `--no-build` option is active.
4243

4344
> **This is a proposal from [RFC #1](https://github.com/angular-schule/ngx-deploy-starter/issues/1).**
4445
46+
47+
#### --no-build
48+
* __optional__
49+
* Default: `false` (string)
50+
* Example:
51+
* `ng deploy` – Angular project is build in production mode before the deployment
52+
* `ng deploy --no-build` – Angular project is NOT build
53+
54+
Skip build process during deployment.
55+
This can be used when you are sure that you haven't changed anything and want to deploy with the latest artifact.
56+
This command causes the `--configuration` setting to have no effect.
57+
58+
> **This is a proposal from [RFC #1](https://github.com/angular-schule/ngx-deploy-starter/issues/1).**
59+
60+
4561
#### --target-dir
4662
* __optional__
4763
* Default: `/example-folder` (string)
@@ -51,6 +67,7 @@ Same as `ng build --configuration=XXX`.
5167

5268
> **This is one of the options you can freely choose according to your needs.**
5369
70+
5471
#### --base-href <a name="base-href"></a>
5572
* __optional__
5673
* Default: `undefined` (string)

0 commit comments

Comments
 (0)