Skip to content

Commit c4798b6

Browse files
hanslalexeagle
authored andcommitted
refactor(@angular-devkit/core): move core/node experimental files to own directory
It's just cleaner that way.
1 parent 4459465 commit c4798b6

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

packages/angular_devkit/core/node/_golden-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// Start experimental namespace
1010
// Start jobs namespace
11-
export * from './experimental/job-registry';
11+
export * from './experimental/jobs/job-registry';
1212
// End jobs namespace
1313
// End experimental namespace
1414

packages/angular_devkit/core/node/experimental/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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-
import * as jobs from './job-registry';
8+
import * as jobs from './jobs';
99

1010
export {
1111
jobs,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* @license
3+
* Copyright Google Inc. All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
export * from './job-registry';

packages/angular_devkit/core/node/experimental/job-registry.ts renamed to packages/angular_devkit/core/node/experimental/jobs/job-registry.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import { Observable, of } from 'rxjs';
9-
import { JsonValue, experimental as core_experimental, schema } from '../../src';
10-
import { ModuleNotFoundException, resolve } from '../resolve';
9+
import { JsonValue, experimental as core_experimental, schema } from '../../../src';
10+
import { ModuleNotFoundException, resolve } from '../../resolve';
1111

1212
export class NodeModuleJobRegistry<MinimumArgumentValueT extends JsonValue = JsonValue,
1313
MinimumInputValueT extends JsonValue = JsonValue,

packages/angular_devkit/core/node/experimental/job-registry_spec.ts renamed to packages/angular_devkit/core/node/experimental/jobs/job-registry_spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import * as path from 'path';
9-
import { experimental as core_experimental } from '../../src';
9+
import { experimental as core_experimental } from '../../../src';
1010
import { NodeModuleJobRegistry } from './job-registry';
1111

1212
const root = path.join(
1313
path.dirname(require.resolve(__filename)),
14-
'../../../../../tests/angular_devkit/core/node/jobs',
14+
'../../../../../../tests/angular_devkit/core/node/jobs',
1515
);
1616

1717

packages/angular_devkit/core/node/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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-
import * as experimental from './experimental/job-registry';
8+
import * as experimental from './experimental/jobs/job-registry';
99
import * as fs from './fs';
1010
export * from './cli-logger';
1111
export * from './host';

0 commit comments

Comments
 (0)