Previously we had to share code between upgrade/dynamic and upgrade/static by symlinking the `src` folder, which allowed both packages to access the upgrade/common files. These symlinks are always problematic on Windows, where we had to run a script to re-link them, and restore them. This change uses Bazel packages to share the `upgrade/common` code, which avoids the need for symlinking the `src` folder. Also, the Windows specific scripts that fixup the symlinks have also been removed as there is no more need for them. PR Close #29466
19 lines
768 B
TypeScript
19 lines
768 B
TypeScript
/**
|
|
* @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
|
|
*/
|
|
|
|
export {getAngularJSGlobal, getAngularLib, setAngularJSGlobal, setAngularLib} from '../src/common/src/angular1';
|
|
export {downgradeComponent} from '../src/common/src/downgrade_component';
|
|
export {downgradeInjectable} from '../src/common/src/downgrade_injectable';
|
|
export {VERSION} from '../src/common/src/version';
|
|
export {downgradeModule} from './src/downgrade_module';
|
|
export {UpgradeComponent} from './src/upgrade_component';
|
|
export {UpgradeModule} from './src/upgrade_module';
|
|
|
|
|
|
// This file only re-exports items to appear in the public api. Keep it that way.
|