Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 90eb8b3

Browse files
committed
fix(optimization): removing optimizations in preparation for ngo, updating to latest deps
1 parent 1500f11 commit 90eb8b3

16 files changed

+41
-12475
lines changed

package-lock.json

Lines changed: 0 additions & 7728 deletions
This file was deleted.

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ionic/app-scripts",
3-
"version": "2.1.4",
3+
"version": "2.1.4-201708312149",
44
"description": "Scripts for Ionic Projects",
55
"homepage": "https://ionicframework.com/",
66
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -47,7 +47,7 @@
4747
"postcss": "5.2.17",
4848
"proxy-middleware": "0.15.0",
4949
"reflect-metadata": "^0.1.10",
50-
"rollup": "0.42.0",
50+
"rollup": "0.49.2",
5151
"rollup-plugin-commonjs": "8.0.2",
5252
"rollup-plugin-json": "2.3.0",
5353
"rollup-plugin-node-builtins": "2.1.2",
@@ -57,23 +57,23 @@
5757
"tiny-lr": "1.0.4",
5858
"tslint": "^5.5.0",
5959
"tslint-eslint-rules": "4.1.1",
60-
"uglify-js": "^3.0.23",
61-
"webpack": "^3.4.1",
60+
"uglify-js": "^3.0.28",
61+
"webpack": "^3.5.5",
6262
"ws": "1.1.1",
6363
"xml2js": "0.4.17"
6464
},
6565
"devDependencies": {
66-
"@angular/animations": "4.1.3",
67-
"@angular/common": "4.1.3",
68-
"@angular/compiler": "4.1.3",
69-
"@angular/compiler-cli": "4.1.3",
70-
"@angular/core": "4.1.3",
71-
"@angular/forms": "4.1.3",
72-
"@angular/http": "4.1.3",
73-
"@angular/platform-browser": "4.1.3",
74-
"@angular/platform-browser-dynamic": "4.1.3",
75-
"@angular/platform-server": "4.1.3",
76-
"@angular/tsc-wrapped": "4.1.3",
66+
"@angular/animations": "4.3.6",
67+
"@angular/common": "4.3.6",
68+
"@angular/compiler": "4.3.6",
69+
"@angular/compiler-cli": "4.3.6",
70+
"@angular/core": "4.3.6",
71+
"@angular/forms": "4.3.6",
72+
"@angular/http": "4.3.6",
73+
"@angular/platform-browser": "4.3.6",
74+
"@angular/platform-browser-dynamic": "4.3.6",
75+
"@angular/platform-server": "4.3.6",
76+
"@angular/tsc-wrapped": "4.3.6",
7777
"@types/chalk": "^0.4.30",
7878
"@types/chokidar": "1.4.29",
7979
"@types/clean-css": "^3.4.29",
@@ -97,8 +97,8 @@
9797
"rxjs": "^5.1.1",
9898
"sw-toolbox": "3.6.0",
9999
"tslint-ionic-rules": "0.0.8",
100-
"typescript": "~2.3.4",
101-
"zone.js": "^0.8.12"
100+
"typescript": "~2.5.2",
101+
"zone.js": "^0.8.17"
102102
},
103103
"repository": {
104104
"type": "git",

src/copy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export function copyUpdate(changedFiles: ChangedFile[], context: BuildContext) {
9292
return Promise.all(promises);
9393
}).then(() => {
9494
// process any deleted files
95-
const promises: Promise<void>[] = [];
95+
const promises: Promise<any>[] = [];
9696
const fileDeletions = changedFiles.filter(changedFile => changedFile.event === 'unlink');
9797
fileDeletions.forEach(changedFile => promises.push(processRemoveFile(changedFile)));
9898
return Promise.all(promises);

src/deep-linking/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function getDeepLinkDecoratorContentForSourceFile(sourceFile: SourceFile)
103103
}
104104
let propertyList: Node[] = [];
105105
if (deepLinkObject && deepLinkObject.properties) {
106-
propertyList = deepLinkObject.properties;
106+
propertyList = deepLinkObject.properties as any as Node[]; // TODO this typing got jacked up
107107
}
108108

109109
const deepLinkName = getStringValueFromDeepLinkDecorator(sourceFile, propertyList, className, DEEPLINK_DECORATOR_NAME_ATTRIBUTE);

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export * from './util/interfaces';
1717
export * from './util/constants';
1818
export * from './generators';
1919

20+
export { getDeepLinkData } from './deep-linking/util';
21+
2022
import { generateContext } from './util/config';
2123
import { getAppScriptsVersion } from './util/helpers';
2224
import { Logger } from './logger/logger';

src/minify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function minifyWorker(context: BuildContext) {
3131
}
3232

3333

34-
export function minifyJs(context: BuildContext): Promise<void> {
34+
export function minifyJs(context: BuildContext): Promise<any> {
3535
return isClosureSupported(context).then((result: boolean) => {
3636
if (result) {
3737
return closure(context);

src/optimization.spec.ts

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)