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

Commit

Permalink
fix(optimization): removing optimizations in preparation for ngo, upd…
Browse files Browse the repository at this point in the history
…ating to latest deps
  • Loading branch information
danbucholtz committed Aug 31, 2017
1 parent 1500f11 commit 90eb8b3
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 12,475 deletions.
7,728 changes: 0 additions & 7,728 deletions package-lock.json

This file was deleted.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ionic/app-scripts",
"version": "2.1.4",
"version": "2.1.4-201708312149",
"description": "Scripts for Ionic Projects",
"homepage": "https://ionicframework.com/",
"author": "Ionic Team <[email protected]> (https://ionic.io)",
Expand Down Expand Up @@ -47,7 +47,7 @@
"postcss": "5.2.17",
"proxy-middleware": "0.15.0",
"reflect-metadata": "^0.1.10",
"rollup": "0.42.0",
"rollup": "0.49.2",
"rollup-plugin-commonjs": "8.0.2",
"rollup-plugin-json": "2.3.0",
"rollup-plugin-node-builtins": "2.1.2",
Expand All @@ -57,23 +57,23 @@
"tiny-lr": "1.0.4",
"tslint": "^5.5.0",
"tslint-eslint-rules": "4.1.1",
"uglify-js": "^3.0.23",
"webpack": "^3.4.1",
"uglify-js": "^3.0.28",
"webpack": "^3.5.5",
"ws": "1.1.1",
"xml2js": "0.4.17"
},
"devDependencies": {
"@angular/animations": "4.1.3",
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@angular/platform-server": "4.1.3",
"@angular/tsc-wrapped": "4.1.3",
"@angular/animations": "4.3.6",
"@angular/common": "4.3.6",
"@angular/compiler": "4.3.6",
"@angular/compiler-cli": "4.3.6",
"@angular/core": "4.3.6",
"@angular/forms": "4.3.6",
"@angular/http": "4.3.6",
"@angular/platform-browser": "4.3.6",
"@angular/platform-browser-dynamic": "4.3.6",
"@angular/platform-server": "4.3.6",
"@angular/tsc-wrapped": "4.3.6",
"@types/chalk": "^0.4.30",
"@types/chokidar": "1.4.29",
"@types/clean-css": "^3.4.29",
Expand All @@ -97,8 +97,8 @@
"rxjs": "^5.1.1",
"sw-toolbox": "3.6.0",
"tslint-ionic-rules": "0.0.8",
"typescript": "~2.3.4",
"zone.js": "^0.8.12"
"typescript": "~2.5.2",
"zone.js": "^0.8.17"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function copyUpdate(changedFiles: ChangedFile[], context: BuildContext) {
return Promise.all(promises);
}).then(() => {
// process any deleted files
const promises: Promise<void>[] = [];
const promises: Promise<any>[] = [];
const fileDeletions = changedFiles.filter(changedFile => changedFile.event === 'unlink');
fileDeletions.forEach(changedFile => promises.push(processRemoveFile(changedFile)));
return Promise.all(promises);
Expand Down
2 changes: 1 addition & 1 deletion src/deep-linking/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function getDeepLinkDecoratorContentForSourceFile(sourceFile: SourceFile)
}
let propertyList: Node[] = [];
if (deepLinkObject && deepLinkObject.properties) {
propertyList = deepLinkObject.properties;
propertyList = deepLinkObject.properties as any as Node[]; // TODO this typing got jacked up
}

const deepLinkName = getStringValueFromDeepLinkDecorator(sourceFile, propertyList, className, DEEPLINK_DECORATOR_NAME_ATTRIBUTE);
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export * from './util/interfaces';
export * from './util/constants';
export * from './generators';

export { getDeepLinkData } from './deep-linking/util';

import { generateContext } from './util/config';
import { getAppScriptsVersion } from './util/helpers';
import { Logger } from './logger/logger';
Expand Down
2 changes: 1 addition & 1 deletion src/minify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function minifyWorker(context: BuildContext) {
}


export function minifyJs(context: BuildContext): Promise<void> {
export function minifyJs(context: BuildContext): Promise<any> {
return isClosureSupported(context).then((result: boolean) => {
if (result) {
return closure(context);
Expand Down
133 changes: 0 additions & 133 deletions src/optimization.spec.ts

This file was deleted.

Loading

0 comments on commit 90eb8b3

Please sign in to comment.