2018-07-16 03:49:56 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
2019-05-15 08:38:19 -04:00
|
|
|
import {CachedFileSystem, NodeJSFileSystem, setFileSystem} from '../src/ngtsc/file_system';
|
2018-07-16 03:49:56 -04:00
|
|
|
|
2019-05-15 08:38:19 -04:00
|
|
|
import {mainNgcc} from './src/main';
|
2019-03-29 06:13:14 -04:00
|
|
|
export {ConsoleLogger, LogLevel} from './src/logging/console_logger';
|
|
|
|
export {Logger} from './src/logging/logger';
|
2019-05-15 08:38:19 -04:00
|
|
|
export {NgccOptions} from './src/main';
|
2019-04-28 15:47:57 -04:00
|
|
|
export {PathMappings} from './src/utils';
|
2019-03-20 09:47:59 -04:00
|
|
|
|
2019-05-15 08:38:19 -04:00
|
|
|
export function process(...args: Parameters<typeof mainNgcc>) {
|
|
|
|
// Recreate the file system on each call to reset the cache
|
|
|
|
setFileSystem(new CachedFileSystem(new NodeJSFileSystem()));
|
|
|
|
return mainNgcc(...args);
|
|
|
|
}
|