mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
build: workaround bazel module resolution bug
See https://github.com/bazelbuild/rules_nodejs/issues/313 for details.
This commit is contained in:
parent
08ccd21aeb
commit
1e01d98ae2
@ -5,8 +5,8 @@
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
export { NodePackageInstallTask } from './node-package/install-task';
|
||||
export { NodePackageLinkTask } from './node-package/link-task';
|
||||
export { NodePackageInstallTask } from './package-manager/install-task';
|
||||
export { NodePackageLinkTask } from './package-manager/link-task';
|
||||
export { RepositoryInitializerTask } from './repo-init/init-task';
|
||||
export { RunSchematicTask } from './run-schematic/task';
|
||||
export { TslintFixTask } from './tslint-fix/task';
|
||||
|
@ -6,7 +6,7 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
import { TaskExecutorFactory } from '../../src';
|
||||
import { NodePackageName, NodePackageTaskFactoryOptions } from '../node-package/options';
|
||||
import { NodePackageName, NodePackageTaskFactoryOptions } from '../package-manager/options';
|
||||
import {
|
||||
RepositoryInitializerName,
|
||||
RepositoryInitializerTaskFactoryOptions,
|
||||
@ -17,7 +17,7 @@ import { TslintFixName } from '../tslint-fix/options';
|
||||
export class BuiltinTaskExecutor {
|
||||
static readonly NodePackage: TaskExecutorFactory<NodePackageTaskFactoryOptions> = {
|
||||
name: NodePackageName,
|
||||
create: (options) => import('../node-package/executor').then(mod => mod.default(options)),
|
||||
create: (options) => import('../package-manager/executor').then(mod => mod.default(options)),
|
||||
};
|
||||
static readonly RepositoryInitializer:
|
||||
TaskExecutorFactory<RepositoryInitializerTaskFactoryOptions> = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user