We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b11af51 commit bddda72Copy full SHA for bddda72
packages/schematics/angular/ng-new/index.ts
@@ -10,8 +10,10 @@ import {
10
SchematicContext,
11
SchematicsException,
12
Tree,
13
- branchAndMerge,
+ apply,
14
chain,
15
+ empty,
16
+ mergeWith,
17
move,
18
schematic,
19
} from '@angular-devkit/schematics';
@@ -53,8 +55,8 @@ export default function (options: NgNewOptions): Rule {
53
55
};
54
56
57
return chain([
- branchAndMerge(
- chain([
58
+ mergeWith(
59
+ apply(empty(), [
60
schematic('workspace', workspaceOptions),
61
schematic('application', applicationOptions),
62
move(options.directory || options.name),
0 commit comments