build: roll up to named .js files rather than 'index.js' (#19190)
PR Close #19190
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/animations/browser",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./browser.d.ts",
|
||||
"main": "../bundles/animations-browser.umd.js",
|
||||
"module": "../esm5/browser/index.js",
|
||||
"es2015": "../esm15/browser/index.js"
|
||||
"module": "../esm5/browser.js",
|
||||
"es2015": "../esm2015/browser.js"
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/animations/esm5/browser/index.js',
|
||||
entry: '../../../dist/packages-dist/animations/esm5/browser.js',
|
||||
dest: '../../../dist/packages-dist/animations/bundles/animations-browser.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/animations/browser/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../../bundles/platform-browser-animations-testing.umd.js",
|
||||
"module": "../../esm5/animations/testing/index.js",
|
||||
"es2015": "../../esm15/animations/testing/index.js"
|
||||
"module": "../../esm5/animations/testing.js",
|
||||
"es2015": "../../esm2015/animations/testing.js"
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../../dist/packages-dist/animations/esm5/browser/testing/index.js',
|
||||
entry: '../../../../dist/packages-dist/animations/esm5/browser/testing.js',
|
||||
dest: '../../../../dist/packages-dist/animations/bundles/animations-browser-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -20,7 +20,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/animations/browser/testing"
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "browser.js",
|
||||
"flatModuleId": "@angular/animations/browser"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - animations integration with web-animationss",
|
||||
"main": "./bundles/animations.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/animations.js",
|
||||
"es2015": "./esm2015/animations.js",
|
||||
"typings": "./animations.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -17,7 +17,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/animations/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/animations/esm5/animations.js',
|
||||
dest: '../../dist/packages-dist/animations/bundles/animations.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -17,7 +17,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "animations.js",
|
||||
"flatModuleId": "@angular/animations"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/common/http",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./http.d.ts",
|
||||
"main": "../bundles/common-http.umd.js",
|
||||
"module": "../esm5/http/index.js",
|
||||
"es2015": "../esm15/http/index.js"
|
||||
"module": "../esm5/http.js",
|
||||
"es2015": "../esm2015/http.js"
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/common/esm5/http/index.js',
|
||||
entry: '../../../dist/packages-dist/common/esm5/http.js',
|
||||
dest: '../../../dist/packages-dist/common/bundles/common-http.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/common/http/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../../bundles/common-http-testing.umd.js",
|
||||
"module": "../../esm5/http/testing/index.js",
|
||||
"es2015": "../../esm15/http/testing/index.js"
|
||||
"module": "../../esm5/http/testing.js",
|
||||
"es2015": "../../esm2015/http/testing.js"
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../../dist/packages-dist/common/esm5/http/testing/index.js',
|
||||
entry: '../../../../dist/packages-dist/common/esm5/http/testing.js',
|
||||
dest: '../../../../dist/packages-dist/common/bundles/common-http-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -20,7 +20,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/common/http/testing"
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "http.js",
|
||||
"flatModuleId": "@angular/common/http"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - commonly needed directives and services",
|
||||
"main": "./bundles/common.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/common.js",
|
||||
"es2015": "./esm2015/common.js",
|
||||
"typings": "./common.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -16,7 +16,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/common/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/common/esm5/common.js',
|
||||
dest: '../../dist/packages-dist/common/bundles/common.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/common/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/common-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/common/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/common/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/common/bundles/common-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -19,7 +19,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/common/testing"
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "common.js",
|
||||
"flatModuleId": "@angular/common"
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ describe('template codegen output', () => {
|
||||
});
|
||||
|
||||
it('should write .ngfactory.js for .d.ts inputs', () => {
|
||||
const factoryOutput = path.join('node_modules', '@angular', 'common', 'index.ngfactory.js');
|
||||
const factoryOutput = path.join('node_modules', '@angular', 'common', 'common.ngfactory.js');
|
||||
expect(fs.existsSync(factoryOutput)).toBeTruthy();
|
||||
});
|
||||
|
||||
|
14
packages/compiler/compiler.ts
Normal file
14
packages/compiler/compiler.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';
|
@ -11,4 +11,4 @@
|
||||
// replaces this file with production index.ts when it rewrites private symbol
|
||||
// names.
|
||||
|
||||
export * from './public_api';
|
||||
export * from './compiler';
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the compiler library",
|
||||
"main": "./bundles/compiler.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/compiler.js",
|
||||
"es2015": "./esm2015/compiler.js",
|
||||
"typings": "./compiler.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -16,7 +16,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/compiler/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/compiler/esm5/compiler.js',
|
||||
dest: '../../dist/packages-dist/compiler/bundles/compiler.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/compiler/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/compiler-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/compiler/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/compiler/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/compiler/bundles/compiler-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/compiler/testing"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the core framework",
|
||||
"main": "./bundles/core.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/core.js",
|
||||
"es2015": "./esm2015/core.js",
|
||||
"typings": "./core.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -19,7 +19,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/core/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/core/esm5/core.js',
|
||||
dest: '../../dist/packages-dist/core/bundles/core.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/core/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/core-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/core/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/core/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/core/bundles/core-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/core/testing"
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "core.js",
|
||||
"flatModuleId": "@angular/core"
|
||||
}
|
||||
}
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - directives and services for creating forms",
|
||||
"main": "./bundles/forms.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/forms.js",
|
||||
"es2015": "./esm2015/forms.js",
|
||||
"typings": "./forms.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -22,7 +22,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/forms/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/forms/esm5/forms.js',
|
||||
dest: '../../dist/packages-dist/forms/bundles/forms.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -24,7 +24,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "forms.js",
|
||||
"flatModuleId": "@angular/forms"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the http service",
|
||||
"main": "./bundles/http.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/http.js",
|
||||
"es2015": "./esm2015/http.js",
|
||||
"typings": "./http.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -18,7 +18,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/http/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/http/esm5/http.js',
|
||||
dest: '../../dist/packages-dist/http/bundles/http.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/http/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/http-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/http/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/http/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/http/bundles/http-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -19,7 +19,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/http/testing"
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "http.js",
|
||||
"flatModuleId": "@angular/http"
|
||||
}
|
||||
}
|
||||
|
@ -6,13 +6,4 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the language service package.
|
||||
*/
|
||||
export {createLanguageService} from './src/language_service';
|
||||
export * from './src/ts_plugin';
|
||||
export {Completion, Completions, Declaration, Declarations, Definition, Diagnostic, Diagnostics, Hover, HoverTextSection, LanguageService, LanguageServiceHost, Location, Span, TemplateSource, TemplateSources} from './src/types';
|
||||
export {TypeScriptServiceHost, createLanguageServiceFromTypescript} from './src/typescript_host';
|
||||
export {VERSION} from './src/version';
|
||||
export * from './language-service';
|
||||
|
18
packages/language-service/language-service.ts
Normal file
18
packages/language-service/language-service.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @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 language service package.
|
||||
*/
|
||||
export {createLanguageService} from './src/language_service';
|
||||
export * from './src/ts_plugin';
|
||||
export {Completion, Completions, Declaration, Declarations, Definition, Diagnostic, Diagnostics, Hover, HoverTextSection, LanguageService, LanguageServiceHost, Location, Span, TemplateSource, TemplateSources} from './src/types';
|
||||
export {TypeScriptServiceHost, createLanguageServiceFromTypescript} from './src/typescript_host';
|
||||
export {VERSION} from './src/version';
|
@ -3,8 +3,8 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - language services",
|
||||
"main": "./bundles/language-service.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/language-service.js",
|
||||
"typings": "./language-service.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
|
@ -40,9 +40,7 @@ function resolve(id, from) {
|
||||
var esm_suffix = esm_suffixes[packageName] || '';
|
||||
var loc = locations[packageName] || location;
|
||||
var r = loc !== location && (loc + esm_suffix + packageName + (match[3] || '/index') + '.js') ||
|
||||
loc + packageName + '/esm5/' +
|
||||
'index.js';
|
||||
// console.log('** ANGULAR MAPPED **: ', r);
|
||||
loc + packageName + '/esm5/' + packageName + '.js';
|
||||
return r;
|
||||
}
|
||||
if (id && id.startsWith('rxjs/')) {
|
||||
@ -71,7 +69,7 @@ module.exports = function(provided) {
|
||||
`;
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/language-service/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/language-service/esm5/language-service.js',
|
||||
dest: '../../dist/packages-dist/language-service/bundles/language-service.umd.js',
|
||||
format: 'amd',
|
||||
moduleName: 'ng.language_service',
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - library for using Angular in a web browser with JIT compilation",
|
||||
"main": "./bundles/platform-browser-dynamic.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/platform-browser-dynamic.js",
|
||||
"es2015": "./esm2015/platform-browser-dynamic.js",
|
||||
"typings": "./platform-browser-dynamic.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -17,7 +17,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-browser-dynamic/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/platform-browser-dynamic/esm5/platform-browser-dynamic.js',
|
||||
dest: '../../dist/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-browser-dynamic/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/platform-browser-dynamic-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-browser-dynamic/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/platform-browser-dynamic/esm5/testing.js',
|
||||
dest:
|
||||
'../../../dist/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js',
|
||||
format: 'umd',
|
||||
|
@ -27,7 +27,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/platform-browser-dynamic/testing"
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "platform-browser-dynamic.js",
|
||||
"flatModuleId": "@angular/platform-browser-dynamic"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-browser/animations",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./animations.d.ts",
|
||||
"main": "../bundles/platform-browser-animations.umd.js",
|
||||
"module": "../esm5/animations/index.js",
|
||||
"es2015": "../esm15/animations/index.js"
|
||||
"module": "../esm5/animations.js",
|
||||
"es2015": "../esm2015/animations.js"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-browser/esm5/animations/index.js',
|
||||
entry: '../../../dist/packages-dist/platform-browser/esm5/animations.js',
|
||||
dest: '../../../dist/packages-dist/platform-browser/bundles/platform-browser-animations.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -24,7 +24,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "animations.js",
|
||||
"flatModuleId": "@angular/platform-browser/animations"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - library for using Angular in a web browser",
|
||||
"main": "./bundles/platform-browser.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/platform-browser.js",
|
||||
"es2015": "./esm2015/platform-browser.js",
|
||||
"typings": "./platform-browser.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -15,7 +15,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-browser/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/platform-browser/esm5/platform-browser.js',
|
||||
dest: '../../dist/packages-dist/platform-browser/bundles/platform-browser.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-browser/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/platform-browser-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-browser/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/platform-browser/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/platform-browser/bundles/platform-browser-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -24,7 +24,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/platform-browser/testing"
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "platform-browser.js",
|
||||
"flatModuleId": "@angular/platform-browser"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - library for using Angular in Node.js",
|
||||
"main": "./bundles/platform-server.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/platform-server.js",
|
||||
"es2015": "./esm2015/platform-server.js",
|
||||
"typings": "./platform-server.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
|
@ -22,7 +22,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-server/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/platform-server/esm5/platform-server.js',
|
||||
dest: '../../dist/packages-dist/platform-server/bundles/platform-server.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-server/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/platform-server-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-server/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/platform-server/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/platform-server/bundles/platform-server-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -32,7 +32,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/platform-server/testing"
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +27,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "platform-server.js",
|
||||
"flatModuleId": "@angular/platform-server"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - library for using Angular in a web browser with web workers",
|
||||
"main": "./bundles/platform-webworker-dynamic.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/platform-webworker-dynamic.js",
|
||||
"es2015": "./esm2015/platform-webworker-dynamic.js",
|
||||
"typings": "./platform-webworker-dynamic.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -19,7 +19,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-webworker-dynamic/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/platform-webworker-dynamic/esm5/platform-webworker-dynamic.js',
|
||||
dest:
|
||||
'../../dist/packages-dist/platform-webworker-dynamic/bundles/platform-webworker-dynamic.umd.js',
|
||||
format: 'umd',
|
||||
|
@ -23,7 +23,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "platform-webworker-dynamic.js",
|
||||
"flatModuleId": "@angular/platform-webworker-dynamic"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - library for using Angular in a web browser with web workers",
|
||||
"main": "./bundles/platform-webworker.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/platform-webworker.js",
|
||||
"es2015": "./esm2015/platform-webworker.js",
|
||||
"typings": "./platform-webworker.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -18,7 +18,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-webworker/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/platform-webworker/esm5/platform-webworker.js',
|
||||
dest: '../../dist/packages-dist/platform-webworker/bundles/platform-webworker.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -20,7 +20,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "platform-webworker.js",
|
||||
"flatModuleId": "@angular/platform-webworker"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the routing library",
|
||||
"main": "./bundles/router.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/router.js",
|
||||
"es2015": "./esm2015/router.js",
|
||||
"typings": "./router.d.ts",
|
||||
"keywords": [
|
||||
"angular",
|
||||
"router"
|
||||
|
@ -40,7 +40,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/router/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/router/esm5/router.js',
|
||||
dest: '../../dist/packages-dist/router/bundles/router.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/router/testing",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./testing.d.ts",
|
||||
"main": "../bundles/router-testing.umd.js",
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
"module": "../esm5/testing.js",
|
||||
"es2015": "../esm2015/testing.js"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/router/esm5/testing/index.js',
|
||||
entry: '../../../dist/packages-dist/router/esm5/testing.js',
|
||||
dest: '../../../dist/packages-dist/router/bundles/router-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -21,7 +21,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "testing.js",
|
||||
"flatModuleId": "@angular/router/testing"
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "router.js",
|
||||
"flatModuleId": "@angular/router"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/router/upgrade",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./upgrade.d.ts",
|
||||
"main": "../bundles/router-upgrade.umd.js",
|
||||
"module": "../esm5/upgrade/index.js",
|
||||
"es2015": "../esm15/upgrade/index.js"
|
||||
"module": "../esm5/upgrade.js",
|
||||
"es2015": "../esm2015/upgrade.js"
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/router/esm5/upgrade/index.js',
|
||||
entry: '../../../dist/packages-dist/router/esm5/upgrade.js',
|
||||
dest: '../../../dist/packages-dist/router/bundles/router-upgrade.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -19,7 +19,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "upgrade.js",
|
||||
"flatModuleId": "@angular/router/upgrade"
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the library for easing update from v1 to v2",
|
||||
"main": "./bundles/upgrade.umd.js",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"module": "./esm5/upgrade.js",
|
||||
"es2015": "./esm2015/upgrade.js",
|
||||
"typings": "./upgrade.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -23,7 +23,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/upgrade/esm5/index.js',
|
||||
entry: '../../dist/packages-dist/upgrade/esm5/upgrade.js',
|
||||
dest: '../../dist/packages-dist/upgrade/bundles/upgrade.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/upgrade/static",
|
||||
"typings": "./index.d.ts",
|
||||
"typings": "./static.d.ts",
|
||||
"main": "../bundles/upgrade-static.umd.js",
|
||||
"module": "../esm5/static/index.js",
|
||||
"es2015": "../esm15/static/index.js"
|
||||
"module": "../esm5/static.js",
|
||||
"es2015": "../esm2015/static.js"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/upgrade/esm5/static/index.js',
|
||||
entry: '../../../dist/packages-dist/upgrade/esm5/static.js',
|
||||
dest: '../../../dist/packages-dist/upgrade/bundles/upgrade-static.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
|
@ -19,7 +19,7 @@
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "static.js",
|
||||
"flatModuleId": "@angular/upgrade/static"
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleOutFile": "upgrade.js",
|
||||
"flatModuleId": "@angular/upgrade"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user