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

Commit 2aeb2ba

Browse files
committed
fix: update flag to --prerenderOnly
1 parent b1defe3 commit 2aeb2ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/express-engine/schematics/install/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export default function (options: UniversalOptions): Rule {
269269
context.addTask(new NodePackageInstallTask());
270270
}
271271

272-
if (options.updatePrerenderOnly) {
272+
if (options.prerenderOnly) {
273273
return updateExistingProjectPrerenderOnly(options);
274274
}
275275

modules/express-engine/schematics/install/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"type": "boolean",
8484
"default": false
8585
},
86-
"updatePrerenderOnly": {
86+
"prerenderOnly": {
8787
"description": "Add only missing pieces for Pre-rendering to previously installed Universal Schematic",
8888
"type": "boolean",
8989
"default": false

modules/express-engine/schematics/install/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export interface Schema {
7474
/**
7575
* Add only missing pieces for Pre-rendering to previously installed Universal Schematic
7676
*/
77-
updatePrerenderOnly?: boolean;
77+
prerenderOnly?: boolean;
7878
/**
7979
* Whether to add webpack configuration files
8080
*/

0 commit comments

Comments
 (0)