Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
921 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
10 | const core_1 = require("@angular-devkit/core");
|
---|
11 | const schematics_1 = require("@angular-devkit/schematics");
|
---|
12 | const latest_versions_1 = require("../utility/latest-versions");
|
---|
13 | function default_1(options) {
|
---|
14 | return schematics_1.mergeWith(schematics_1.apply(schematics_1.url('./files'), [
|
---|
15 | options.minimal ? schematics_1.filter((path) => !path.endsWith('editorconfig.template')) : schematics_1.noop(),
|
---|
16 | schematics_1.applyTemplates({
|
---|
17 | utils: core_1.strings,
|
---|
18 | ...options,
|
---|
19 | 'dot': '.',
|
---|
20 | latestVersions: latest_versions_1.latestVersions,
|
---|
21 | }),
|
---|
22 | ]));
|
---|
23 | }
|
---|
24 | exports.default = default_1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.