build: fix file paths after moving modules/@angular/* to packages/*
This commit is contained in:
14
packages/upgrade/static/index.ts
Normal file
14
packages/upgrade/static/index.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
// This file is not used to build this module. It is only used during editing
|
||||
// by the TypeScript language service and during build for verification. `ngc`
|
||||
// replaces this file with production index.ts when it rewrites private symbol
|
||||
// names.
|
||||
|
||||
export * from './public_api';
|
6
packages/upgrade/static/package.json
Normal file
6
packages/upgrade/static/package.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"typings": "../typings/static/index.d.ts",
|
||||
"main": "../bundles/upgrade-static.umd.js",
|
||||
"module": "../@angular/upgrade/static.es5.js",
|
||||
"es2015": "../@angular/upgrade/static.js"
|
||||
}
|
21
packages/upgrade/static/public_api.ts
Normal file
21
packages/upgrade/static/public_api.ts
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the upgrade/static package, allowing
|
||||
* Angular 1 and Angular 2+ to run side by side in the same application.
|
||||
*/
|
||||
export {downgradeComponent} from '../src/common/downgrade_component';
|
||||
export {downgradeInjectable} from '../src/common/downgrade_injectable';
|
||||
export {VERSION} from '../src/common/version';
|
||||
export {UpgradeComponent} from '../src/static/upgrade_component';
|
||||
export {UpgradeModule} from '../src/static/upgrade_module';
|
||||
|
||||
// This file only re-exports content of the `src` folder. Keep it that way.
|
@ -1,21 +1,20 @@
|
||||
{
|
||||
"extends": "./tsconfig-build",
|
||||
"extends": "../tsconfig-build",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../dist/packages-dist/upgrade/static",
|
||||
"target": "es5",
|
||||
"paths": {
|
||||
"@angular/core": ["../../../dist/packages-dist/core"],
|
||||
"@angular/common": ["../../../dist/packages-dist/common"],
|
||||
"@angular/platform-browser": ["../../../dist/packages-dist/platform-browser"],
|
||||
"@angular/platform-browser-dynamic": ["../../../dist/packages-dist/platform-browser-dynamic"]
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/common": ["../../dist/packages/common"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"],
|
||||
"@angular/platform-browser-dynamic": ["../../dist/packages/platform-browser-dynamic"]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"public_api_static.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
"angularCompilerOptions": {
|
||||
"flatModuleOutFile": "static.js",
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/upgrade/static"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user