forked from valor-software/ng2-file-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request valor-software#1107 from earshinov/update-to-angular8
feta(build): update to Angular 8. Use Angular CLI instead of ngm for building. Ensure compatibility with Ivy on application side.
- Loading branch information
Showing
21 changed files
with
18,788 additions
and
183 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"ng2-file-upload": { | ||
"root": ".", | ||
"sourceRoot": "src", | ||
"projectType": "library", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "src/tsconfig.json", | ||
"project": "src/ng-package.json" | ||
} | ||
} | ||
} | ||
}, | ||
"ng2-file-upload-demo": { | ||
"root": "demo", | ||
"sourceRoot": "demo/src", | ||
"projectType": "application", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "demo/dist", | ||
"index": "demo/src/index.html", | ||
"main": "demo/src/main.ts", | ||
"tsConfig": "demo/src/tsconfig.json", | ||
"assets": [ | ||
"demo/src/assets" | ||
], | ||
"styles": [], | ||
"scripts": [] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"extractCss": true, | ||
"namedChunks": false, | ||
"aot": true, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"fileReplacements": [ | ||
{ | ||
"replace": "demo/src/environments/environment.ts", | ||
"with": "demo/src/environments/environment.prod.ts" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "ng2-file-upload-demo:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "ng2-file-upload-demo:build:production" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ng2-file-upload-test": { | ||
"root": ".", | ||
"sourceRoot": "test", | ||
"projectType": "library", | ||
"architect": { | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "test/test.ts", | ||
"karmaConfig": "test/karma.conf.js", | ||
"scripts": [], | ||
"styles": [], | ||
"tsConfig": "test/tsconfig.json" | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"src/tsconfig.json", | ||
"demo/src/tsconfig.json", | ||
"test/tsconfig.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"defaultProject": "ng2-file-upload-demo", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"prefix": "", | ||
"styleext": "css" | ||
}, | ||
"@schematics/angular:directive": { | ||
"prefix": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. | ||
# For additional information regarding the format and rule options, please see: | ||
# https://github.com/browserslist/browserslist#queries | ||
|
||
# You can see what browsers were selected by your queries by running: | ||
# npx browserslist | ||
|
||
> 0.5% | ||
last 2 versions | ||
Firefox ESR | ||
not dead | ||
not IE 9-11 # For IE 9-11 support, remove 'not'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"declaration": false, | ||
"downlevelIteration": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"noEmitHelpers": false, | ||
"lib": ["es6", "dom"], | ||
"types": [ | ||
"jasmine", | ||
"webpack" | ||
], | ||
"mapRoot": "./", | ||
"module": "es6", | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"outDir": "../temp/out-tsc", | ||
"sourceMap": true, | ||
"target": "es5", | ||
"typeRoots": [ | ||
"../node_modules/@types" | ||
] | ||
} | ||
"target": "es2015" | ||
}, | ||
"files": [ | ||
"../../scripts/typings.d.ts", | ||
"main.ts", | ||
"../../scripts/polyfills.ts" | ||
], | ||
"exclude": [ | ||
"**/*.spec.ts" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.