feat: update the package output of build.sh to APF v6 (#22808)

PR Close #22808
This commit is contained in:
Igor Minar
2018-03-15 14:13:13 -07:00
parent d54615d555
commit ce63dc6f95
69 changed files with 238 additions and 108 deletions

View File

@ -2,7 +2,11 @@
"name": "@angular/common/http",
"typings": "./http.d.ts",
"main": "../bundles/common-http.umd.js",
"module": "../esm5/http.js",
"es2015": "../esm2015/http.js",
"module": "../fesm5/http.js",
"es2015": "../fesm2015/http/http.js",
"esm5": "../esm5/http/http.js",
"esm2015": "../esm2015/http/http.js",
"fesm5": "../fesm5/http.js",
"fesm2015": "../fesm2015/http.js",
"sideEffects": false
}

View File

@ -22,7 +22,7 @@ const globals = {
};
module.exports = {
entry: '../../../dist/packages-dist/common/esm5/http.js',
entry: '../../../dist/packages-dist/common/fesm5/http.js',
dest: '../../../dist/packages-dist/common/bundles/common-http.umd.js',
format: 'umd',
exports: 'named',

View File

@ -2,6 +2,10 @@
"name": "@angular/common/http/testing",
"typings": "./testing.d.ts",
"main": "../../bundles/common-http-testing.umd.js",
"module": "../../esm5/http/testing.js",
"es2015": "../../esm2015/http/testing.js"
"module": "../../fesm5/http/testing.js",
"es2015": "../../fesm2015/http/testing.js",
"esm5": "../../esm5/http/testing.js",
"esm2015": "../../esm2015/http/testing.js",
"fesm5": "../../fesm5/http/testing.js",
"fesm2015": "../../fesm2015/http/testing.js"
}

View File

@ -23,7 +23,7 @@ const globals = {
};
module.exports = {
entry: '../../../../dist/packages-dist/common/esm5/http/testing.js',
entry: '../../../../dist/packages-dist/common/fesm5/http/testing.js',
dest: '../../../../dist/packages-dist/common/bundles/common-http-testing.umd.js',
format: 'umd',
exports: 'named',

View File

@ -3,8 +3,12 @@
"version": "0.0.0-PLACEHOLDER",
"description": "Angular - commonly needed directives and services",
"main": "./bundles/common.umd.js",
"module": "./esm5/common.js",
"es2015": "./esm2015/common.js",
"module": "./fesm5/common.js",
"es2015": "./fesm2015/common.js",
"esm5": "./esm5/common.js",
"esm2015": "./esm2015/common.js",
"fesm5": "./fesm5/common.js",
"fesm2015": "./fesm2015/common.js",
"typings": "./common.d.ts",
"author": "angular",
"license": "MIT",

View File

@ -18,7 +18,7 @@ const globals = {
};
module.exports = {
entry: '../../dist/packages-dist/common/esm5/common.js',
entry: '../../dist/packages-dist/common/fesm5/common.js',
dest: '../../dist/packages-dist/common/bundles/common.umd.js',
format: 'umd',
exports: 'named',

View File

@ -2,6 +2,10 @@
"name": "@angular/common/testing",
"typings": "./testing.d.ts",
"main": "../bundles/common-testing.umd.js",
"module": "../esm5/testing.js",
"es2015": "../esm2015/testing.js"
"module": "../fesm5/testing.js",
"es2015": "../fesm2015/testing/testing.js",
"esm5": "../esm5/testing/testing.js",
"esm2015": "../esm2015/testing/testing.js",
"fesm5": "../fesm5/testing.js",
"fesm2015": "../fesm2015/testing.js"
}

View File

@ -18,7 +18,7 @@ const globals = {
};
module.exports = {
entry: '../../../dist/packages-dist/common/esm5/testing.js',
entry: '../../../dist/packages-dist/common/fesm5/testing.js',
dest: '../../../dist/packages-dist/common/bundles/common-testing.umd.js',
format: 'umd',
exports: 'named',