build: publish tree of files rather than FESMs (#18541)
* Remove now unnecessary portions of build. * Add a compilePackageES5 method to build ES5 from sources * Rework all package.json and rollup config files to new format * Remove "extends" from tsconfig-build.json files and fixup compilation roots PR Close #18541
This commit is contained in:
@ -11,4 +11,4 @@
|
||||
// replaces this file with production index.ts when it rewrites private symbol
|
||||
// names.
|
||||
|
||||
export * from './src/browser';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/animations/browser",
|
||||
"typings": "../browser.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/animations-browser.umd.js",
|
||||
"module": "../@angular/animations/browser.es5.js",
|
||||
"es2015": "../@angular/animations/browser.js"
|
||||
"module": "../esm5/browser/index.js",
|
||||
"es2015": "../esm15/browser/index.js"
|
||||
}
|
||||
|
@ -9,6 +9,6 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the animation package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/browser';
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -15,12 +16,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/animations/@angular/animations/browser.es5.js',
|
||||
entry: '../../../dist/packages-dist/animations/esm5/browser/index.js',
|
||||
dest: '../../../dist/packages-dist/animations/bundles/animations-browser.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.animations.browser',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-browser/animations/testing package.
|
||||
*/
|
||||
// This file is not used to build this module. It is only used during editing
|
||||
// by the TypeScript language serivce and during build for verifcation. `ngc`
|
||||
// replaces this file with production index.ts when it rewrites private symbol
|
||||
// names.
|
||||
|
||||
export * from './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/animations/browser/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../../bundles/platform-browser-animations-testing.umd.js",
|
||||
"module": "../../@angular/platform-browser/animations/testing.es5.js",
|
||||
"es2015": "../../@angular/platform-browser/animations/testing.js"
|
||||
"module": "../../esm5/animations/testing/index.js",
|
||||
"es2015": "../../esm15/animations/testing/index.js"
|
||||
}
|
||||
|
14
packages/animations/browser/testing/public_api.ts
Normal file
14
packages/animations/browser/testing/public_api.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
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/testing';
|
@ -7,20 +7,22 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
'@angular/animations': 'ng.animations',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../../dist/packages-dist/animations/@angular/animations/browser/testing.es5.js',
|
||||
entry: '../../../../dist/packages-dist/animations/esm5/browser/testing/index.js',
|
||||
dest: '../../../../dist/packages-dist/animations/bundles/animations-browser-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.animations.browser.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,17 +1,26 @@
|
||||
{
|
||||
"extends": "../../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../../",
|
||||
"paths": {
|
||||
"@angular/animations": ["../../dist/packages/animations"]
|
||||
}
|
||||
"@angular/animations": ["../../../../dist/packages/animations"]
|
||||
},
|
||||
"outDir": "../../../../dist/packages/animations"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../../node_modules/@types/hammerjs/index.d.ts",
|
||||
"../../../../node_modules/@types/jasmine/index.d.ts",
|
||||
"../../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"strictMetadataEmit": true
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/animations/browser/testing"
|
||||
}
|
||||
}
|
||||
|
@ -1,16 +1,21 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/animations": ["../../dist/packages/animations"]
|
||||
}
|
||||
"@angular/animations": ["../../../dist/packages/animations"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/animations"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
"../../system.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - animations integration with web-animationss",
|
||||
"main": "./bundles/animations.umd.js",
|
||||
"module": "./@angular/animations.es5.js",
|
||||
"es2015": "./@angular/animations.js",
|
||||
"typings": "./animations.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -9,6 +9,6 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the animation package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/animations';
|
||||
|
@ -7,20 +7,22 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
'@angular/animations': 'ng.animations',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/animations/@angular/animations.es5.js',
|
||||
entry: '../../dist/packages-dist/animations/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/animations/bundles/animations.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.animations',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,29 +1,19 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/animations",
|
||||
"paths": {
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"lib": ["es2015", "dom"],
|
||||
"skipLibCheck": true,
|
||||
"strictNullChecks": true,
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": []
|
||||
"paths": {},
|
||||
"outDir": "../../dist/packages/animations"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
"../system.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -1,23 +1,17 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2015",
|
||||
"lib": ["es6", "dom"],
|
||||
"noImplicitAny": true,
|
||||
"sourceMap": true,
|
||||
"baseUrl": ".",
|
||||
"outDir": "../../dist/packages/benchpress",
|
||||
"rootDir": ".",
|
||||
"sourceRoot": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"]
|
||||
},
|
||||
"experimentalDecorators": true,
|
||||
"rootDir": ".",
|
||||
"sourceRoot": ".",
|
||||
"declaration": true,
|
||||
"skipLibCheck": true,
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": []
|
||||
"outDir": "../../dist/packages/benchpress"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"../../node_modules/@types/node/index.d.ts",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/common/http",
|
||||
"typings": "../http.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/common-http.umd.js",
|
||||
"module": "../@angular/common/http.es5.js",
|
||||
"es2015": "../@angular/common/http.js"
|
||||
"module": "../esm5/http/index.js",
|
||||
"es2015": "../esm15/http/index.js"
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
'@angular/platform-browser': 'ng.platformBrowser',
|
||||
'@angular/common': 'ng.common',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
|
||||
@ -20,7 +21,7 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/common/@angular/common/http.es5.js',
|
||||
entry: '../../../dist/packages-dist/common/esm5/http/index.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": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../../bundles/common-http-testing.umd.js",
|
||||
"module": "../../@angular/common/http/testing.es5.js",
|
||||
"es2015": "../../@angular/common/http/testing.js"
|
||||
"module": "../../esm5/http/testing/index.js",
|
||||
"es2015": "../../esm15/http/testing/index.js"
|
||||
}
|
||||
|
@ -7,10 +7,12 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
'@angular/platform-browser': 'ng.platformBrowser',
|
||||
'@angular/common': 'ng.common',
|
||||
'@angular/common/http': 'ng.common.http',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/ReplaySubject': 'Rx',
|
||||
@ -18,12 +20,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../../dist/packages-dist/common/@angular/common/http/testing.es5.js',
|
||||
entry: '../../../../dist/packages-dist/common/esm5/http/testing/index.js',
|
||||
dest: '../../../../dist/packages-dist/common/bundles/common-http-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.common.http.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,28 +1,22 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../../../dist/packages/common/http/testing",
|
||||
"rootDir": "../../",
|
||||
"paths": {
|
||||
"@angular/core": ["../../../../dist/packages/core"],
|
||||
"@angular/common": ["../../../../dist/packages/common"],
|
||||
"@angular/common/http": ["../../../../dist/packages/common/http"],
|
||||
"@angular/platform-browser": ["../../../../dist/packages/platform-browser"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"]
|
||||
"outDir": "../../../../dist/packages/common"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -1,26 +1,20 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../../dist/packages/common/http",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/common": ["../../../dist/packages/common"],
|
||||
"@angular/core": ["../../../dist/packages/core"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"]
|
||||
"outDir": "../../../dist/packages/common"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - commonly needed directives and services",
|
||||
"main": "./bundles/common.umd.js",
|
||||
"module": "./@angular/common.es5.js",
|
||||
"es2015": "./@angular/common.js",
|
||||
"typings": "./common.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the common package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/common';
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -15,12 +16,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/common/@angular/common.es5.js',
|
||||
entry: '../../dist/packages-dist/common/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/common/bundles/common.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.common',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the core/testing package.
|
||||
*/
|
||||
// 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 './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/common/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/common-testing.umd.js",
|
||||
"module": "../@angular/common/testing.es5.js",
|
||||
"es2015": "../@angular/common/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
16
packages/common/testing/public_api.ts
Normal file
16
packages/common/testing/public_api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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 this package.
|
||||
*/
|
||||
export * from './src/testing';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -16,12 +17,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/common/@angular/common/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/common/esm5/testing/index.js',
|
||||
dest: '../../../dist/packages-dist/common/bundles/common-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.common.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,17 +1,25 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/common": ["../../dist/packages/common"]
|
||||
}
|
||||
"@angular/core": ["../../../dist/packages/core"],
|
||||
"@angular/common": ["../../../dist/packages/common"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/common"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"strictMetadataEmit": true
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/common/testing"
|
||||
}
|
||||
}
|
||||
|
@ -1,41 +1,24 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"]
|
||||
},
|
||||
"outDir": "../../dist/packages/common"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/common"
|
||||
},
|
||||
|
||||
"compilerOptions": {
|
||||
"stripInternal": true,
|
||||
"strictNullChecks": true,
|
||||
"noImplicitAny": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": [ "es2015", "dom" ],
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": [],
|
||||
|
||||
/**
|
||||
* The rest of the file is configuration that's overridden by bazel.
|
||||
* It can be removed after we fully migrate.
|
||||
*/
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"experimentalDecorators": true,
|
||||
"outDir": "../../dist/packages/common",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true
|
||||
},
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
"@angular/tsc-wrapped": "5.0.0-beta.5",
|
||||
"reflect-metadata": "^0.1.2",
|
||||
"minimist": "^1.2.0",
|
||||
"tsickle": "^0.23.4",
|
||||
"tsickle": "^0.23.6",
|
||||
"chokidar": "^1.4.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -1,29 +1,23 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"experimentalDecorators": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "commonjs",
|
||||
"outDir": "../../dist/packages/compiler-cli",
|
||||
"stripInternal": false,
|
||||
"target": "es5",
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/compiler": ["../../dist/packages/compiler"],
|
||||
"@angular/tsc-wrapped": ["../../dist/packages-dist/tsc-wrapped"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"skipLibCheck": true
|
||||
"outDir": "../../dist/packages/compiler-cli"
|
||||
},
|
||||
|
||||
"exclude": [
|
||||
"integrationtest"
|
||||
],
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"ngtools2.ts",
|
||||
|
@ -6,11 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the compiler package.
|
||||
*/
|
||||
export * from './src/compiler';
|
||||
// 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.
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
||||
export * from './public_api';
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the compiler library",
|
||||
"main": "./bundles/compiler.umd.js",
|
||||
"module": "./@angular/compiler.es5.js",
|
||||
"es2015": "./@angular/compiler.js",
|
||||
"typings": "./compiler.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
16
packages/compiler/public_api.ts
Normal file
16
packages/compiler/public_api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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 this package.
|
||||
*/
|
||||
export * from './src/compiler';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -15,12 +16,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/compiler/@angular/compiler.es5.js',
|
||||
entry: '../../dist/packages-dist/compiler/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/compiler/bundles/compiler.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.compiler',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the compiler/testing package.
|
||||
*/
|
||||
// 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 './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/compiler/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/compiler-testing.umd.js",
|
||||
"module": "../@angular/compiler/testing.es5.js",
|
||||
"es2015": "../@angular/compiler/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
16
packages/compiler/testing/public_api.ts
Normal file
16
packages/compiler/testing/public_api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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 this package.
|
||||
*/
|
||||
export * from './src/testing';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -17,12 +18,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/compiler/@angular/compiler/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/compiler/esm5/testing/index.js',
|
||||
dest: '../../../dist/packages-dist/compiler/bundles/compiler-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.compiler.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,15 +1,23 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
// Test that we rely on decorator downleveling
|
||||
"emitDecoratorMetadata": false,
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/compiler": ["../../dist/packages/compiler"]
|
||||
}
|
||||
"@angular/compiler": ["../../../dist/packages/compiler"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/compiler"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
]
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"flatModuleOutFile": "index.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": "./@angular/core.es5.js",
|
||||
"es2015": "./@angular/core.js",
|
||||
"typings": "./core.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the core package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/core';
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'rxjs/Observable': 'Rx',
|
||||
@ -18,12 +19,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/core/@angular/core.es5.js',
|
||||
entry: '../../dist/packages-dist/core/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/core/bundles/core.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.core',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the core/testing package.
|
||||
*/
|
||||
// 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 './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/core/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/core-testing.umd.js",
|
||||
"module": "../@angular/core/testing.es5.js",
|
||||
"es2015": "../@angular/core/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
16
packages/core/testing/public_api.ts
Normal file
16
packages/core/testing/public_api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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 this package.
|
||||
*/
|
||||
export * from './src/testing';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -15,12 +16,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/core/@angular/core/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/core/esm5/testing/index.js',
|
||||
dest: '../../../dist/packages-dist/core/bundles/core-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.core.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,17 +1,25 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"rxjs/*": ["../../node_modules/rxjs/*"],
|
||||
"@angular/core": ["../../dist/packages/core"]
|
||||
}
|
||||
"rxjs/*": ["../../../node_modules/rxjs/*"],
|
||||
"@angular/core": ["../../../dist/packages/core"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/core"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
"../../system.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"strictMetadataEmit": true
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/core/testing"
|
||||
}
|
||||
}
|
||||
|
@ -1,40 +1,25 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"rxjs/*": ["../../node_modules/rxjs/*"]
|
||||
},
|
||||
"outDir": "../../dist/packages/core"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
"../system.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/core"
|
||||
},
|
||||
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"target": "es2015",
|
||||
"lib": ["es2015", "dom"],
|
||||
"skipLibCheck": true,
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": [],
|
||||
|
||||
/**
|
||||
* The rest of the file is configuration that's overridden by bazel.
|
||||
* It can be removed after we fully migrate.
|
||||
*/
|
||||
"baseUrl": ".",
|
||||
"experimentalDecorators": true,
|
||||
"outDir": "../../dist/packages/core",
|
||||
"paths": {
|
||||
"rxjs/*": ["../../node_modules/rxjs/*"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true
|
||||
},
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
"../system.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,27 +1,19 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/examples",
|
||||
"emitDecoratorMetadata": true,
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/*": ["../../dist/packages-dist/*"],
|
||||
"rxjs/*": ["../../node_modules/rxjs/*"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es5",
|
||||
"lib": ["es2015", "dom"],
|
||||
"skipLibCheck": true,
|
||||
"outDir": "../../dist/examples",
|
||||
"types": ["jasmine", "node", "angularjs", "systemjs"]
|
||||
},
|
||||
|
||||
"include": [
|
||||
"./**/*.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - directives and services for creating forms",
|
||||
"main": "./bundles/forms.umd.js",
|
||||
"module": "./@angular/forms.es5.js",
|
||||
"es2015": "./@angular/forms.js",
|
||||
"typings": "./forms.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the forms package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/forms';
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -21,12 +22,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/forms/@angular/forms.es5.js',
|
||||
entry: '../../dist/packages-dist/forms/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/forms/bundles/forms.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.forms',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,13 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/forms",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../dist/packages/core/testing"],
|
||||
@ -17,19 +13,14 @@
|
||||
"@angular/compiler/testing": ["../../dist/packages/compiler/testing"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"],
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": []
|
||||
"outDir": "../../dist/packages/forms"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -3,9 +3,9 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - the http service",
|
||||
"main": "./bundles/http.umd.js",
|
||||
"module": "./@angular/http.es5.js",
|
||||
"es2015": "./@angular/http.js",
|
||||
"typings": "./http.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the http package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/index';
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -17,12 +18,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/http/@angular/http.es5.js',
|
||||
entry: '../../dist/packages-dist/http/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/http/bundles/http.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.http',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -12,4 +12,4 @@
|
||||
* Entry point for all public APIs of the http/testing package.
|
||||
*/
|
||||
|
||||
export * from './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/http/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/http-testing.umd.js",
|
||||
"module": "../@angular/http/testing.es5.js",
|
||||
"es2015": "../@angular/http/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
@ -9,6 +9,6 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the http testing package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/testing';
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -20,12 +21,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/http/@angular/http/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/http/esm5/testing/index.js',
|
||||
dest: '../../../dist/packages-dist/http/bundles/http-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.http.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,16 +1,21 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/http": ["../../dist/packages/http"],
|
||||
"rxjs/*": ["../../node_modules/rxjs/*"]
|
||||
}
|
||||
"@angular/core": ["../../../dist/packages/core"],
|
||||
"@angular/http": ["../../../dist/packages/http"],
|
||||
"rxjs/*": ["../../../node_modules/rxjs/*"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/http"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -1,29 +1,22 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"strictNullChecks": true,
|
||||
"experimentalDecorators": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/http",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/common": ["../../dist/packages/common"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"]
|
||||
"outDir": "../../dist/packages/http"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -3,8 +3,8 @@
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "Angular - language services",
|
||||
"main": "./bundles/language-service.umd.js",
|
||||
"module": "./@angular/language-service.es5.js",
|
||||
"typings": "./language-service.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import commonjs from 'rollup-plugin-commonjs';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
import * as path from 'path';
|
||||
|
||||
var m = /^\@angular\/((\w|\-)+)(\/(\w|\d|\/|\-)+)?$/;
|
||||
@ -39,7 +40,8 @@ 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 + '/@angular/' + packageName + '.es5.js';
|
||||
loc + packageName + '/esm5/' +
|
||||
'index.js';
|
||||
// console.log('** ANGULAR MAPPED **: ', r);
|
||||
return r;
|
||||
}
|
||||
@ -69,7 +71,7 @@ module.exports = function(provided) {
|
||||
`;
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/language-service/@angular/language-service.es5.js',
|
||||
entry: '../../dist/packages-dist/language-service/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/language-service/bundles/language-service.umd.js',
|
||||
format: 'amd',
|
||||
moduleName: 'ng.language_service',
|
||||
@ -85,5 +87,5 @@ export default {
|
||||
'fs': 'fs',
|
||||
},
|
||||
banner: banner,
|
||||
plugins: [{resolveId: resolve}, commonjs()]
|
||||
plugins: [{resolveId: resolve}, commonjs(), sourcemaps()]
|
||||
}
|
||||
|
@ -1,14 +1,10 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/language-service",
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/animation": ["../../dist/packages/animation"],
|
||||
@ -24,13 +20,9 @@
|
||||
"@angular/tsc-wrapped": ["../../dist/packages-dist/tsc-wrapped"],
|
||||
"@angular/tsc-wrapped/*": ["../../dist/packages-dist/tsc-wrapped/*"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es5",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"]
|
||||
"outDir": "../../dist/packages/language-service"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
|
@ -6,11 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-browser-dynamic package.
|
||||
*/
|
||||
export * from './src/platform-browser-dynamic';
|
||||
// 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.
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
||||
export * from './public_api';
|
||||
|
@ -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": "./@angular/platform-browser-dynamic.es5.js",
|
||||
"es2015": "./@angular/platform-browser-dynamic.js",
|
||||
"typings": "./platform-browser-dynamic.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
16
packages/platform-browser-dynamic/public_api.ts
Normal file
16
packages/platform-browser-dynamic/public_api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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 this package.
|
||||
*/
|
||||
export * from './src/platform-browser-dynamic';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -16,13 +17,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry:
|
||||
'../../dist/packages-dist/platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js',
|
||||
entry: '../../dist/packages-dist/platform-browser-dynamic/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformBrowserDynamic',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-browser-dynamic/testing package.
|
||||
*/
|
||||
// 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 './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-browser-dynamic/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/platform-browser-dynamic-testing.umd.js",
|
||||
"module": "../@angular/platform-browser-dynamic/testing.es5.js",
|
||||
"es2015": "../@angular/platform-browser-dynamic/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
14
packages/platform-browser-dynamic/testing/public_api.ts
Normal file
14
packages/platform-browser-dynamic/testing/public_api.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
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/testing';
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -20,14 +21,13 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry:
|
||||
'../../../dist/packages-dist/platform-browser-dynamic/@angular/platform-browser-dynamic/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/platform-browser-dynamic/esm5/testing/index.js',
|
||||
dest:
|
||||
'../../../dist/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformBrowserDynamic.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,21 +1,33 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../dist/packages/core/testing"],
|
||||
"@angular/common": ["../../dist/packages/common"],
|
||||
"@angular/common/testing": ["../../dist/packages/common/testing"],
|
||||
"@angular/compiler": ["../../dist/packages/compiler"],
|
||||
"@angular/compiler/testing": ["../../dist/packages/compiler/testing"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"],
|
||||
"@angular/platform-browser/testing": ["../../dist/packages/platform-browser/testing"],
|
||||
"@angular/platform-browser-dynamic": ["../../dist/packages/platform-browser-dynamic"]
|
||||
}
|
||||
"@angular/core": ["../../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../../dist/packages/core/testing"],
|
||||
"@angular/common": ["../../../dist/packages/common"],
|
||||
"@angular/common/testing": ["../../../dist/packages/common/testing"],
|
||||
"@angular/compiler": ["../../../dist/packages/compiler"],
|
||||
"@angular/compiler/testing": ["../../../dist/packages/compiler/testing"],
|
||||
"@angular/platform-browser": ["../../../dist/packages/platform-browser"],
|
||||
"@angular/platform-browser/testing": ["../../../dist/packages/platform-browser/testing"],
|
||||
"@angular/platform-browser-dynamic": ["../../../dist/packages/platform-browser-dynamic"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/platform-browser-dynamic"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/@types/jasmine/index.d.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
]
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/platform-browser-dymamic/testing"
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/platform-browser-dynamic",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../dist/packages/core/testing"],
|
||||
@ -18,18 +14,19 @@
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"],
|
||||
"@angular/platform-browser/testing": ["../../dist/packages/platform-browser/testing"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"],
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": []
|
||||
"outDir": "../../dist/packages/platform-browser-dynamic"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../node_modules/@types/jasmine/index.d.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
]
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/platform-browser-dynamic"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-browser/animations",
|
||||
"typings": "../animations.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/platform-browser-animations.umd.js",
|
||||
"module": "../@angular/platform-browser/animations.es5.js",
|
||||
"es2015": "../@angular/platform-browser/animations.js"
|
||||
"module": "../esm5/animations/index.js",
|
||||
"es2015": "../esm15/animations/index.js"
|
||||
}
|
||||
|
@ -9,6 +9,6 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the animation package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/animations';
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -17,12 +18,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-browser/@angular/platform-browser/animations.es5.js',
|
||||
entry: '../../../dist/packages-dist/platform-browser/esm5/animations/index.js',
|
||||
dest: '../../../dist/packages-dist/platform-browser/bundles/platform-browser-animations.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformBrowser.animations',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,21 +1,26 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"rxjs/*": ["../../node_modules/rxjs/*"],
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../dist/packages/core/testing"],
|
||||
"@angular/animations": ["../../dist/packages/animations"],
|
||||
"@angular/animations/browser": ["../../dist/packages/animations/browser"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"]
|
||||
}
|
||||
"rxjs/*": ["../../../node_modules/rxjs/*"],
|
||||
"@angular/core": ["../../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../../dist/packages/core/testing"],
|
||||
"@angular/animations": ["../../../dist/packages/animations"],
|
||||
"@angular/animations/browser": ["../../../dist/packages/animations/browser"],
|
||||
"@angular/platform-browser": ["../../../dist/packages/platform-browser"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/platform-browser"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts",
|
||||
"../../system.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -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": "./@angular/platform-browser.es5.js",
|
||||
"es2015": "./@angular/platform-browser.js",
|
||||
"typings": "./platform-browser.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-browser package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/platform-browser';
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -14,12 +15,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-browser/@angular/platform-browser.es5.js',
|
||||
entry: '../../dist/packages-dist/platform-browser/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/platform-browser/bundles/platform-browser.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformBrowser',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the core/testing package.
|
||||
*/
|
||||
// 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 './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-browser/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/platform-browser-testing.umd.js",
|
||||
"module": "../@angular/platform-browser/testing.es5.js",
|
||||
"es2015": "../@angular/platform-browser/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
14
packages/platform-browser/testing/public_api.ts
Normal file
14
packages/platform-browser/testing/public_api.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
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/testing';
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -15,12 +16,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-browser/@angular/platform-browser/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/platform-browser/esm5/testing/index.js',
|
||||
dest: '../../../dist/packages-dist/platform-browser/bundles/platform-browser-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformBrowser.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,21 +1,30 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../dist/packages/core/testing"],
|
||||
"@angular/common": ["../../dist/packages/common"],
|
||||
"@angular/common/testing": ["../../dist/packages/common/testing"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"]
|
||||
}
|
||||
"@angular/core": ["../../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../../dist/packages/core/testing"],
|
||||
"@angular/common": ["../../../dist/packages/common"],
|
||||
"@angular/common/testing": ["../../../dist/packages/common/testing"],
|
||||
"@angular/platform-browser": ["../../../dist/packages/platform-browser"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/platform-browser"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/@types/hammerjs/index.d.ts",
|
||||
"../../../node_modules/@types/jasmine/index.d.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"strictMetadataEmit": true
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/platform-browser/testing"
|
||||
}
|
||||
}
|
||||
|
@ -1,32 +1,23 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/platform-browser",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/platform-browser/animations": ["../../dist/packages/platform-browser/animations"],
|
||||
"@angular/common": ["../../dist/packages/common"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"],
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": []
|
||||
"outDir": "../../dist/packages/platform-browser"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/@types/hammerjs/index.d.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -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": "./@angular/platform-server.es5.js",
|
||||
"es2015": "./@angular/platform-server.js",
|
||||
"typings": "./platform-server.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm15/index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-server package.
|
||||
* Entry point for all public APIs of this package.
|
||||
*/
|
||||
export * from './src/platform-server';
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -21,12 +22,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../dist/packages-dist/platform-server/@angular/platform-server.es5.js',
|
||||
entry: '../../dist/packages-dist/platform-server/esm5/index.js',
|
||||
dest: '../../dist/packages-dist/platform-server/bundles/platform-server.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformServer',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -6,10 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-server/testing package.
|
||||
*/
|
||||
// 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 './src/testing';
|
||||
export * from './public_api';
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@angular/platform-server/testing",
|
||||
"typings": "../testing.d.ts",
|
||||
"typings": "./index.d.ts",
|
||||
"main": "../bundles/platform-server-testing.umd.js",
|
||||
"module": "../@angular/platform-server/testing.es5.js",
|
||||
"es2015": "../@angular/platform-server/testing.js"
|
||||
"module": "../esm5/testing/index.js",
|
||||
"es2015": "../esm15/testing/index.js"
|
||||
}
|
||||
|
16
packages/platform-server/testing/public_api.ts
Normal file
16
packages/platform-server/testing/public_api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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 this package.
|
||||
*/
|
||||
export * from './src/testing';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
@ -19,12 +20,12 @@ const globals = {
|
||||
};
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/platform-server/@angular/platform-server/testing.es5.js',
|
||||
entry: '../../../dist/packages-dist/platform-server/esm5/testing/index.js',
|
||||
dest: '../../../dist/packages-dist/platform-server/bundles/platform-server-testing.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.platformServer.testing',
|
||||
plugins: [resolve()],
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
||||
|
@ -1,29 +1,38 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@angular/animations/browser": ["../../dist/packages/animations/browser"],
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../dist/packages/core/testing"],
|
||||
"@angular/common": ["../../dist/packages/common"],
|
||||
"@angular/common/testing": ["../../dist/packages/common/testing"],
|
||||
"@angular/compiler": ["../../dist/packages/compiler"],
|
||||
"@angular/compiler/testing": ["../../dist/packages/compiler/testing"],
|
||||
"@angular/platform-browser": ["../../dist/packages/platform-browser"],
|
||||
"@angular/platform-browser/animations": ["../../dist/packages/platform-browser/animations"],
|
||||
"@angular/platform-browser/testing": ["../../dist/packages/platform-browser/testing"],
|
||||
"@angular/platform-browser-dynamic": ["../../dist/packages/platform-browser-dynamic"],
|
||||
"@angular/platform-browser-dynamic/testing": ["../../dist/packages/platform-browser-dynamic/testing"],
|
||||
"@angular/platform-server": ["../../dist/packages/platform-server"]
|
||||
}
|
||||
"@angular/animations/browser": ["../../../dist/packages/animations/browser"],
|
||||
"@angular/core": ["../../../dist/packages/core"],
|
||||
"@angular/core/testing": ["../../../dist/packages/core/testing"],
|
||||
"@angular/common": ["../../../dist/packages/common"],
|
||||
"@angular/common/testing": ["../../../dist/packages/common/testing"],
|
||||
"@angular/compiler": ["../../../dist/packages/compiler"],
|
||||
"@angular/compiler/testing": ["../../../dist/packages/compiler/testing"],
|
||||
"@angular/platform-browser": ["../../../dist/packages/platform-browser"],
|
||||
"@angular/platform-browser/animations": ["../../../dist/packages/platform-browser/animations"],
|
||||
"@angular/platform-browser/testing": ["../../../dist/packages/platform-browser/testing"],
|
||||
"@angular/platform-browser-dynamic": ["../../../dist/packages/platform-browser-dynamic"],
|
||||
"@angular/platform-browser-dynamic/testing": ["../../../dist/packages/platform-browser-dynamic/testing"],
|
||||
"@angular/platform-server": ["../../../dist/packages/platform-server"]
|
||||
},
|
||||
"outDir": "../../../dist/packages/platform-server"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"public_api.ts",
|
||||
"../../../node_modules/@types/jasmine/index.d.ts",
|
||||
"../../../node_modules/@types/node/index.d.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"strictMetadataEmit": true
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
"flatModuleOutFile": "index.js",
|
||||
"flatModuleId": "@angular/platform-server/testing"
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../dist/packages/platform-server",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/animations/browser": ["../../dist/packages/animations/browser"],
|
||||
"@angular/core": ["../../dist/packages/core"],
|
||||
@ -19,20 +15,15 @@
|
||||
"@angular/platform-browser/animations": ["../../dist/packages/platform-browser/animations"],
|
||||
"@angular/platform-browser-dynamic": ["../../dist/packages/platform-browser-dynamic"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es2015",
|
||||
"skipLibCheck": true,
|
||||
"lib": ["es2015", "dom"],
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": []
|
||||
"outDir": "../../dist/packages/platform-server"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"public_api.ts",
|
||||
"../../node_modules/@types/node/index.d.ts",
|
||||
"../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
],
|
||||
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"strictMetadataEmit": true,
|
||||
|
@ -6,11 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-browser-dynamic package.
|
||||
*/
|
||||
export * from './src/platform-webworker-dynamic';
|
||||
// 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.
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
||||
export * from './public_api';
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user