Skip to content

Commit 1e01d98

Browse files
filipesilvamgechev
authored andcommitted
build: workaround bazel module resolution bug
See bazel-contrib/rules_nodejs#313 for details.
1 parent 08ccd21 commit 1e01d98

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

packages/angular_devkit/schematics/tasks/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
export { NodePackageInstallTask } from './node-package/install-task';
9-
export { NodePackageLinkTask } from './node-package/link-task';
8+
export { NodePackageInstallTask } from './package-manager/install-task';
9+
export { NodePackageLinkTask } from './package-manager/link-task';
1010
export { RepositoryInitializerTask } from './repo-init/init-task';
1111
export { RunSchematicTask } from './run-schematic/task';
1212
export { TslintFixTask } from './tslint-fix/task';

packages/angular_devkit/schematics/tasks/node/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import { TaskExecutorFactory } from '../../src';
9-
import { NodePackageName, NodePackageTaskFactoryOptions } from '../node-package/options';
9+
import { NodePackageName, NodePackageTaskFactoryOptions } from '../package-manager/options';
1010
import {
1111
RepositoryInitializerName,
1212
RepositoryInitializerTaskFactoryOptions,
@@ -17,7 +17,7 @@ import { TslintFixName } from '../tslint-fix/options';
1717
export class BuiltinTaskExecutor {
1818
static readonly NodePackage: TaskExecutorFactory<NodePackageTaskFactoryOptions> = {
1919
name: NodePackageName,
20-
create: (options) => import('../node-package/executor').then(mod => mod.default(options)),
20+
create: (options) => import('../package-manager/executor').then(mod => mod.default(options)),
2121
};
2222
static readonly RepositoryInitializer:
2323
TaskExecutorFactory<RepositoryInitializerTaskFactoryOptions> = {

0 commit comments

Comments
 (0)